From bfbca055206990b86b20e916faa0b28ddba2c119 Mon Sep 17 00:00:00 2001 From: storywithoutend Date: Sun, 11 Dec 2022 13:51:05 +0800 Subject: [PATCH 1/4] fix checkbox label alignment and add ability to hide dividers in scroll box --- .../src/components/atoms/ScrollBox/ScrollBox.tsx | 14 ++++++++++++-- .../src/components/molecules/Checkbox/Checkbox.tsx | 2 ++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/components/src/components/atoms/ScrollBox/ScrollBox.tsx b/components/src/components/atoms/ScrollBox/ScrollBox.tsx index 551d5347..9dbdb2cf 100644 --- a/components/src/components/atoms/ScrollBox/ScrollBox.tsx +++ b/components/src/components/atoms/ScrollBox/ScrollBox.tsx @@ -72,6 +72,7 @@ const IntersectElement = styled.div( ) type Props = { + hideDividers?: boolean | { top?: boolean; bottom?: boolean } topTriggerPx?: number bottomTriggerPx?: number onReachedTop?: () => void @@ -79,6 +80,7 @@ type Props = { } & React.HTMLAttributes export const ScrollBox = ({ + hideDividers = false, topTriggerPx = 16, bottomTriggerPx = 16, onReachedTop, @@ -90,6 +92,11 @@ export const ScrollBox = ({ const topRef = React.useRef(null) const bottomRef = React.useRef(null) + const hideTop = + typeof hideDividers === 'boolean' ? hideDividers : !!hideDividers?.top + const hideBottom = + typeof hideDividers === 'boolean' ? hideDividers : !!hideDividers?.bottom + const funcRef = React.useRef<{ onReachedTop?: () => void onReachedBottom?: () => void @@ -110,8 +117,10 @@ export const ScrollBox = ({ iref[1] = entry.time } } - intersectingTop[1] !== -1 && setShowTop(!intersectingTop[0]) - intersectingBottom[1] !== -1 && setShowBottom(!intersectingBottom[0]) + intersectingTop[1] !== -1 && !hideTop && setShowTop(!intersectingTop[0]) + intersectingBottom[1] !== -1 && + !hideBottom && + setShowBottom(!intersectingBottom[0]) intersectingTop[0] && funcRef.current.onReachedTop?.() intersectingBottom[0] && funcRef.current.onReachedBottom?.() } @@ -133,6 +142,7 @@ export const ScrollBox = ({ return () => { observer.disconnect() } + // eslint-disable-next-line react-hooks/exhaustive-deps }, [bottomTriggerPx, topTriggerPx]) React.useEffect(() => { diff --git a/components/src/components/molecules/Checkbox/Checkbox.tsx b/components/src/components/molecules/Checkbox/Checkbox.tsx index 8729e8e9..b8198ae0 100644 --- a/components/src/components/molecules/Checkbox/Checkbox.tsx +++ b/components/src/components/molecules/Checkbox/Checkbox.tsx @@ -297,6 +297,7 @@ export const Checkbox = React.forwardRef( id, label, labelSecondary, + labelRight, inline = true, name, required, @@ -328,6 +329,7 @@ export const Checkbox = React.forwardRef( id={id} inline={inline} label={label} + labelRight={labelRight} labelSecondary={labelSecondary} required={required} width={width} From 8bea3e25f5ece1e642828e3466570c34097a6436 Mon Sep 17 00:00:00 2001 From: storywithoutend Date: Mon, 12 Dec 2022 12:26:06 +0800 Subject: [PATCH 2/4] freeze next and react-live versions --- docs/package.json | 4 +- pnpm-lock.yaml | 106 ++++++++++++++++++++++++---------------------- 2 files changed, 57 insertions(+), 53 deletions(-) diff --git a/docs/package.json b/docs/package.json index 04ffc25a..7afa0acf 100644 --- a/docs/package.json +++ b/docs/package.json @@ -18,7 +18,7 @@ "copy-to-clipboard": "^3.3.1", "gray-matter": "^4.0.3", "lodash": "^4.17.21", - "next": "latest", + "next": "^12.3.4", "next-mdx-remote": "^3.0.6", "nookies": "^2.5.2", "playroom": "^0.28.0", @@ -26,7 +26,7 @@ "react": "^17.0.2", "react-dom": "^17.0.2", "react-element-to-jsx-string": "^14.3.4", - "react-live": "next", + "react-live": "^3.1.1", "react-transition-state": "^1.1.4", "styled-components": "5.3.3" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a2460571..1719e56e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -210,7 +210,7 @@ importers: glob: ^7.2.0 gray-matter: ^4.0.3 lodash: ^4.17.21 - next: latest + next: ^12.3.4 next-mdx-remote: ^3.0.6 nookies: ^2.5.2 playroom: ^0.28.0 @@ -219,7 +219,7 @@ importers: react-docgen-typescript: ^2.1.1 react-dom: ^17.0.2 react-element-to-jsx-string: ^14.3.4 - react-live: next + react-live: ^3.1.1 react-transition-state: ^1.1.4 rimraf: ^3.0.2 styled-components: 5.3.3 @@ -233,7 +233,7 @@ importers: copy-to-clipboard: 3.3.2 gray-matter: 4.0.3 lodash: 4.17.21 - next: 12.3.0_sfoxds7t5ydpegc3knd667wn6m + next: 12.3.4_sfoxds7t5ydpegc3knd667wn6m next-mdx-remote: 3.0.8_sfoxds7t5ydpegc3knd667wn6m nookies: 2.5.2 playroom: 0.28.0_sfoxds7t5ydpegc3knd667wn6m @@ -2317,8 +2317,8 @@ packages: /@mdx-js/util/1.6.22: resolution: {integrity: sha512-H1rQc1ZOHANWBvPcW+JpGwr+juXSxM8Q8YCkm3GhZd8REu1fHR3z99CErO1p9pkcfcxZnMdIZdIsXkOHY0NilA==} - /@next/env/12.3.0: - resolution: {integrity: sha512-PTJpjAFVbzBQ9xXpzMTroShvD5YDIIy46jQ7d4LrWpY+/5a8H90Tm8hE3Hvkc5RBRspVo7kvEOnqQms0A+2Q6w==} + /@next/env/12.3.4: + resolution: {integrity: sha512-H/69Lc5Q02dq3o+dxxy5O/oNxFsZpdL6WREtOOtOM1B/weonIwDXkekr1KV5DPVPr12IHFPrMrcJQ6bgPMfn7A==} dev: false /@next/eslint-plugin-next/12.0.1: @@ -2337,8 +2337,8 @@ packages: '@mdx-js/react': 1.6.22_react@17.0.2 dev: true - /@next/swc-android-arm-eabi/12.3.0: - resolution: {integrity: sha512-/PuirPnAKsYBw93w/7Q9hqy+KGOU9mjYprZ/faxMUJh/dc6v3rYLxkZKNG9nFPIW4QKNTCnhP40xF9hLnxO+xg==} + /@next/swc-android-arm-eabi/12.3.4: + resolution: {integrity: sha512-cM42Cw6V4Bz/2+j/xIzO8nK/Q3Ly+VSlZJTa1vHzsocJRYz8KT6MrreXaci2++SIZCF1rVRCDgAg5PpqRibdIA==} engines: {node: '>= 10'} cpu: [arm] os: [android] @@ -2346,8 +2346,8 @@ packages: dev: false optional: true - /@next/swc-android-arm64/12.3.0: - resolution: {integrity: sha512-OaI+FhAM6P9B6Ybwbn0Zl8YwWido0lLwhDBi9WiYCh4RQmIXAyVIoIJPHo4fP05+mXaJ/k1trvDvuURvHOq2qw==} + /@next/swc-android-arm64/12.3.4: + resolution: {integrity: sha512-5jf0dTBjL+rabWjGj3eghpLUxCukRhBcEJgwLedewEA/LJk2HyqCvGIwj5rH+iwmq1llCWbOky2dO3pVljrapg==} engines: {node: '>= 10'} cpu: [arm64] os: [android] @@ -2355,8 +2355,8 @@ packages: dev: false optional: true - /@next/swc-darwin-arm64/12.3.0: - resolution: {integrity: sha512-9s4d3Mhii+WFce8o8Jok7WC3Bawkr9wEUU++SJRptjU1L5tsfYJMrSYCACHLhZujziNDLyExe4Hwwsccps1sfg==} + /@next/swc-darwin-arm64/12.3.4: + resolution: {integrity: sha512-DqsSTd3FRjQUR6ao0E1e2OlOcrF5br+uegcEGPVonKYJpcr0MJrtYmPxd4v5T6UCJZ+XzydF7eQo5wdGvSZAyA==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] @@ -2364,8 +2364,8 @@ packages: dev: false optional: true - /@next/swc-darwin-x64/12.3.0: - resolution: {integrity: sha512-2scC4MqUTwGwok+wpVxP+zWp7WcCAVOtutki2E1n99rBOTnUOX6qXkgxSy083yBN6GqwuC/dzHeN7hIKjavfRA==} + /@next/swc-darwin-x64/12.3.4: + resolution: {integrity: sha512-PPF7tbWD4k0dJ2EcUSnOsaOJ5rhT3rlEt/3LhZUGiYNL8KvoqczFrETlUx0cUYaXe11dRA3F80Hpt727QIwByQ==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] @@ -2373,8 +2373,8 @@ packages: dev: false optional: true - /@next/swc-freebsd-x64/12.3.0: - resolution: {integrity: sha512-xAlruUREij/bFa+qsE1tmsP28t7vz02N4ZDHt2lh3uJUniE0Ne9idyIDLc1Ed0IF2RjfgOp4ZVunuS3OM0sngw==} + /@next/swc-freebsd-x64/12.3.4: + resolution: {integrity: sha512-KM9JXRXi/U2PUM928z7l4tnfQ9u8bTco/jb939pdFUHqc28V43Ohd31MmZD1QzEK4aFlMRaIBQOWQZh4D/E5lQ==} engines: {node: '>= 10'} cpu: [x64] os: [freebsd] @@ -2382,8 +2382,8 @@ packages: dev: false optional: true - /@next/swc-linux-arm-gnueabihf/12.3.0: - resolution: {integrity: sha512-jin2S4VT/cugc2dSZEUIabhYDJNgrUh7fufbdsaAezgcQzqfdfJqfxl4E9GuafzB4cbRPTaqA0V5uqbp0IyGkQ==} + /@next/swc-linux-arm-gnueabihf/12.3.4: + resolution: {integrity: sha512-3zqD3pO+z5CZyxtKDTnOJ2XgFFRUBciOox6EWkoZvJfc9zcidNAQxuwonUeNts6Xbm8Wtm5YGIRC0x+12YH7kw==} engines: {node: '>= 10'} cpu: [arm] os: [linux] @@ -2391,8 +2391,8 @@ packages: dev: false optional: true - /@next/swc-linux-arm64-gnu/12.3.0: - resolution: {integrity: sha512-RqJHDKe0WImeUrdR0kayTkRWgp4vD/MS7g0r6Xuf8+ellOFH7JAAJffDW3ayuVZeMYOa7RvgNFcOoWnrTUl9Nw==} + /@next/swc-linux-arm64-gnu/12.3.4: + resolution: {integrity: sha512-kiX0vgJGMZVv+oo1QuObaYulXNvdH/IINmvdZnVzMO/jic/B8EEIGlZ8Bgvw8LCjH3zNVPO3mGrdMvnEEPEhKA==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -2400,8 +2400,8 @@ packages: dev: false optional: true - /@next/swc-linux-arm64-musl/12.3.0: - resolution: {integrity: sha512-nvNWoUieMjvDjpYJ/4SQe9lQs2xMj6ZRs8N+bmTrVu9leY2Fg3WD6W9p/1uU9hGO8u+OdF13wc4iRShu/WYIHg==} + /@next/swc-linux-arm64-musl/12.3.4: + resolution: {integrity: sha512-EETZPa1juczrKLWk5okoW2hv7D7WvonU+Cf2CgsSoxgsYbUCZ1voOpL4JZTOb6IbKMDo6ja+SbY0vzXZBUMvkQ==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -2409,8 +2409,8 @@ packages: dev: false optional: true - /@next/swc-linux-x64-gnu/12.3.0: - resolution: {integrity: sha512-4ajhIuVU9PeQCMMhdDgZTLrHmjbOUFuIyg6J19hZqwEwDTSqQyrSLkbJs2Nd7IRiM6Ul/XyrtEFCpk4k+xD2+w==} + /@next/swc-linux-x64-gnu/12.3.4: + resolution: {integrity: sha512-4csPbRbfZbuWOk3ATyWcvVFdD9/Rsdq5YHKvRuEni68OCLkfy4f+4I9OBpyK1SKJ00Cih16NJbHE+k+ljPPpag==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -2418,8 +2418,8 @@ packages: dev: false optional: true - /@next/swc-linux-x64-musl/12.3.0: - resolution: {integrity: sha512-U092RBYbaGxoMAwpauePJEu2PuZSEoUCGJBvsptQr2/2XIMwAJDYM4c/M5NfYEsBr+yjvsYNsOpYfeQ88D82Yg==} + /@next/swc-linux-x64-musl/12.3.4: + resolution: {integrity: sha512-YeBmI+63Ro75SUiL/QXEVXQ19T++58aI/IINOyhpsRL1LKdyfK/35iilraZEFz9bLQrwy1LYAR5lK200A9Gjbg==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -2427,8 +2427,8 @@ packages: dev: false optional: true - /@next/swc-win32-arm64-msvc/12.3.0: - resolution: {integrity: sha512-pzSzaxjDEJe67bUok9Nxf9rykbJfHXW0owICFsPBsqHyc+cr8vpF7g9e2APTCddtVhvjkga9ILoZJ9NxWS7Yiw==} + /@next/swc-win32-arm64-msvc/12.3.4: + resolution: {integrity: sha512-Sd0qFUJv8Tj0PukAYbCCDbmXcMkbIuhnTeHm9m4ZGjCf6kt7E/RMs55Pd3R5ePjOkN7dJEuxYBehawTR/aPDSQ==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] @@ -2436,8 +2436,8 @@ packages: dev: false optional: true - /@next/swc-win32-ia32-msvc/12.3.0: - resolution: {integrity: sha512-MQGUpMbYhQmTZ06a9e0hPQJnxFMwETo2WtyAotY3GEzbNCQVbCGhsvqEKcl+ZEHgShlHXUWvSffq1ZscY6gK7A==} + /@next/swc-win32-ia32-msvc/12.3.4: + resolution: {integrity: sha512-rt/vv/vg/ZGGkrkKcuJ0LyliRdbskQU+91bje+PgoYmxTZf/tYs6IfbmgudBJk6gH3QnjHWbkphDdRQrseRefQ==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] @@ -2445,8 +2445,8 @@ packages: dev: false optional: true - /@next/swc-win32-x64-msvc/12.3.0: - resolution: {integrity: sha512-C/nw6OgQpEULWqs+wgMHXGvlJLguPRFFGqR2TAqWBerQ8J+Sg3z1ZTqwelkSi4FoqStGuZ2UdFHIDN1ySmR1xA==} + /@next/swc-win32-x64-msvc/12.3.4: + resolution: {integrity: sha512-DQ20JEfTBZAgF8QCjYfJhv2/279M6onxFjdG/+5B0Cyj00/EdBxiWb2eGGFgQhrBbNv/lsvzFbbi0Ptf8Vw/bg==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -4622,6 +4622,10 @@ packages: /caniuse-lite/1.0.30001373: resolution: {integrity: sha512-pJYArGHrPp3TUqQzFYRmP/lwJlj8RCbVe3Gd3eJQkAV8SAC6b19XS9BjMvRdvaS8RMkaTN8ZhoHP6S1y8zzwEQ==} + /caniuse-lite/1.0.30001439: + resolution: {integrity: sha512-1MgUzEkoMO6gKfXflStpYgZDlFM7M/ck/bgfVCACO5vnAf0fXoNVHdWtqGU+MYca+4bL9Z5bpOVmR33cWW9G2A==} + dev: false + /capital-case/1.0.4: resolution: {integrity: sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A==} dependencies: @@ -8897,8 +8901,8 @@ packages: - supports-color dev: false - /next/12.3.0_sfoxds7t5ydpegc3knd667wn6m: - resolution: {integrity: sha512-GpzI6me9V1+XYtfK0Ae9WD0mKqHyzQlGq1xH1rzNIYMASo4Tkl4rTe9jSqtBpXFhOS33KohXs9ZY38Akkhdciw==} + /next/12.3.4_sfoxds7t5ydpegc3knd667wn6m: + resolution: {integrity: sha512-VcyMJUtLZBGzLKo3oMxrEF0stxh8HwuW976pAzlHhI3t8qJ4SROjCrSh1T24bhrbjw55wfZXAbXPGwPt5FLRfQ==} engines: {node: '>=12.22.0'} hasBin: true peerDependencies: @@ -8915,28 +8919,28 @@ packages: sass: optional: true dependencies: - '@next/env': 12.3.0 + '@next/env': 12.3.4 '@swc/helpers': 0.4.11 - caniuse-lite: 1.0.30001373 + caniuse-lite: 1.0.30001439 postcss: 8.4.14 react: 17.0.2 react-dom: 17.0.2_react@17.0.2 - styled-jsx: 5.0.6_react@17.0.2 + styled-jsx: 5.0.7_react@17.0.2 use-sync-external-store: 1.2.0_react@17.0.2 optionalDependencies: - '@next/swc-android-arm-eabi': 12.3.0 - '@next/swc-android-arm64': 12.3.0 - '@next/swc-darwin-arm64': 12.3.0 - '@next/swc-darwin-x64': 12.3.0 - '@next/swc-freebsd-x64': 12.3.0 - '@next/swc-linux-arm-gnueabihf': 12.3.0 - '@next/swc-linux-arm64-gnu': 12.3.0 - '@next/swc-linux-arm64-musl': 12.3.0 - '@next/swc-linux-x64-gnu': 12.3.0 - '@next/swc-linux-x64-musl': 12.3.0 - '@next/swc-win32-arm64-msvc': 12.3.0 - '@next/swc-win32-ia32-msvc': 12.3.0 - '@next/swc-win32-x64-msvc': 12.3.0 + '@next/swc-android-arm-eabi': 12.3.4 + '@next/swc-android-arm64': 12.3.4 + '@next/swc-darwin-arm64': 12.3.4 + '@next/swc-darwin-x64': 12.3.4 + '@next/swc-freebsd-x64': 12.3.4 + '@next/swc-linux-arm-gnueabihf': 12.3.4 + '@next/swc-linux-arm64-gnu': 12.3.4 + '@next/swc-linux-arm64-musl': 12.3.4 + '@next/swc-linux-x64-gnu': 12.3.4 + '@next/swc-linux-x64-musl': 12.3.4 + '@next/swc-win32-arm64-msvc': 12.3.4 + '@next/swc-win32-ia32-msvc': 12.3.4 + '@next/swc-win32-x64-msvc': 12.3.4 transitivePeerDependencies: - '@babel/core' - babel-plugin-macros @@ -11191,8 +11195,8 @@ packages: shallowequal: 1.1.0 supports-color: 5.5.0 - /styled-jsx/5.0.6_react@17.0.2: - resolution: {integrity: sha512-xOeROtkK5MGMDimBQ3J6iPId8q0t/BDoG5XN6oKkZClVz9ISF/hihN8OCn2LggMU6N32aXnrXBdn3auSqNS9fA==} + /styled-jsx/5.0.7_react@17.0.2: + resolution: {integrity: sha512-b3sUzamS086YLRuvnaDigdAewz1/EFYlHpYBP5mZovKEdQQOIIYq8lApylub3HHZ6xFjV051kkGU7cudJmrXEA==} engines: {node: '>= 12.0.0'} peerDependencies: '@babel/core': '*' From 8cc2ff70e4a6d35845f9c8a94102f2214ccdf200 Mon Sep 17 00:00:00 2001 From: storywithoutend Date: Mon, 12 Dec 2022 12:33:43 +0800 Subject: [PATCH 3/4] sync with tate's package.json updates for docs --- docs/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/package.json b/docs/package.json index 7afa0acf..059ab102 100644 --- a/docs/package.json +++ b/docs/package.json @@ -18,15 +18,15 @@ "copy-to-clipboard": "^3.3.1", "gray-matter": "^4.0.3", "lodash": "^4.17.21", - "next": "^12.3.4", + "next": "12.3.0", "next-mdx-remote": "^3.0.6", "nookies": "^2.5.2", - "playroom": "^0.28.0", + "playroom": "^0.28.1", "prism-react-renderer": "^1.2.1", "react": "^17.0.2", "react-dom": "^17.0.2", "react-element-to-jsx-string": "^14.3.4", - "react-live": "^3.1.1", + "react-live": "3.1.1", "react-transition-state": "^1.1.4", "styled-components": "5.3.3" }, From f037521adf21dc29b7b3b9745765fbe3cecc09a5 Mon Sep 17 00:00:00 2001 From: storywithoutend Date: Mon, 12 Dec 2022 12:35:46 +0800 Subject: [PATCH 4/4] update lock file --- pnpm-lock.yaml | 147 ++++++++++++++++++++++++++----------------------- 1 file changed, 77 insertions(+), 70 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1719e56e..3605f66f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -210,16 +210,16 @@ importers: glob: ^7.2.0 gray-matter: ^4.0.3 lodash: ^4.17.21 - next: ^12.3.4 + next: 12.3.0 next-mdx-remote: ^3.0.6 nookies: ^2.5.2 - playroom: ^0.28.0 + playroom: ^0.28.1 prism-react-renderer: ^1.2.1 react: ^17.0.2 react-docgen-typescript: ^2.1.1 react-dom: ^17.0.2 react-element-to-jsx-string: ^14.3.4 - react-live: ^3.1.1 + react-live: 3.1.1 react-transition-state: ^1.1.4 rimraf: ^3.0.2 styled-components: 5.3.3 @@ -233,10 +233,10 @@ importers: copy-to-clipboard: 3.3.2 gray-matter: 4.0.3 lodash: 4.17.21 - next: 12.3.4_sfoxds7t5ydpegc3knd667wn6m + next: 12.3.0_sfoxds7t5ydpegc3knd667wn6m next-mdx-remote: 3.0.8_sfoxds7t5ydpegc3knd667wn6m nookies: 2.5.2 - playroom: 0.28.0_sfoxds7t5ydpegc3knd667wn6m + playroom: 0.28.1_sfoxds7t5ydpegc3knd667wn6m prism-react-renderer: 1.3.5_react@17.0.2 react: 17.0.2 react-dom: 17.0.2_react@17.0.2 @@ -2317,8 +2317,8 @@ packages: /@mdx-js/util/1.6.22: resolution: {integrity: sha512-H1rQc1ZOHANWBvPcW+JpGwr+juXSxM8Q8YCkm3GhZd8REu1fHR3z99CErO1p9pkcfcxZnMdIZdIsXkOHY0NilA==} - /@next/env/12.3.4: - resolution: {integrity: sha512-H/69Lc5Q02dq3o+dxxy5O/oNxFsZpdL6WREtOOtOM1B/weonIwDXkekr1KV5DPVPr12IHFPrMrcJQ6bgPMfn7A==} + /@next/env/12.3.0: + resolution: {integrity: sha512-PTJpjAFVbzBQ9xXpzMTroShvD5YDIIy46jQ7d4LrWpY+/5a8H90Tm8hE3Hvkc5RBRspVo7kvEOnqQms0A+2Q6w==} dev: false /@next/eslint-plugin-next/12.0.1: @@ -2337,8 +2337,8 @@ packages: '@mdx-js/react': 1.6.22_react@17.0.2 dev: true - /@next/swc-android-arm-eabi/12.3.4: - resolution: {integrity: sha512-cM42Cw6V4Bz/2+j/xIzO8nK/Q3Ly+VSlZJTa1vHzsocJRYz8KT6MrreXaci2++SIZCF1rVRCDgAg5PpqRibdIA==} + /@next/swc-android-arm-eabi/12.3.0: + resolution: {integrity: sha512-/PuirPnAKsYBw93w/7Q9hqy+KGOU9mjYprZ/faxMUJh/dc6v3rYLxkZKNG9nFPIW4QKNTCnhP40xF9hLnxO+xg==} engines: {node: '>= 10'} cpu: [arm] os: [android] @@ -2346,8 +2346,8 @@ packages: dev: false optional: true - /@next/swc-android-arm64/12.3.4: - resolution: {integrity: sha512-5jf0dTBjL+rabWjGj3eghpLUxCukRhBcEJgwLedewEA/LJk2HyqCvGIwj5rH+iwmq1llCWbOky2dO3pVljrapg==} + /@next/swc-android-arm64/12.3.0: + resolution: {integrity: sha512-OaI+FhAM6P9B6Ybwbn0Zl8YwWido0lLwhDBi9WiYCh4RQmIXAyVIoIJPHo4fP05+mXaJ/k1trvDvuURvHOq2qw==} engines: {node: '>= 10'} cpu: [arm64] os: [android] @@ -2355,8 +2355,8 @@ packages: dev: false optional: true - /@next/swc-darwin-arm64/12.3.4: - resolution: {integrity: sha512-DqsSTd3FRjQUR6ao0E1e2OlOcrF5br+uegcEGPVonKYJpcr0MJrtYmPxd4v5T6UCJZ+XzydF7eQo5wdGvSZAyA==} + /@next/swc-darwin-arm64/12.3.0: + resolution: {integrity: sha512-9s4d3Mhii+WFce8o8Jok7WC3Bawkr9wEUU++SJRptjU1L5tsfYJMrSYCACHLhZujziNDLyExe4Hwwsccps1sfg==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] @@ -2364,8 +2364,8 @@ packages: dev: false optional: true - /@next/swc-darwin-x64/12.3.4: - resolution: {integrity: sha512-PPF7tbWD4k0dJ2EcUSnOsaOJ5rhT3rlEt/3LhZUGiYNL8KvoqczFrETlUx0cUYaXe11dRA3F80Hpt727QIwByQ==} + /@next/swc-darwin-x64/12.3.0: + resolution: {integrity: sha512-2scC4MqUTwGwok+wpVxP+zWp7WcCAVOtutki2E1n99rBOTnUOX6qXkgxSy083yBN6GqwuC/dzHeN7hIKjavfRA==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] @@ -2373,8 +2373,8 @@ packages: dev: false optional: true - /@next/swc-freebsd-x64/12.3.4: - resolution: {integrity: sha512-KM9JXRXi/U2PUM928z7l4tnfQ9u8bTco/jb939pdFUHqc28V43Ohd31MmZD1QzEK4aFlMRaIBQOWQZh4D/E5lQ==} + /@next/swc-freebsd-x64/12.3.0: + resolution: {integrity: sha512-xAlruUREij/bFa+qsE1tmsP28t7vz02N4ZDHt2lh3uJUniE0Ne9idyIDLc1Ed0IF2RjfgOp4ZVunuS3OM0sngw==} engines: {node: '>= 10'} cpu: [x64] os: [freebsd] @@ -2382,8 +2382,8 @@ packages: dev: false optional: true - /@next/swc-linux-arm-gnueabihf/12.3.4: - resolution: {integrity: sha512-3zqD3pO+z5CZyxtKDTnOJ2XgFFRUBciOox6EWkoZvJfc9zcidNAQxuwonUeNts6Xbm8Wtm5YGIRC0x+12YH7kw==} + /@next/swc-linux-arm-gnueabihf/12.3.0: + resolution: {integrity: sha512-jin2S4VT/cugc2dSZEUIabhYDJNgrUh7fufbdsaAezgcQzqfdfJqfxl4E9GuafzB4cbRPTaqA0V5uqbp0IyGkQ==} engines: {node: '>= 10'} cpu: [arm] os: [linux] @@ -2391,8 +2391,8 @@ packages: dev: false optional: true - /@next/swc-linux-arm64-gnu/12.3.4: - resolution: {integrity: sha512-kiX0vgJGMZVv+oo1QuObaYulXNvdH/IINmvdZnVzMO/jic/B8EEIGlZ8Bgvw8LCjH3zNVPO3mGrdMvnEEPEhKA==} + /@next/swc-linux-arm64-gnu/12.3.0: + resolution: {integrity: sha512-RqJHDKe0WImeUrdR0kayTkRWgp4vD/MS7g0r6Xuf8+ellOFH7JAAJffDW3ayuVZeMYOa7RvgNFcOoWnrTUl9Nw==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -2400,8 +2400,8 @@ packages: dev: false optional: true - /@next/swc-linux-arm64-musl/12.3.4: - resolution: {integrity: sha512-EETZPa1juczrKLWk5okoW2hv7D7WvonU+Cf2CgsSoxgsYbUCZ1voOpL4JZTOb6IbKMDo6ja+SbY0vzXZBUMvkQ==} + /@next/swc-linux-arm64-musl/12.3.0: + resolution: {integrity: sha512-nvNWoUieMjvDjpYJ/4SQe9lQs2xMj6ZRs8N+bmTrVu9leY2Fg3WD6W9p/1uU9hGO8u+OdF13wc4iRShu/WYIHg==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -2409,8 +2409,8 @@ packages: dev: false optional: true - /@next/swc-linux-x64-gnu/12.3.4: - resolution: {integrity: sha512-4csPbRbfZbuWOk3ATyWcvVFdD9/Rsdq5YHKvRuEni68OCLkfy4f+4I9OBpyK1SKJ00Cih16NJbHE+k+ljPPpag==} + /@next/swc-linux-x64-gnu/12.3.0: + resolution: {integrity: sha512-4ajhIuVU9PeQCMMhdDgZTLrHmjbOUFuIyg6J19hZqwEwDTSqQyrSLkbJs2Nd7IRiM6Ul/XyrtEFCpk4k+xD2+w==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -2418,8 +2418,8 @@ packages: dev: false optional: true - /@next/swc-linux-x64-musl/12.3.4: - resolution: {integrity: sha512-YeBmI+63Ro75SUiL/QXEVXQ19T++58aI/IINOyhpsRL1LKdyfK/35iilraZEFz9bLQrwy1LYAR5lK200A9Gjbg==} + /@next/swc-linux-x64-musl/12.3.0: + resolution: {integrity: sha512-U092RBYbaGxoMAwpauePJEu2PuZSEoUCGJBvsptQr2/2XIMwAJDYM4c/M5NfYEsBr+yjvsYNsOpYfeQ88D82Yg==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -2427,8 +2427,8 @@ packages: dev: false optional: true - /@next/swc-win32-arm64-msvc/12.3.4: - resolution: {integrity: sha512-Sd0qFUJv8Tj0PukAYbCCDbmXcMkbIuhnTeHm9m4ZGjCf6kt7E/RMs55Pd3R5ePjOkN7dJEuxYBehawTR/aPDSQ==} + /@next/swc-win32-arm64-msvc/12.3.0: + resolution: {integrity: sha512-pzSzaxjDEJe67bUok9Nxf9rykbJfHXW0owICFsPBsqHyc+cr8vpF7g9e2APTCddtVhvjkga9ILoZJ9NxWS7Yiw==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] @@ -2436,8 +2436,8 @@ packages: dev: false optional: true - /@next/swc-win32-ia32-msvc/12.3.4: - resolution: {integrity: sha512-rt/vv/vg/ZGGkrkKcuJ0LyliRdbskQU+91bje+PgoYmxTZf/tYs6IfbmgudBJk6gH3QnjHWbkphDdRQrseRefQ==} + /@next/swc-win32-ia32-msvc/12.3.0: + resolution: {integrity: sha512-MQGUpMbYhQmTZ06a9e0hPQJnxFMwETo2WtyAotY3GEzbNCQVbCGhsvqEKcl+ZEHgShlHXUWvSffq1ZscY6gK7A==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] @@ -2445,8 +2445,8 @@ packages: dev: false optional: true - /@next/swc-win32-x64-msvc/12.3.4: - resolution: {integrity: sha512-DQ20JEfTBZAgF8QCjYfJhv2/279M6onxFjdG/+5B0Cyj00/EdBxiWb2eGGFgQhrBbNv/lsvzFbbi0Ptf8Vw/bg==} + /@next/swc-win32-x64-msvc/12.3.0: + resolution: {integrity: sha512-C/nw6OgQpEULWqs+wgMHXGvlJLguPRFFGqR2TAqWBerQ8J+Sg3z1ZTqwelkSi4FoqStGuZ2UdFHIDN1ySmR1xA==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -3483,6 +3483,13 @@ packages: resolution: {integrity: sha512-VjnqEmqGnasQKV0CWLevqMTXBYG9GbwuE6x3VetERLh0cq2LTptFE73MrQi2S7GkKXCf2GgwItB/melLnxfnsg==} dependencies: '@types/react': 17.0.33 + dev: true + + /@types/react-dom/18.0.9: + resolution: {integrity: sha512-qnVvHxASt/H7i+XG1U1xMiY5t+IHcPGUK7TDMDzom08xa7e86eCeKOiLZezwCKVxJn6NEiiy2ekgX8aQssjIKg==} + dependencies: + '@types/react': 18.0.26 + dev: false /@types/react-test-renderer/18.0.0: resolution: {integrity: sha512-C7/5FBJ3g3sqUahguGi03O79b8afNeSD6T8/GU50oQrJCU0bVCCGQHaGKUbg2Ce8VQEEqTw8/HiS6lXHHdgkdQ==} @@ -3496,6 +3503,15 @@ packages: '@types/prop-types': 15.7.4 '@types/scheduler': 0.16.2 csstype: 3.0.9 + dev: true + + /@types/react/18.0.26: + resolution: {integrity: sha512-hCR3PJQsAIXyxhTNSiDFY//LhnMZWpNNr5etoCqx/iUfGc5gXWtQR2Phl908jVR6uPXacojQWTg4qRpkxTuGug==} + dependencies: + '@types/prop-types': 15.7.4 + '@types/scheduler': 0.16.2 + csstype: 3.0.9 + dev: false /@types/retry/0.12.0: resolution: {integrity: sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==} @@ -3716,6 +3732,7 @@ packages: /@vanilla-extract/babel-plugin/1.1.7: resolution: {integrity: sha512-nTCOb1N/u1FUxACxV/jvpLm4xchiCdEHTUZrxCWjYOrIxqkfgpJXE4T7q/1VyEje/M929DFBUaD+YkPzaqGMzA==} + deprecated: The features of this plugin are now built-in to all vanilla-extract bundler integrations — making this plugin no longer required. For more information about test environment integrations, see https://vanilla-extract.style/documentation/test-environments/ dependencies: '@babel/core': 7.18.10 '@babel/template': 7.18.10 @@ -7044,7 +7061,7 @@ packages: /history/5.3.0: resolution: {integrity: sha512-ZqaKwjjrAYUYfLG+htGaIIZ4nioX2L70ZUMIFysS3xvBsSG4x/n1V6TXV3N8ZYNuFGlDirFg32T7B6WOUPDYcQ==} dependencies: - '@babel/runtime': 7.15.4 + '@babel/runtime': 7.18.9 dev: false /hoist-non-react-statics/3.3.2: @@ -8901,8 +8918,8 @@ packages: - supports-color dev: false - /next/12.3.4_sfoxds7t5ydpegc3knd667wn6m: - resolution: {integrity: sha512-VcyMJUtLZBGzLKo3oMxrEF0stxh8HwuW976pAzlHhI3t8qJ4SROjCrSh1T24bhrbjw55wfZXAbXPGwPt5FLRfQ==} + /next/12.3.0_sfoxds7t5ydpegc3knd667wn6m: + resolution: {integrity: sha512-GpzI6me9V1+XYtfK0Ae9WD0mKqHyzQlGq1xH1rzNIYMASo4Tkl4rTe9jSqtBpXFhOS33KohXs9ZY38Akkhdciw==} engines: {node: '>=12.22.0'} hasBin: true peerDependencies: @@ -8919,28 +8936,28 @@ packages: sass: optional: true dependencies: - '@next/env': 12.3.4 + '@next/env': 12.3.0 '@swc/helpers': 0.4.11 caniuse-lite: 1.0.30001439 postcss: 8.4.14 react: 17.0.2 react-dom: 17.0.2_react@17.0.2 - styled-jsx: 5.0.7_react@17.0.2 + styled-jsx: 5.0.6_react@17.0.2 use-sync-external-store: 1.2.0_react@17.0.2 optionalDependencies: - '@next/swc-android-arm-eabi': 12.3.4 - '@next/swc-android-arm64': 12.3.4 - '@next/swc-darwin-arm64': 12.3.4 - '@next/swc-darwin-x64': 12.3.4 - '@next/swc-freebsd-x64': 12.3.4 - '@next/swc-linux-arm-gnueabihf': 12.3.4 - '@next/swc-linux-arm64-gnu': 12.3.4 - '@next/swc-linux-arm64-musl': 12.3.4 - '@next/swc-linux-x64-gnu': 12.3.4 - '@next/swc-linux-x64-musl': 12.3.4 - '@next/swc-win32-arm64-msvc': 12.3.4 - '@next/swc-win32-ia32-msvc': 12.3.4 - '@next/swc-win32-x64-msvc': 12.3.4 + '@next/swc-android-arm-eabi': 12.3.0 + '@next/swc-android-arm64': 12.3.0 + '@next/swc-darwin-arm64': 12.3.0 + '@next/swc-darwin-x64': 12.3.0 + '@next/swc-freebsd-x64': 12.3.0 + '@next/swc-linux-arm-gnueabihf': 12.3.0 + '@next/swc-linux-arm64-gnu': 12.3.0 + '@next/swc-linux-arm64-musl': 12.3.0 + '@next/swc-linux-x64-gnu': 12.3.0 + '@next/swc-linux-x64-musl': 12.3.0 + '@next/swc-win32-arm64-msvc': 12.3.0 + '@next/swc-win32-ia32-msvc': 12.3.0 + '@next/swc-win32-x64-msvc': 12.3.0 transitivePeerDependencies: - '@babel/core' - babel-plugin-macros @@ -9400,12 +9417,12 @@ packages: find-up: 2.1.0 dev: true - /playroom/0.28.0_sfoxds7t5ydpegc3knd667wn6m: - resolution: {integrity: sha512-LbwzPA8tm56OKlk/0W7XHj8SNjxz/NoOLR4Ur+fCQpjSqUKBRkaKALbRT19fFubCW57Oc0mwKa7QQOMddPhx5w==} + /playroom/0.28.1_sfoxds7t5ydpegc3knd667wn6m: + resolution: {integrity: sha512-sXcAUYY6boeOA9hkBFGwemob0peltYhUyPozhNh+yd1Fj8wYr873oe93T33pYrBUfweow9pzRD0VoHggF6SAtw==} hasBin: true peerDependencies: - react: ^16.8 || ^17.0 - react-dom: ^16.8 || ^17.0 + react: ^16.8 || ^17 || ^18 + react-dom: ^16.8 || ^17 || ^18 dependencies: '@babel/cli': 7.18.10_@babel+core@7.18.10 '@babel/core': 7.18.10 @@ -9421,8 +9438,8 @@ packages: '@types/lodash': 4.14.182 '@types/lz-string': 1.3.34 '@types/prettier': 2.6.4 - '@types/react': 17.0.33 - '@types/react-dom': 17.0.17 + '@types/react': 18.0.26 + '@types/react-dom': 18.0.9 '@vanilla-extract/babel-plugin': 1.1.7 '@vanilla-extract/css': 1.7.3 '@vanilla-extract/css-utils': 0.1.2 @@ -9456,7 +9473,6 @@ packages: query-string: 6.14.1 re-resizable: 6.9.9_sfoxds7t5ydpegc3knd667wn6m react: 17.0.2 - react-codemirror2: 7.2.1_y7rnrawrnxkzy72f65zkad5hce react-docgen-typescript: 2.1.1_typescript@4.7.4 react-dom: 17.0.2_react@17.0.2 react-use: 17.4.0_sfoxds7t5ydpegc3knd667wn6m @@ -10104,16 +10120,6 @@ packages: react-dom: 17.0.2_react@17.0.2 dev: false - /react-codemirror2/7.2.1_y7rnrawrnxkzy72f65zkad5hce: - resolution: {integrity: sha512-t7YFmz1AXdlImgHXA9Ja0T6AWuopilub24jRaQdPVbzUJVNKIYuy3uCFZYa7CE5S3UW6SrSa5nAqVQvtzRF9gw==} - peerDependencies: - codemirror: 5.x - react: '>=15.5 <=16.x' - dependencies: - codemirror: 5.65.7 - react: 17.0.2 - dev: false - /react-docgen-typescript/2.1.1_typescript@4.4.4: resolution: {integrity: sha512-XWe8bsYqVjxciKdpNoufaHiB7FgUHIOnVQgxUolRL3Zlof2zkdTzuQH6SU2n3Ek9kfy3O1c63ojMtNfpiuNeZQ==} peerDependencies: @@ -10902,6 +10908,7 @@ packages: /sourcemap-codec/1.4.8: resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} + deprecated: Please use @jridgewell/sourcemap-codec instead dev: false /space-separated-tokens/1.1.5: @@ -11195,8 +11202,8 @@ packages: shallowequal: 1.1.0 supports-color: 5.5.0 - /styled-jsx/5.0.7_react@17.0.2: - resolution: {integrity: sha512-b3sUzamS086YLRuvnaDigdAewz1/EFYlHpYBP5mZovKEdQQOIIYq8lApylub3HHZ6xFjV051kkGU7cudJmrXEA==} + /styled-jsx/5.0.6_react@17.0.2: + resolution: {integrity: sha512-xOeROtkK5MGMDimBQ3J6iPId8q0t/BDoG5XN6oKkZClVz9ISF/hihN8OCn2LggMU6N32aXnrXBdn3auSqNS9fA==} engines: {node: '>= 12.0.0'} peerDependencies: '@babel/core': '*'