diff --git a/package-lock.json b/package-lock.json
index f9139b625..2ad34b651 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -16,8 +16,8 @@
"@bytemd/plugin-math": "1.21.0",
"@bytemd/plugin-mermaid": "1.21.0",
"@bytemd/react": "1.21.0",
- "@primer/octicons-react": "18.3.0",
- "@primer/react": "35.25.1",
+ "@primer/octicons-react": "19.8.0",
+ "@primer/react": "36.4.0",
"@resvg/resvg-js": "2.4.1",
"@upstash/ratelimit": "0.4.2",
"@upstash/redis": "1.20.4",
@@ -1984,6 +1984,11 @@
"node": ">= 8"
}
},
+ "node_modules/@oddbird/popover-polyfill": {
+ "version": "0.3.7",
+ "resolved": "https://registry.npmjs.org/@oddbird/popover-polyfill/-/popover-polyfill-0.3.7.tgz",
+ "integrity": "sha512-WNthEIPPXnFQkumLby6yVxhyOcA/GtMnlByHwEglMO9WZckoaqidnpLp2JFzAh2RDOZxn+Xt3ffSMKId9cPjOQ=="
+ },
"node_modules/@pkgr/utils": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/@pkgr/utils/-/utils-2.3.1.tgz",
@@ -2014,56 +2019,59 @@
}
},
"node_modules/@primer/behaviors": {
- "version": "1.3.3",
- "resolved": "https://registry.npmjs.org/@primer/behaviors/-/behaviors-1.3.3.tgz",
- "integrity": "sha512-iHMRuu8YWDJIdqCi1krx0cyFNeqszNKTOb0dXFu2wQ5BeIqxqPJLD7rjZ2Vjf/+YaPSbWuIQE1H6TaGMMsDfdA=="
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/@primer/behaviors/-/behaviors-1.5.1.tgz",
+ "integrity": "sha512-ApPbNhiWPHscs0+rLV76sCY75IEpPvDEZq9+iQXQqU6Tv5SLdax3PmzJlUHftlQ7O/eJnLO1dTEMEwj2Yn1BLA=="
},
"node_modules/@primer/octicons-react": {
- "version": "18.3.0",
- "resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-18.3.0.tgz",
- "integrity": "sha512-kOoc4wrBw3bPe2ZPj9BmCwXdEkw8hxUX/tFCvcjOsZ6eywaQXm3PR0yZnPZxZ8o4RFj2tdg/cwGr4+cU83weHw==",
+ "version": "19.8.0",
+ "resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-19.8.0.tgz",
+ "integrity": "sha512-2Z+D7xTloFTLQVRUEbg0pQpe6aTL9RR+8RqBhjkrF+BFuVdM1ENOyjywaGEO7DIkPU5Zxlv0gxSlD85LQxL+sw==",
"engines": {
"node": ">=8"
},
"peerDependencies": {
- "react": ">=15"
+ "react": ">=16.3"
}
},
"node_modules/@primer/primitives": {
"version": "7.15.3",
"resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-7.15.3.tgz",
- "integrity": "sha512-BFxFKwa0Bkr+esqbXU5Yt91z/58J2MPoW1cYtp0j2rUYus4lIZnczX7+ZYb7j4BqpfY/88q9Vn+BRwW/Sx4eIA==",
- "dev": true,
- "peer": true
+ "integrity": "sha512-BFxFKwa0Bkr+esqbXU5Yt91z/58J2MPoW1cYtp0j2rUYus4lIZnczX7+ZYb7j4BqpfY/88q9Vn+BRwW/Sx4eIA=="
},
"node_modules/@primer/react": {
- "version": "35.25.1",
- "resolved": "https://registry.npmjs.org/@primer/react/-/react-35.25.1.tgz",
- "integrity": "sha512-yb7AJ7ksHtUS6s85zAT5LQZ8ya3N9bHnUOXC2NPNFXc6z1JTKckoqMhixcxzQ+7dlb4xB5MrjzVdKdq7vizcLw==",
+ "version": "36.4.0",
+ "resolved": "https://registry.npmjs.org/@primer/react/-/react-36.4.0.tgz",
+ "integrity": "sha512-bNluyJychKDpkFRD2+2TosrOGQGTmSg7nWD4t2MZc10HWCjiNfn5i+nK20ns5yZ9Nyc0bFhbJd9QcHrhGGYXsA==",
"dependencies": {
"@github/combobox-nav": "^2.1.5",
"@github/markdown-toolbar-element": "^2.1.0",
"@github/paste-markdown": "^1.4.0",
"@github/relative-time-element": "^4.1.2",
- "@lit-labs/react": "1.1.1",
- "@primer/behaviors": "1.3.3",
- "@primer/octicons-react": "^18.0.0",
- "@primer/primitives": "7.11.5",
- "@react-aria/ssr": "^3.1.0",
+ "@lit-labs/react": "^1.1.1",
+ "@oddbird/popover-polyfill": "^0.3.1",
+ "@primer/behaviors": "^1.5.1",
+ "@primer/octicons-react": "^19.8.0",
+ "@primer/primitives": "7.15.3",
+ "@react-aria/ssr": "^3.5.0",
"@styled-system/css": "^5.1.5",
"@styled-system/props": "^5.1.5",
"@styled-system/theme-get": "^5.1.2",
- "@types/styled-components": "^5.1.11",
+ "@types/react-is": "^18.2.1",
"@types/styled-system": "^5.1.12",
"@types/styled-system__css": "^5.0.16",
"@types/styled-system__theme-get": "^5.0.1",
- "classnames": "^2.3.1",
+ "clsx": "^1.2.1",
"color2k": "^2.0.0",
"deepmerge": "^4.2.2",
"focus-visible": "^5.2.0",
- "fzy.js": "0.4.1",
+ "fzy.js": "^0.4.1",
"history": "^5.0.0",
- "react-intersection-observer": "9.4.3",
+ "lodash.isempty": "^4.4.0",
+ "lodash.isobject": "^3.0.2",
+ "react-intersection-observer": "^9.4.3",
+ "react-is": "^18.2.0",
+ "react-markdown": "8.0.7",
"styled-system": "^5.1.5"
},
"engines": {
@@ -2071,17 +2079,23 @@
"npm": ">=7"
},
"peerDependencies": {
- "react": "^17.0.0 || ^18.0.0",
- "react-dom": "^17.0.0 || ^18.0.0",
- "styled-components": "4.x || 5.x"
- }
- },
- "node_modules/@primer/react/node_modules/@primer/primitives": {
- "version": "7.11.5",
- "resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-7.11.5.tgz",
- "integrity": "sha512-UmFQA0BZ5BIQKrlKg1TOEjDzeeI2NWyeh/5cCvXVOjfLegCXIlHf/xCLl1KCYO4YeegHmC9g5tpPLTlWjtcbaA==",
- "dependencies": {
- "markdown-table-ts": "^1.0.3"
+ "@types/react": "^18.0.0",
+ "@types/react-dom": "^18.0.0",
+ "@types/styled-components": "^5.1.11",
+ "react": "^18.0.0",
+ "react-dom": "^18.0.0",
+ "styled-components": "5.x"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ },
+ "@types/styled-components": {
+ "optional": true
+ }
}
},
"node_modules/@react-aria/ssr": {
@@ -2653,6 +2667,8 @@
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.1.tgz",
"integrity": "sha512-iMIqiko6ooLrTh1joXodJK5X9xeEALT1kM5G3ZLhD3hszxBdIEd5C75U834D9mLcINgD4OyZf5uQXjkuYydWvA==",
+ "optional": true,
+ "peer": true,
"dependencies": {
"@types/react": "*",
"hoist-non-react-statics": "^3.3.0"
@@ -2778,6 +2794,14 @@
"csstype": "^3.0.2"
}
},
+ "node_modules/@types/react-is": {
+ "version": "18.2.4",
+ "resolved": "https://registry.npmjs.org/@types/react-is/-/react-is-18.2.4.tgz",
+ "integrity": "sha512-wBc7HgmbCcrvw0fZjxbgz/xrrlZKzEqmABBMeSvpTvdm25u6KI6xdIi9pRE2G0C1Lw5ETFdcn4UbYZ4/rpqUYw==",
+ "dependencies": {
+ "@types/react": "*"
+ }
+ },
"node_modules/@types/scheduler": {
"version": "0.16.3",
"resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.3.tgz",
@@ -2799,6 +2823,8 @@
"version": "5.1.26",
"resolved": "https://registry.npmjs.org/@types/styled-components/-/styled-components-5.1.26.tgz",
"integrity": "sha512-KuKJ9Z6xb93uJiIyxo/+ksS7yLjS1KzG6iv5i78dhVg/X3u5t1H7juRWqVmodIdz6wGVaIApo1u01kmFRdJHVw==",
+ "optional": true,
+ "peer": true,
"dependencies": {
"@types/hoist-non-react-statics": "*",
"@types/react": "*",
@@ -4054,6 +4080,14 @@
"node": ">=0.8"
}
},
+ "node_modules/clsx": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz",
+ "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/co": {
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
@@ -7314,6 +7348,11 @@
"integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
"dev": true
},
+ "node_modules/inline-style-parser": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.1.1.tgz",
+ "integrity": "sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q=="
+ },
"node_modules/inquirer": {
"version": "8.2.5",
"resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.5.tgz",
@@ -8989,12 +9028,22 @@
"integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==",
"dev": true
},
+ "node_modules/lodash.isempty": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/lodash.isempty/-/lodash.isempty-4.4.0.tgz",
+ "integrity": "sha512-oKMuF3xEeqDltrGMfDxAPGIVMSSRv8tbRSODbrs4KGsRRLEhrW8N8Rd4DRgB2+621hY8A8XwwrTVhXWpxFvMzg=="
+ },
"node_modules/lodash.isfunction": {
"version": "3.0.9",
"resolved": "https://registry.npmjs.org/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz",
"integrity": "sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw==",
"dev": true
},
+ "node_modules/lodash.isobject": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/lodash.isobject/-/lodash.isobject-3.0.2.tgz",
+ "integrity": "sha512-3/Qptq2vr7WeJbB4KHUSKlq8Pl7ASXi3UG6CMbBm8WRtXi8+GHm7mKaU3urfpSEzWe2wCIChs6/sdocUsTKJiA=="
+ },
"node_modules/lodash.isplainobject": {
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz",
@@ -9235,11 +9284,6 @@
"url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/markdown-table-ts": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/markdown-table-ts/-/markdown-table-ts-1.0.3.tgz",
- "integrity": "sha512-lYrp7FXmBqpmGmsEF92WnSukdgYvLm15FPIODZOx9+3nobkxJxjBYcszqZf5VqTjBtISPSNC7zjU9o3zwpL6AQ=="
- },
"node_modules/mdast-util-definitions": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/mdast-util-definitions/-/mdast-util-definitions-5.1.2.tgz",
@@ -11507,6 +11551,36 @@
"resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz",
"integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA=="
},
+ "node_modules/react-markdown": {
+ "version": "8.0.7",
+ "resolved": "https://registry.npmjs.org/react-markdown/-/react-markdown-8.0.7.tgz",
+ "integrity": "sha512-bvWbzG4MtOU62XqBx3Xx+zB2raaFFsq4mYiAzfjXJMEz2sixgeAfraA3tvzULF02ZdOMUOKTBFFaZJDDrq+BJQ==",
+ "dependencies": {
+ "@types/hast": "^2.0.0",
+ "@types/prop-types": "^15.0.0",
+ "@types/unist": "^2.0.0",
+ "comma-separated-tokens": "^2.0.0",
+ "hast-util-whitespace": "^2.0.0",
+ "prop-types": "^15.0.0",
+ "property-information": "^6.0.0",
+ "react-is": "^18.0.0",
+ "remark-parse": "^10.0.0",
+ "remark-rehype": "^10.0.0",
+ "space-separated-tokens": "^2.0.0",
+ "style-to-object": "^0.4.0",
+ "unified": "^10.0.0",
+ "unist-util-visit": "^4.0.0",
+ "vfile": "^5.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ },
+ "peerDependencies": {
+ "@types/react": ">=16",
+ "react": ">=16"
+ }
+ },
"node_modules/react-resize-detector": {
"version": "8.1.0",
"resolved": "https://registry.npmjs.org/react-resize-detector/-/react-resize-detector-8.1.0.tgz",
@@ -12734,6 +12808,14 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/style-to-object": {
+ "version": "0.4.4",
+ "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-0.4.4.tgz",
+ "integrity": "sha512-HYNoHZa2GorYNyqiCaBgsxvcJIn7OHq6inEga+E6Ke3m5JkoqpQbnFssk4jwe+K7AhGa2fcha4wSOf1Kn01dMg==",
+ "dependencies": {
+ "inline-style-parser": "0.1.1"
+ }
+ },
"node_modules/styled-components": {
"version": "5.3.10",
"resolved": "https://registry.npmjs.org/styled-components/-/styled-components-5.3.10.tgz",
@@ -15317,6 +15399,11 @@
"fastq": "^1.6.0"
}
},
+ "@oddbird/popover-polyfill": {
+ "version": "0.3.7",
+ "resolved": "https://registry.npmjs.org/@oddbird/popover-polyfill/-/popover-polyfill-0.3.7.tgz",
+ "integrity": "sha512-WNthEIPPXnFQkumLby6yVxhyOcA/GtMnlByHwEglMO9WZckoaqidnpLp2JFzAh2RDOZxn+Xt3ffSMKId9cPjOQ=="
+ },
"@pkgr/utils": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/@pkgr/utils/-/utils-2.3.1.tgz",
@@ -15337,62 +15424,55 @@
"integrity": "sha512-Cr4OjIkipTtcXKjAsm8agyleBuDHvxzeBoa1v543lbv1YaIwQjESsVcmjiWiPEbC1FIeHOG/Op9kdCmAmiS3Kw=="
},
"@primer/behaviors": {
- "version": "1.3.3",
- "resolved": "https://registry.npmjs.org/@primer/behaviors/-/behaviors-1.3.3.tgz",
- "integrity": "sha512-iHMRuu8YWDJIdqCi1krx0cyFNeqszNKTOb0dXFu2wQ5BeIqxqPJLD7rjZ2Vjf/+YaPSbWuIQE1H6TaGMMsDfdA=="
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/@primer/behaviors/-/behaviors-1.5.1.tgz",
+ "integrity": "sha512-ApPbNhiWPHscs0+rLV76sCY75IEpPvDEZq9+iQXQqU6Tv5SLdax3PmzJlUHftlQ7O/eJnLO1dTEMEwj2Yn1BLA=="
},
"@primer/octicons-react": {
- "version": "18.3.0",
- "resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-18.3.0.tgz",
- "integrity": "sha512-kOoc4wrBw3bPe2ZPj9BmCwXdEkw8hxUX/tFCvcjOsZ6eywaQXm3PR0yZnPZxZ8o4RFj2tdg/cwGr4+cU83weHw==",
+ "version": "19.8.0",
+ "resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-19.8.0.tgz",
+ "integrity": "sha512-2Z+D7xTloFTLQVRUEbg0pQpe6aTL9RR+8RqBhjkrF+BFuVdM1ENOyjywaGEO7DIkPU5Zxlv0gxSlD85LQxL+sw==",
"requires": {}
},
"@primer/primitives": {
"version": "7.15.3",
"resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-7.15.3.tgz",
- "integrity": "sha512-BFxFKwa0Bkr+esqbXU5Yt91z/58J2MPoW1cYtp0j2rUYus4lIZnczX7+ZYb7j4BqpfY/88q9Vn+BRwW/Sx4eIA==",
- "dev": true,
- "peer": true
+ "integrity": "sha512-BFxFKwa0Bkr+esqbXU5Yt91z/58J2MPoW1cYtp0j2rUYus4lIZnczX7+ZYb7j4BqpfY/88q9Vn+BRwW/Sx4eIA=="
},
"@primer/react": {
- "version": "35.25.1",
- "resolved": "https://registry.npmjs.org/@primer/react/-/react-35.25.1.tgz",
- "integrity": "sha512-yb7AJ7ksHtUS6s85zAT5LQZ8ya3N9bHnUOXC2NPNFXc6z1JTKckoqMhixcxzQ+7dlb4xB5MrjzVdKdq7vizcLw==",
+ "version": "36.4.0",
+ "resolved": "https://registry.npmjs.org/@primer/react/-/react-36.4.0.tgz",
+ "integrity": "sha512-bNluyJychKDpkFRD2+2TosrOGQGTmSg7nWD4t2MZc10HWCjiNfn5i+nK20ns5yZ9Nyc0bFhbJd9QcHrhGGYXsA==",
"requires": {
"@github/combobox-nav": "^2.1.5",
"@github/markdown-toolbar-element": "^2.1.0",
"@github/paste-markdown": "^1.4.0",
"@github/relative-time-element": "^4.1.2",
- "@lit-labs/react": "1.1.1",
- "@primer/behaviors": "1.3.3",
- "@primer/octicons-react": "^18.0.0",
- "@primer/primitives": "7.11.5",
- "@react-aria/ssr": "^3.1.0",
+ "@lit-labs/react": "^1.1.1",
+ "@oddbird/popover-polyfill": "^0.3.1",
+ "@primer/behaviors": "^1.5.1",
+ "@primer/octicons-react": "^19.8.0",
+ "@primer/primitives": "7.15.3",
+ "@react-aria/ssr": "^3.5.0",
"@styled-system/css": "^5.1.5",
"@styled-system/props": "^5.1.5",
"@styled-system/theme-get": "^5.1.2",
- "@types/styled-components": "^5.1.11",
+ "@types/react-is": "^18.2.1",
"@types/styled-system": "^5.1.12",
"@types/styled-system__css": "^5.0.16",
"@types/styled-system__theme-get": "^5.0.1",
- "classnames": "^2.3.1",
+ "clsx": "^1.2.1",
"color2k": "^2.0.0",
"deepmerge": "^4.2.2",
"focus-visible": "^5.2.0",
- "fzy.js": "0.4.1",
+ "fzy.js": "^0.4.1",
"history": "^5.0.0",
- "react-intersection-observer": "9.4.3",
+ "lodash.isempty": "^4.4.0",
+ "lodash.isobject": "^3.0.2",
+ "react-intersection-observer": "^9.4.3",
+ "react-is": "^18.2.0",
+ "react-markdown": "8.0.7",
"styled-system": "^5.1.5"
- },
- "dependencies": {
- "@primer/primitives": {
- "version": "7.11.5",
- "resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-7.11.5.tgz",
- "integrity": "sha512-UmFQA0BZ5BIQKrlKg1TOEjDzeeI2NWyeh/5cCvXVOjfLegCXIlHf/xCLl1KCYO4YeegHmC9g5tpPLTlWjtcbaA==",
- "requires": {
- "markdown-table-ts": "^1.0.3"
- }
- }
}
},
"@react-aria/ssr": {
@@ -15844,6 +15924,8 @@
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.1.tgz",
"integrity": "sha512-iMIqiko6ooLrTh1joXodJK5X9xeEALT1kM5G3ZLhD3hszxBdIEd5C75U834D9mLcINgD4OyZf5uQXjkuYydWvA==",
+ "optional": true,
+ "peer": true,
"requires": {
"@types/react": "*",
"hoist-non-react-statics": "^3.3.0"
@@ -15969,6 +16051,14 @@
"csstype": "^3.0.2"
}
},
+ "@types/react-is": {
+ "version": "18.2.4",
+ "resolved": "https://registry.npmjs.org/@types/react-is/-/react-is-18.2.4.tgz",
+ "integrity": "sha512-wBc7HgmbCcrvw0fZjxbgz/xrrlZKzEqmABBMeSvpTvdm25u6KI6xdIi9pRE2G0C1Lw5ETFdcn4UbYZ4/rpqUYw==",
+ "requires": {
+ "@types/react": "*"
+ }
+ },
"@types/scheduler": {
"version": "0.16.3",
"resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.3.tgz",
@@ -15990,6 +16080,8 @@
"version": "5.1.26",
"resolved": "https://registry.npmjs.org/@types/styled-components/-/styled-components-5.1.26.tgz",
"integrity": "sha512-KuKJ9Z6xb93uJiIyxo/+ksS7yLjS1KzG6iv5i78dhVg/X3u5t1H7juRWqVmodIdz6wGVaIApo1u01kmFRdJHVw==",
+ "optional": true,
+ "peer": true,
"requires": {
"@types/hoist-non-react-statics": "*",
"@types/react": "*",
@@ -16847,6 +16939,11 @@
"integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==",
"dev": true
},
+ "clsx": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz",
+ "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg=="
+ },
"co": {
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
@@ -19290,6 +19387,11 @@
"integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
"dev": true
},
+ "inline-style-parser": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.1.1.tgz",
+ "integrity": "sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q=="
+ },
"inquirer": {
"version": "8.2.5",
"resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.5.tgz",
@@ -20497,12 +20599,22 @@
"integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==",
"dev": true
},
+ "lodash.isempty": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/lodash.isempty/-/lodash.isempty-4.4.0.tgz",
+ "integrity": "sha512-oKMuF3xEeqDltrGMfDxAPGIVMSSRv8tbRSODbrs4KGsRRLEhrW8N8Rd4DRgB2+621hY8A8XwwrTVhXWpxFvMzg=="
+ },
"lodash.isfunction": {
"version": "3.0.9",
"resolved": "https://registry.npmjs.org/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz",
"integrity": "sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw==",
"dev": true
},
+ "lodash.isobject": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/lodash.isobject/-/lodash.isobject-3.0.2.tgz",
+ "integrity": "sha512-3/Qptq2vr7WeJbB4KHUSKlq8Pl7ASXi3UG6CMbBm8WRtXi8+GHm7mKaU3urfpSEzWe2wCIChs6/sdocUsTKJiA=="
+ },
"lodash.isplainobject": {
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz",
@@ -20690,11 +20802,6 @@
"resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.3.tgz",
"integrity": "sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw=="
},
- "markdown-table-ts": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/markdown-table-ts/-/markdown-table-ts-1.0.3.tgz",
- "integrity": "sha512-lYrp7FXmBqpmGmsEF92WnSukdgYvLm15FPIODZOx9+3nobkxJxjBYcszqZf5VqTjBtISPSNC7zjU9o3zwpL6AQ=="
- },
"mdast-util-definitions": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/mdast-util-definitions/-/mdast-util-definitions-5.1.2.tgz",
@@ -22216,6 +22323,28 @@
"resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz",
"integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA=="
},
+ "react-markdown": {
+ "version": "8.0.7",
+ "resolved": "https://registry.npmjs.org/react-markdown/-/react-markdown-8.0.7.tgz",
+ "integrity": "sha512-bvWbzG4MtOU62XqBx3Xx+zB2raaFFsq4mYiAzfjXJMEz2sixgeAfraA3tvzULF02ZdOMUOKTBFFaZJDDrq+BJQ==",
+ "requires": {
+ "@types/hast": "^2.0.0",
+ "@types/prop-types": "^15.0.0",
+ "@types/unist": "^2.0.0",
+ "comma-separated-tokens": "^2.0.0",
+ "hast-util-whitespace": "^2.0.0",
+ "prop-types": "^15.0.0",
+ "property-information": "^6.0.0",
+ "react-is": "^18.0.0",
+ "remark-parse": "^10.0.0",
+ "remark-rehype": "^10.0.0",
+ "space-separated-tokens": "^2.0.0",
+ "style-to-object": "^0.4.0",
+ "unified": "^10.0.0",
+ "unist-util-visit": "^4.0.0",
+ "vfile": "^5.0.0"
+ }
+ },
"react-resize-detector": {
"version": "8.1.0",
"resolved": "https://registry.npmjs.org/react-resize-detector/-/react-resize-detector-8.1.0.tgz",
@@ -23147,6 +23276,14 @@
"integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
"dev": true
},
+ "style-to-object": {
+ "version": "0.4.4",
+ "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-0.4.4.tgz",
+ "integrity": "sha512-HYNoHZa2GorYNyqiCaBgsxvcJIn7OHq6inEga+E6Ke3m5JkoqpQbnFssk4jwe+K7AhGa2fcha4wSOf1Kn01dMg==",
+ "requires": {
+ "inline-style-parser": "0.1.1"
+ }
+ },
"styled-components": {
"version": "5.3.10",
"resolved": "https://registry.npmjs.org/styled-components/-/styled-components-5.3.10.tgz",
diff --git a/package.json b/package.json
index 3bc3494f2..b02afc21d 100644
--- a/package.json
+++ b/package.json
@@ -7,8 +7,8 @@
"@bytemd/plugin-math": "1.21.0",
"@bytemd/plugin-mermaid": "1.21.0",
"@bytemd/react": "1.21.0",
- "@primer/octicons-react": "18.3.0",
- "@primer/react": "35.25.1",
+ "@primer/octicons-react": "19.8.0",
+ "@primer/react": "36.4.0",
"@resvg/resvg-js": "2.4.1",
"@upstash/ratelimit": "0.4.2",
"@upstash/redis": "1.20.4",
diff --git a/pages/interface/components/EmptyState/index.js b/pages/interface/components/EmptyState/index.js
index f1c433c96..90dc24d06 100644
--- a/pages/interface/components/EmptyState/index.js
+++ b/pages/interface/components/EmptyState/index.js
@@ -10,7 +10,7 @@ export default function EmptyState(props) {
{title}
{description && {description}}
{action && (
-
@@ -80,7 +80,7 @@ export default function useSearchBox() {
},
...sx,
}}
- leadingIcon={SearchIcon}
+ leadingVisual={SearchIcon}
{...props}>
Pesquisar
diff --git a/pages/interface/components/TabNewsUI/icons/index.js b/pages/interface/components/TabNewsUI/icons/index.js
index f8779a218..5b07829cc 100644
--- a/pages/interface/components/TabNewsUI/icons/index.js
+++ b/pages/interface/components/TabNewsUI/icons/index.js
@@ -1,6 +1,7 @@
export { CgTab } from 'react-icons/cg';
export { FaPause, FaPlay, FaTree, FaUser } from 'react-icons/fa';
export {
+ AlertFillIcon,
ChevronDownIcon,
ChevronLeftIcon,
ChevronRightIcon,
@@ -24,8 +25,8 @@ export {
SignOutIcon,
SquareFillIcon,
SunIcon,
- TrashIcon,
ThreeBarsIcon,
+ TrashIcon,
UnfoldIcon,
XCircleFillIcon,
} from '@primer/octicons-react';
diff --git a/pages/perfil/index.public.js b/pages/perfil/index.public.js
index e48c37548..7cda47577 100644
--- a/pages/perfil/index.public.js
+++ b/pages/perfil/index.public.js
@@ -143,11 +143,11 @@ function EditProfileForm() {
await fetchUser();
if (user.email !== email) {
- setErrorObject({
- message: `Atenção: Um email de confirmação foi enviado para ${email}`,
- key: 'email',
- type: 'confirmation',
- });
+ const hasSavedModifications = Object.keys(payload).length > 1;
+ const text = hasSavedModifications
+ ? `Alterações salvas. O email será alterado apenas após a confirmação pelo link enviado para "${email}".`
+ : `Alteração pendente. Um email de confirmação foi enviado para "${email}".`;
+ setGlobalMessageObject({ text, type: 'warning' });
setEmailDisabled(true);
} else {
setGlobalMessageObject({
@@ -246,10 +246,6 @@ function EditProfileForm() {
)}
-
- {errorObject?.key === 'email' && errorObject?.type === 'confirmation' && (
- {errorObject.message}
- )}