diff --git a/package-lock.json b/package-lock.json index 24626f53d3..330871fb21 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4536,9 +4536,17 @@ "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==" }, "node_modules/@openedx/paragon": { - "version": "22.5.1", - "resolved": "https://registry.npmjs.org/@openedx/paragon/-/paragon-22.5.1.tgz", - "integrity": "sha512-GSDC28jlsfP8LPUoebXtkzw5cIxl44+9dhscvz2znZ7uMYjEbmp5waPR5rAJ4lKtNzFBZUX/mAiaNilhhZXu9Q==", + "version": "22.6.1", + "resolved": "https://registry.npmjs.org/@openedx/paragon/-/paragon-22.6.1.tgz", + "integrity": "sha512-xblrspAfsYsiDzyLIh+tceiTPgx1HY6v0eceatTYSj/BINxN8Dcqh9uQOZi2eJc1os3w2dr0nZRGnTt8cYu2BA==", + "license": "Apache-2.0", + "workspaces": [ + "example", + "component-generator", + "www", + "icons", + "dependent-usage-analyzer" + ], "dependencies": { "@fortawesome/fontawesome-svg-core": "^6.1.1", "@fortawesome/react-fontawesome": "^0.1.18", @@ -4628,6 +4636,7 @@ "version": "8.1.0", "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "deprecated": "Glob versions prior to v9 are no longer supported", "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", diff --git a/src/content-tags-drawer/ContentTagsCollapsible.jsx b/src/content-tags-drawer/ContentTagsCollapsible.jsx index 57e2eff976..66bd7e100a 100644 --- a/src/content-tags-drawer/ContentTagsCollapsible.jsx +++ b/src/content-tags-drawer/ContentTagsCollapsible.jsx @@ -74,7 +74,7 @@ const CustomMenu = (props) => {
diff --git a/src/generic/clipboard/paste-component/components/WhatsInClipboard.jsx b/src/generic/clipboard/paste-component/components/WhatsInClipboard.jsx index aca6d3f0cc..22d4d0ca4c 100644 --- a/src/generic/clipboard/paste-component/components/WhatsInClipboard.jsx +++ b/src/generic/clipboard/paste-component/components/WhatsInClipboard.jsx @@ -34,7 +34,7 @@ const WhatsInClipboard = ({ />

togglePopover(isOpen); const renderPopover = (props) => ( -

+
= ({ appliedFilters, ...props }) => { const [isOpen, open, close] = useToggle(false); - const [target, setTarget] = React.useState(null); + const [target, setTarget] = React.useState(null); return ( <> diff --git a/src/search-modal/SearchResult.tsx b/src/search-modal/SearchResult.tsx index 77f806be4a..57584cefe5 100644 --- a/src/search-modal/SearchResult.tsx +++ b/src/search-modal/SearchResult.tsx @@ -22,13 +22,13 @@ import type { ContentHit } from './data/api'; import Highlight from './Highlight'; import messages from './messages'; -const STRUCTURAL_TYPE_ICONS: Record = { +const STRUCTURAL_TYPE_ICONS: Record = { vertical: TYPE_ICONS_MAP.vertical, sequential: Folder, chapter: Folder, }; -function getItemIcon(blockType: string): React.ReactElement { +function getItemIcon(blockType: string): React.ComponentType { return STRUCTURAL_TYPE_ICONS[blockType] ?? COMPONENT_TYPE_ICON_MAP[blockType] ?? Article; }