From c8d32f03273a3a550aa44e26807dfcf5f6afe610 Mon Sep 17 00:00:00 2001 From: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com> Date: Wed, 5 Jan 2022 11:59:59 -0600 Subject: [PATCH] Switch to qrcode-generator library --- .storybook/preview-head.html | 3 +- ACKNOWLEDGMENTS.md | 4 + components/qrcode/qrcode.js | 609 ------------------ package.json | 1 + .../InstallScreenQrCodeNotScannedStep.scss | 4 +- ts/components/QrCode.stories.tsx | 17 + ts/components/QrCode.tsx | 61 ++ .../InstallScreenQrCodeNotScannedStep.tsx | 37 +- ts/hooks/useDevicePixelRatio.ts | 27 + ts/scripts/copy-and-concat.ts | 3 +- ts/util/lint/exceptions.json | 48 +- ts/util/lint/license_comments.ts | 3 +- ts/window.d.ts | 29 +- yarn.lock | 5 + 14 files changed, 155 insertions(+), 696 deletions(-) delete mode 100644 components/qrcode/qrcode.js create mode 100644 ts/components/QrCode.stories.tsx create mode 100644 ts/components/QrCode.tsx create mode 100644 ts/hooks/useDevicePixelRatio.ts diff --git a/.storybook/preview-head.html b/.storybook/preview-head.html index 7a79340e4bc3..9768dffa7d58 100644 --- a/.storybook/preview-head.html +++ b/.storybook/preview-head.html @@ -1,9 +1,8 @@ - + -