diff --git a/package.json b/package.json index 51e936325..8e3fa480c 100644 --- a/package.json +++ b/package.json @@ -34,12 +34,12 @@ "tsc": "tsc" }, "peerDependencies": { - "@amityco/ts-sdk": "~6.17.3", + "@amityco/ts-sdk": "~6.20.0", "react": ">=17.0.2", "react-dom": ">=17.0.2" }, "devDependencies": { - "@amityco/ts-sdk": "~6.17.3", + "@amityco/ts-sdk": "~6.20.0", "@fortawesome/fontawesome-svg-core": "^1.2.36", "@fortawesome/free-solid-svg-icons": "^5.15.4", "@fortawesome/react-fontawesome": "^0.2.0", @@ -100,18 +100,21 @@ "@hookform/error-message": "^2.0.1", "@hookform/resolvers": "^3.3.4", "clsx": "^2.1.0", + "extract-colors": "^4.0.2", "filesize": "^9.0.11", "hls.js": "^1.4.14", "linkify-react": "^4.1.3", "linkifyjs": "^4.1.3", "lodash": "^4.17.21", "millify": "^6.1.0", - "polished": "^4.2.2", + "polished": "^4.3.1", "react-hook-form": "^7.49.2", "react-infinite-scroll-component": "^6.1.0", + "react-insta-stories": "^2.6.2", "react-intl": "^6.5.5", "react-loading-skeleton": "^3.3.1", "react-mentions": "^4.4.10", + "react-modal-sheet": "^2.2.0", "react-sizeme": "^3.0.2", "react-textarea-autosize": "^8.5.3", "react-timeago": "^7.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 19fb11b45..30ce45332 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,6 +23,9 @@ dependencies: clsx: specifier: ^2.1.0 version: 2.1.0 + extract-colors: + specifier: ^4.0.2 + version: 4.0.2 filesize: specifier: ^9.0.11 version: 9.0.11 @@ -42,7 +45,7 @@ dependencies: specifier: ^6.1.0 version: 6.1.0 polished: - specifier: ^4.2.2 + specifier: ^4.3.1 version: 4.3.1 react-hook-form: specifier: ^7.49.2 @@ -50,6 +53,9 @@ dependencies: react-infinite-scroll-component: specifier: ^6.1.0 version: 6.1.0(react@18.2.0) + react-insta-stories: + specifier: ^2.6.2 + version: 2.6.2(react@18.2.0) react-intl: specifier: ^6.5.5 version: 6.6.2(react@18.2.0)(typescript@4.9.5) @@ -59,6 +65,9 @@ dependencies: react-mentions: specifier: ^4.4.10 version: 4.4.10(react-dom@18.2.0)(react@18.2.0) + react-modal-sheet: + specifier: ^2.2.0 + version: 2.2.0(framer-motion@11.0.20)(react@18.2.0) react-sizeme: specifier: ^3.0.2 version: 3.0.2 @@ -89,8 +98,8 @@ dependencies: devDependencies: '@amityco/ts-sdk': - specifier: ~6.17.3 - version: 6.17.3 + specifier: ~6.20.0 + version: 6.20.0 '@storybook/addon-a11y': specifier: ^7.6.7 version: 7.6.17 @@ -246,8 +255,8 @@ packages: engines: {node: '>=0.10.0'} dev: true - /@amityco/ts-sdk@6.17.3: - resolution: {integrity: sha512-htACVQHYyGNEsybNeXXMxq07PVtIHFpP36b9OulWyaAJMDzDtHyC8g/kXeDkxqNBWZI0bYZHWt1lAOSkpp3r/A==} + /@amityco/ts-sdk@6.20.0: + resolution: {integrity: sha512-mTxr9I1k+1AaJs7JIfRtJWkGJ2c0JXb9Xaz7h9va56txND8fUuTmkgoo9526cMawHjmbikLkOrscaxziehZiSw==} engines: {node: '>=12', npm: '>=6'} dependencies: agentkeepalive: 4.5.0 @@ -3135,6 +3144,46 @@ packages: '@babel/runtime': 7.23.9 dev: true + /@react-aria/ssr@3.9.2(react@18.2.0): + resolution: {integrity: sha512-0gKkgDYdnq1w+ey8KzG9l+H5Z821qh9vVjztk55rUg71vTk/Eaebeir+WtzcLLwTjw3m/asIjx8Y59y1lJZhBw==} + engines: {node: '>= 12'} + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + dependencies: + '@swc/helpers': 0.5.7 + react: 18.2.0 + dev: false + + /@react-aria/utils@3.17.0(react@18.2.0): + resolution: {integrity: sha512-NEul0cQ6tQPdNSHYzNYD+EfFabeYNvDwEiHB82kK/Tsfhfm84SM+baben/at2N51K7iRrJPr5hC5fi4+P88lNg==} + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + dependencies: + '@react-aria/ssr': 3.9.2(react@18.2.0) + '@react-stately/utils': 3.9.1(react@18.2.0) + '@react-types/shared': 3.22.1(react@18.2.0) + '@swc/helpers': 0.4.36 + clsx: 1.2.1 + react: 18.2.0 + dev: false + + /@react-stately/utils@3.9.1(react@18.2.0): + resolution: {integrity: sha512-yzw75GE0iUWiyps02BOAPTrybcsMIxEJlzXqtvllAb01O9uX5n0i3X+u2eCpj2UoDF4zS08Ps0jPgWxg8xEYtA==} + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + dependencies: + '@swc/helpers': 0.5.7 + react: 18.2.0 + dev: false + + /@react-types/shared@3.22.1(react@18.2.0): + resolution: {integrity: sha512-PCpa+Vo6BKnRMuOEzy5zAZ3/H5tnQg1e80khMhK2xys0j6ZqzkgQC+fHMNZ7VDFNLqqNMj/o0eVeSBDh2POjkw==} + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + dependencies: + react: 18.2.0 + dev: false + /@remix-run/router@1.15.1: resolution: {integrity: sha512-zcU0gM3z+3iqj8UX45AmWY810l3oUmXM7uH4dt5xtzvMhRtYVhKGOmgOd1877dOPPepfCjUv57w+syamWIYe7w==} engines: {node: '>=14.0.0'} @@ -3961,6 +4010,25 @@ packages: file-system-cache: 2.3.0 dev: true + /@swc/helpers@0.4.14: + resolution: {integrity: sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==} + dependencies: + tslib: 2.6.2 + dev: false + + /@swc/helpers@0.4.36: + resolution: {integrity: sha512-5lxnyLEYFskErRPenYItLRSge5DjrJngYKdVjRSrWfza9G6KkgHEXi0vUZiyUeMU5JfXH1YnvXZzSp8ul88o2Q==} + dependencies: + legacy-swc-helpers: /@swc/helpers@0.4.14 + tslib: 2.6.2 + dev: false + + /@swc/helpers@0.5.7: + resolution: {integrity: sha512-BVvNZhx362+l2tSwSuyEUV4h7+jk9raNdoTSdLfwTshXJSaGmYKluGRJznziCI3KX02Z19DdsQrdfrpXAU3Hfg==} + dependencies: + tslib: 2.6.2 + dev: false + /@types/babel__core@7.20.5: resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} dependencies: @@ -5502,6 +5570,11 @@ packages: engines: {node: '>=0.8'} dev: true + /clsx@1.2.1: + resolution: {integrity: sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==} + engines: {node: '>=6'} + dev: false + /clsx@2.1.0: resolution: {integrity: sha512-m3iNNWpd9rl3jvvcBnu70ylMdrXt8Vlq4HYadnU5fwcOtvkSQWPmj7amUcDT2qYI7risszBjI5AUIUox9D16pg==} engines: {node: '>=6'} @@ -6872,6 +6945,10 @@ packages: resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} dev: true + /extract-colors@4.0.2: + resolution: {integrity: sha512-G7v2C3LJqW38U+yRUPD6nJCjBRfdLD7y8efEHn+1qONt1mhj+OZBpzFmiaS+dZiHU/k0dvgK2kgIkbAllHVbRw==} + dev: false + /extract-zip@1.7.0: resolution: {integrity: sha512-xoh5G1W/PB0/27lXgMQyIhP5DSY/LhoCsOyZgb+6iMmRtCwVBo55uKaMoEYrDCKQhWvqEip5ZPKAc6eFNyf/MA==} hasBin: true @@ -7115,6 +7192,25 @@ packages: resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==} dev: true + /framer-motion@11.0.20(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-YSDmWznt3hpdERosbE0UAPYWoYhTnmQ0J1qWPsgpCia9NgY8Xsz5IpOiUEGGj/nzCAW29fSrWugeLRkdp5de7g==} + peerDependencies: + '@emotion/is-prop-valid': '*' + react: ^18.0.0 + react-dom: ^18.0.0 + peerDependenciesMeta: + '@emotion/is-prop-valid': + optional: true + react: + optional: true + react-dom: + optional: true + dependencies: + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + tslib: 2.6.2 + dev: false + /fresh@0.5.2: resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==} engines: {node: '>= 0.6'} @@ -9959,6 +10055,14 @@ packages: throttle-debounce: 2.3.0 dev: false + /react-insta-stories@2.6.2(react@18.2.0): + resolution: {integrity: sha512-eM1YHr92bV7WK5h9sECjyYnqZtPxnzJrZFr9IaoDcaZaAEOHVRav+pST513DIG8Hk8QjSTHtdvHHZ0Ka5HwH8w==} + peerDependencies: + react: '>=16.8.2' + dependencies: + react: 18.2.0 + dev: false + /react-intl@6.6.2(react@18.2.0)(typescript@4.9.5): resolution: {integrity: sha512-IpW2IkLtGENSFlX3vfH11rjuCIsW0VyjT0Q1pPKMZPtT2z1FxLt4weFT5Ezti2TScT1xiyb3aQBFth9EB7jzAg==} peerDependencies: @@ -10015,6 +10119,18 @@ packages: substyle: 9.4.1(react@18.2.0) dev: false + /react-modal-sheet@2.2.0(framer-motion@11.0.20)(react@18.2.0): + resolution: {integrity: sha512-OAIWuVWxMx3zQqrMLbYWnczadplg0WLd+AaBWmN5+ysNF5/pneqjkOV3AWaIZOCIF4TcrejiCsTduutbzCRP2Q==} + engines: {node: '>=16'} + peerDependencies: + framer-motion: '>=6' + react: '>=16' + dependencies: + '@react-aria/utils': 3.17.0(react@18.2.0) + framer-motion: 11.0.20(react-dom@18.2.0)(react@18.2.0) + react: 18.2.0 + dev: false + /react-native-uuid@2.0.1: resolution: {integrity: sha512-cptnoIbL53GTCrWlb/+jrDC6tvb7ypIyzbXNJcpR3Vab0mkeaaVd5qnB3f0whXYzS+SMoSQLcUUB0gEWqkPC0g==} engines: {node: '>=10.0.0', npm: '>=6.0.0'}