diff --git a/aksel.nav.no/website/package.json b/aksel.nav.no/website/package.json
index e4bb2f74f1..0863453a54 100644
--- a/aksel.nav.no/website/package.json
+++ b/aksel.nav.no/website/package.json
@@ -34,12 +34,12 @@
"dependencies": {
"@amplitude/analytics-browser": "^2.2.3",
"@portabletext/react": "^3.0.11",
- "@sanity/client": "^6.6.0",
+ "@sanity/client": "^6.8.6",
"@sanity/code-input": "4.1.1",
"@sanity/color-input": "^3.1.0",
"@sanity/image-url": "1.0.2",
"@sanity/table": "1.0.1",
- "@sanity/vision": "3.18.0",
+ "@sanity/vision": "3.20.0",
"boring-avatars": "1.10.1",
"clsx": "^1.2.1",
"codesandbox": "^2.2.3",
@@ -57,9 +57,9 @@
"react-dom": "^18.0.0",
"react-hotjar": "^6.1.0",
"react-responsive-masonry": "^2.1.7",
- "sanity": "3.18.0",
- "sanity-plugin-asset-source-unsplash": "^1.1.1",
- "sanity-plugin-media": "^2.2.2",
+ "sanity": "3.20.0",
+ "sanity-plugin-asset-source-unsplash": "^1.1.2",
+ "sanity-plugin-media": "^2.2.4",
"sharp": "0.32.6",
"styled-components": "^6.0.0",
"swr": "^1.1.2",
@@ -72,8 +72,8 @@
"@next/bundle-analyzer": "13.2.1",
"@next/eslint-plugin-next": "13.2.1",
"@playwright/test": "1.35.1",
- "@sanity/block-tools": "^3.18.0",
- "@sanity/schema": "^3.18.0",
+ "@sanity/block-tools": "^3.20.0",
+ "@sanity/schema": "^3.20.0",
"@testing-library/jest-dom": "^5.16.0",
"@testing-library/react": "^13.3.0",
"@types/jest": "^29.0.0",
diff --git a/aksel.nav.no/website/sanity/plugins/structure/FeedbackPreview.tsx b/aksel.nav.no/website/sanity/plugins/structure/FeedbackPreview.tsx
deleted file mode 100644
index a00d7ccf7d..0000000000
--- a/aksel.nav.no/website/sanity/plugins/structure/FeedbackPreview.tsx
+++ /dev/null
@@ -1,126 +0,0 @@
-import { Alert, BodyLong, Heading, Loader } from "@navikt/ds-react";
-import {
- IntentButton,
- Preview,
- getPublishedId,
- useClient,
- useSchema,
-} from "sanity";
-import useSWR from "swr";
-
-export function FeedbackView(props) {
- const { documentId } = props;
-
- const schema = useSchema();
-
- const schemaType = schema.get("aksel_feedback");
-
- const client = useClient({ apiVersion: "2021-06-07" });
- const { data, error, isValidating } = useSWR(
- `*[_type == "aksel_feedback" && references($id)]`,
- (query) =>
- client.fetch(query, {
- id: documentId,
- })
- );
-
- if (isValidating) {
- return (
-
- );
- }
-
- if (error) {
- return (
-
-
- En feil oppstod, prøv å laste side på nytt eller kontakt utvikler.
-
-
- );
- }
-
- if (data.length === 0) {
- return (
-
-
- Siden har ingen tilbakemeldinger enda.
-
-
- );
- }
-
- const done = data.filter((x) => x?.behandlet === true);
- const notDone = data.filter((x) => x?.behandlet === false);
-
- return (
-
-
-
- Løsning for tilbakemeldinger på Aksel er midlertidig slått av.
-
-
-
- Tilbakemeldinger
-
- {notDone.length === 0 && (
-
Ingen nye tilbakemeldinger
- )}
-
- {notDone.map((x) => (
- -
-
-
-
-
- ))}
-
-
- {done.length > 0 && (
-
-
- Ferdig behandet
-
-
- {done.map((x) => (
- -
-
-
-
-
- ))}
-
-
- )}
-
-
- );
-}
diff --git a/aksel.nav.no/website/sanity/plugins/structure/feedback.ts b/aksel.nav.no/website/sanity/plugins/structure/feedback.ts
deleted file mode 100644
index badfec484e..0000000000
--- a/aksel.nav.no/website/sanity/plugins/structure/feedback.ts
+++ /dev/null
@@ -1,211 +0,0 @@
-import {
- EyeClosedIcon,
- EyeWithPupilIcon,
- MinusIcon,
- PresentationIcon,
-} from "@navikt/aksel-icons";
-import { StructureBuilder } from "sanity/desk";
-
-export const FeedbackPanes = async (getClient, S: StructureBuilder) => {
- const fb = await getClient({ apiVersion: "2021-06-07" }).fetch(
- `{
- "behandlet": count(*[_type == "aksel_feedback" && behandlet == true]),
- "ubehandlet": count(*[_type == "aksel_feedback" && behandlet == false]),
- "totalt-gp": count(*[_type == "aksel_feedback" && doc_ref->_type == "aksel_artikkel"]),
- "totalt-comp": count(*[_type == "aksel_feedback" && doc_ref->_type == "komponent_artikkel"]),
- "totalt-grunnleggende": count(*[_type == "aksel_feedback" && doc_ref->_type == "ds_artikkel"]),
- "totalt-rest": count(*[_type == "aksel_feedback" && !(doc_ref->_type in ["ds_artikkel", "komponent_artikkel", "aksel_artikkel"])]),
- "totalt-footer": count(*[_type == "aksel_feedback" && feedback_type == "footer"]),
- "totalt-uu": count(*[_type == "aksel_feedback" && feedback_type == "uu_feedback"]),
- "totalt-ja": count(*[_type == "aksel_feedback" && artikkel_feedback == "ja"]),
- "totalt-nei": count(*[_type == "aksel_feedback" && artikkel_feedback == "nei"]),
- "totalt-forslag": count(*[_type == "aksel_feedback" && artikkel_feedback == "forslag"]),
- }`
- );
-
- /* const types = [...fb.ubehandlet, ...fb.behandlet]?.reduce((acc, curr) => {
- return {
- ...acc,
- [curr._type]: acc[curr?._type] ? acc[curr._type] + 1 : 1,
- };
- }, {});
- console.log(types); */
-
- return [
- S.listItem()
- .title(`Ubehandlet (${fb.ubehandlet})`)
- .icon(EyeWithPupilIcon)
- .child(
- S.documentList()
- .title(`Ubehandlet`)
- .filter(`_type == "aksel_feedback" && behandlet == false`)
- /* .menuItems([...S.documentTypeList("aksel_artikkel").getMenuItems()]) */
- ),
- S.listItem()
- .title(`God praksis`)
- .icon(MinusIcon)
- .child(
- S.documentList()
- .title(`Behandlet`)
- .filter(
- `_type == "aksel_feedback" && behandlet == false && doc_ref->_type == "aksel_artikkel"`
- )
- ),
- S.listItem()
- .title(`Komponentsider`)
- .icon(MinusIcon)
- .child(
- S.documentList()
- .title(`Behandlet`)
- .filter(
- `_type == "aksel_feedback" && behandlet == false && doc_ref->_type == "komponent_artikkel"`
- )
- ),
- S.listItem()
- .title(`Grunnleggende`)
- .icon(MinusIcon)
- .child(
- S.documentList()
- .title(`Behandlet`)
- .filter(
- `_type == "aksel_feedback" && behandlet == false && doc_ref->_type == "ds_artikkel"`
- )
- ),
- S.listItem()
- .title(`Andre sider`)
- .icon(MinusIcon)
- .child(
- S.documentList()
- .title(`Behandlet`)
- .filter(
- `_type == "aksel_feedback" && behandlet == false && !(doc_ref->_type in ["ds_artikkel", "komponent_artikkel", "aksel_artikkel"])`
- )
- ),
- S.listItem()
- .title(`Fant ikke det de lette etter`)
- .icon(MinusIcon)
- .child(
- S.documentList()
- .title(`Behandlet`)
- .filter(
- `_type == "aksel_feedback" && behandlet == false && artikkel_feedback == "nei"`
- )
- ),
- S.listItem()
- .title(`Footer`)
- .icon(MinusIcon)
- .child(
- S.documentList()
- .title(`Behandlet`)
- .filter(
- `_type == "aksel_feedback" && behandlet == false && feedback_type == "footer"`
- )
- ),
- S.listItem()
- .title(`UU-feedback`)
- .icon(MinusIcon)
- .child(
- S.documentList()
- .title(`Behandlet`)
- .filter(
- `_type == "aksel_feedback" && behandlet == false && feedback_type == "uu_feedback"`
- )
- ),
- S.divider(),
- S.listItem()
- .title(`Behandlet (${fb.behandlet})`)
- .icon(EyeClosedIcon)
- .child(
- S.documentList()
- .title(`Behandlet`)
- .filter(`_type == "aksel_feedback" && behandlet == true`)
- ),
- S.divider(),
- S.listItem()
- .title(`Alle tilbakemeldinger (${fb.ubehandlet + fb.behandlet})`)
- .icon(PresentationIcon)
- .child(
- S.documentList().title(`Ubehandlet`).filter(`_type == "aksel_feedback"`)
- ),
- S.listItem()
- .title(`God praksis totalt (${fb["totalt-gp"]})`)
- .icon(MinusIcon)
- .child(
- S.documentList()
- .title(`Behandlet`)
- .filter(
- `_type == "aksel_feedback" && doc_ref->_type == "aksel_artikkel"`
- )
- ),
- S.listItem()
- .title(`Komponentsider totalt (${fb["totalt-comp"]})`)
- .icon(MinusIcon)
- .child(
- S.documentList()
- .title(`Behandlet`)
- .filter(
- `_type == "aksel_feedback" && doc_ref->_type == "komponent_artikkel"`
- )
- ),
- S.listItem()
- .title(`Grunnleggende totalt (${fb["totalt-grunnleggende"]})`)
- .icon(MinusIcon)
- .child(
- S.documentList()
- .title(`Behandlet`)
- .filter(
- `_type == "aksel_feedback" && doc_ref->_type == "ds_artikkel"`
- )
- ),
- S.listItem()
- .title(`Andre sider totalt (${fb["totalt-rest"]})`)
- .icon(MinusIcon)
- .child(
- S.documentList()
- .title(`Behandlet`)
- .filter(
- `_type == "aksel_feedback" && !(doc_ref->_type in ["ds_artikkel", "komponent_artikkel", "aksel_artikkel"])`
- )
- ),
- S.listItem()
- .title(`Nei totalt (${fb["totalt-nei"]})`)
- .icon(MinusIcon)
- .child(
- S.documentList()
- .title(`Behandlet`)
- .filter(`_type == "aksel_feedback" && artikkel_feedback == "nei"`)
- ),
- S.listItem()
- .title(`Forslag totalt (${fb["totalt-forslag"]})`)
- .icon(MinusIcon)
- .child(
- S.documentList()
- .title(`Behandlet`)
- .filter(`_type == "aksel_feedback" && artikkel_feedback == "forslag"`)
- ),
- S.listItem()
- .title(`Ja totalt (${fb["totalt-ja"]})`)
- .icon(MinusIcon)
- .child(
- S.documentList()
- .title(`Behandlet`)
- .filter(`_type == "aksel_feedback" && artikkel_feedback == "ja"`)
- ),
- S.listItem()
- .title(`Footer totalt (${fb["totalt-footer"]})`)
- .icon(MinusIcon)
- .child(
- S.documentList()
- .title(`Behandlet`)
- .filter(`_type == "aksel_feedback" && feedback_type == "footer"`)
- ),
- S.listItem()
- .title(`UU-feedback totalt (${fb["totalt-uu"]})`)
- .icon(MinusIcon)
- .child(
- S.documentList()
- .title(`Behandlet`)
- .filter(`_type == "aksel_feedback" && feedback_type == "uu_feedback"`)
- ),
- ];
-};
diff --git a/aksel.nav.no/website/sanity/plugins/structure/index.tsx b/aksel.nav.no/website/sanity/plugins/structure/index.tsx
index 1cc325f482..617ed57936 100644
--- a/aksel.nav.no/website/sanity/plugins/structure/index.tsx
+++ b/aksel.nav.no/website/sanity/plugins/structure/index.tsx
@@ -11,7 +11,6 @@ import {
import { Iframe } from "./IFrame";
import {
- ChatIcon,
CircleSlashIcon,
ComponentIcon,
FileTextIcon,
@@ -23,10 +22,8 @@ import {
TokenIcon,
} from "@navikt/aksel-icons";
import differenceInMonths from "date-fns/differenceInMonths";
-import { FeedbackView } from "./FeedbackPreview";
-import { FeedbackPanes } from "./feedback";
import { GodPraksisPanes } from "./god-praksis";
-import { PanesWithCount } from "./with-count";
+import { Panes } from "./panes";
const isAfter = (date) => differenceInMonths(new Date(), new Date(date)) >= 6;
@@ -76,11 +73,6 @@ export const structure = async (
["developer"].includes(x.name)
);
- const feedback = await getClient({ apiVersion: "2021-06-07" }).fetch(
- `*[_type == "aksel_feedback" && $id in doc_ref->contributors[]->user_id.current]{_id, behandlet}`,
- { id: currentUser?.id }
- );
-
let outdated = await getClient({ apiVersion: "2021-06-07" }).fetch(
`*[$id in contributors[]->user_id.current]{_id, updateInfo}`,
{ id: currentUser?.id }
@@ -112,64 +104,7 @@ export const structure = async (
),
]
: []),
- ...(feedback.length > 0
- ? [
- S.listItem()
- .title(
- `Tilbakemeldinger (${
- feedback.filter(
- (x) => !x._id.includes("draft") && x.behandlet === false
- ).length
- })`
- )
- .icon(ChatIcon)
- .child(
- S.list()
- .title("Tilbakemeldinger.")
- .items([
- S.listItem()
- .title(
- `Nye tilbakemeldinger (${
- feedback.filter(
- (x) =>
- !x._id.includes("draft") && x.behandlet === false
- ).length
- })`
- )
- .child(
- S.documentList()
- .title(`Nye tilbakemeldinger`)
- .filter(
- `_type == 'aksel_feedback' && behandlet == false && _id in $ids`
- )
- .params({
- ids: feedback.map((x) => x?._id),
- })
- ),
- S.listItem()
- .title(
- `Ferdig behandlet (${
- feedback.filter(
- (x) =>
- !x._id.includes("draft") && x.behandlet === true
- ).length
- })`
- )
- .child(
- S.documentList()
- .title("Ferdig")
- .filter(
- `_type == 'aksel_feedback' && behandlet == true && _id in $ids`
- )
- .params({
- ids: feedback.map((x) => x?._id),
- })
- ),
- ])
- ),
- S.divider(),
- ]
- : [S.divider()]),
+ ...(outdated.length > 0 || !!editor ? [S.divider()] : []),
S.listItem()
.title("God Praksis")
.icon(PencilBoardIcon)
@@ -227,12 +162,7 @@ export const structure = async (
.schemaType(`grunnleggende_landingsside`)
.id(`grunnleggende_landingsside_id1`),
S.divider(),
- ...(await PanesWithCount(
- "ds_artikkel",
- grunnleggendeKategorier,
- getClient,
- S
- )),
+ ...Panes("ds_artikkel", grunnleggendeKategorier, S),
])
),
S.listItem()
@@ -247,12 +177,7 @@ export const structure = async (
.schemaType(`templates_landingsside`)
.id(`templates_landingsside_id1`),
S.divider(),
- ...(await PanesWithCount(
- "templates_artikkel",
- templatesKategorier,
- getClient,
- S
- )),
+ ...Panes("templates_artikkel", templatesKategorier, S),
])
),
S.listItem()
@@ -267,12 +192,7 @@ export const structure = async (
.schemaType(`komponenter_landingsside`)
.id(`komponenter_landingsside_id1`),
S.divider(),
- ...(await PanesWithCount(
- "komponent_artikkel",
- komponentKategorier,
- getClient,
- S
- )),
+ ...Panes("komponent_artikkel", komponentKategorier, S),
])
),
S.listItem()
@@ -287,12 +207,7 @@ export const structure = async (
.schemaType(`blogg_landingsside`)
.id(`blogg_landingsside_id1`),
S.divider(),
- ...(await PanesWithCount(
- "aksel_blogg",
- [...bloggKategorier],
- getClient,
- S
- )),
+ ...Panes("aksel_blogg", [...bloggKategorier], S),
])
),
...(adminOrDev
@@ -310,14 +225,6 @@ export const structure = async (
.schemaType(`aksel_forside`)
.icon(ImageIcon)
.id(`aksel_forside_dokument`),
- S.listItem()
- .title("Feedback")
- .icon(ChatIcon)
- .child(
- S.list()
- .title("Feedback")
- .items([...(await FeedbackPanes(getClient, S))])
- ),
S.listItem().title("Standalone-sider").child(
S.documentList()
@@ -442,7 +349,6 @@ export const defaultDocumentNode = (S, { schemaType }) => {
url: (doc) => resolveProductionUrl(doc),
})
.title("Forhåndsvisning"),
- S.view.component(FeedbackView).icon(ChatIcon).title("Tilbakemeldinger"),
]);
}
if (schemaType === "aksel_forside") {
diff --git a/aksel.nav.no/website/sanity/plugins/structure/with-count.ts b/aksel.nav.no/website/sanity/plugins/structure/panes.ts
similarity index 54%
rename from aksel.nav.no/website/sanity/plugins/structure/with-count.ts
rename to aksel.nav.no/website/sanity/plugins/structure/panes.ts
index c33384a779..fae66e8233 100644
--- a/aksel.nav.no/website/sanity/plugins/structure/with-count.ts
+++ b/aksel.nav.no/website/sanity/plugins/structure/panes.ts
@@ -1,34 +1,24 @@
import { FileXMarkIcon } from "@navikt/aksel-icons";
-/* documentStore is in Alpha, so avoid using for now */
-export const PanesWithCount = async (
+export const Panes = (
docType,
categories: { title: string; value: string }[],
- getClient,
S
) => {
- const ids = await getClient({ apiVersion: "2021-06-07" }).fetch(
- `*[_type == $docType]{_id, kategori}`,
- { docType }
- );
-
return [
...categories.map(({ value, title }) =>
S.listItem()
- .title(
- `${title} (${ids.filter((x) => x?.kategori === value).length ?? 0})`
- )
+ .title(title)
.child(
S.documentList()
.title(title)
.schemaType(docType)
.filter(`_type == $docType && $kat == kategori`)
.params({ kat: value, docType })
- /* .menuItems([...S.documentTypeList(docType).getMenuItems()]) */
)
),
S.listItem()
- .title(`Uten kategori (${ids.filter((x) => !x?.kategori).length ?? 0})`)
+ .title(`Uten kategori`)
.icon(FileXMarkIcon)
.child(
S.documentList()
@@ -36,7 +26,6 @@ export const PanesWithCount = async (
.schemaType(docType)
.filter(`_type == $docType && !defined(kategori)`)
.params({ docType })
- /* .menuItems([...S.documentTypeList(docType).getMenuItems()]) */
),
];
};
diff --git a/aksel.nav.no/website/sanity/sanity.config.tsx b/aksel.nav.no/website/sanity/sanity.config.tsx
index f07c2bb38e..9e157b34d9 100644
--- a/aksel.nav.no/website/sanity/sanity.config.tsx
+++ b/aksel.nav.no/website/sanity/sanity.config.tsx
@@ -1,4 +1,3 @@
-import { InputWithCounter } from "./schema/custom-components";
import { codeInput } from "@sanity/code-input";
import { colorInput } from "@sanity/color-input";
import { table } from "@sanity/table";
@@ -8,12 +7,13 @@ import { unsplashImageAsset } from "sanity-plugin-asset-source-unsplash";
import { media } from "sanity-plugin-media";
import { deskTool } from "sanity/desk";
import { defaultDocumentNode, publicationFlow, structure } from "./plugins";
+import { InputWithCounter } from "./schema/custom-components";
import { getTemplates } from "./util";
+import { DatabaseIcon, TestFlaskIcon } from "@navikt/aksel-icons";
import { allArticleDocuments } from "./config";
import { schema } from "./schema";
-import { DatabaseIcon, TestFlaskIcon } from "@navikt/aksel-icons";
const projectId = "hnbe3yhs";
@@ -49,11 +49,11 @@ function defaultConfig() {
const name = props.schemaType?.name;
if (name === "string" && props.schemaType?.options?.maxLength) {
- return ;
+ return ;
}
if (name === "text" && props.schemaType?.options?.maxLength) {
- return ;
+ return ;
}
return props.renderDefault(props);
},
@@ -67,6 +67,9 @@ function defaultConfig() {
? [...getTemplates(prev), ...prev]
: getTemplates();
},
+ unstable_comments: {
+ enabled: true,
+ },
},
plugins: [
deskTool({
diff --git a/aksel.nav.no/website/sanity/schema/custom-components/EditorPage.tsx b/aksel.nav.no/website/sanity/schema/custom-components/EditorPage.tsx
index 915fc112d8..68a25fe370 100644
--- a/aksel.nav.no/website/sanity/schema/custom-components/EditorPage.tsx
+++ b/aksel.nav.no/website/sanity/schema/custom-components/EditorPage.tsx
@@ -9,9 +9,9 @@ import {
import { differenceInMonths } from "date-fns";
import React, { useMemo } from "react";
import {
- getPublishedId,
IntentButton,
Preview,
+ getPublishedId,
useClient,
useCurrentUser,
useFormValue,
@@ -158,54 +158,6 @@ const DraftList = ({ data }: { data: any[] }) => {
);
};
-const FeedbackList = ({ data, title }: { data: any[]; title: string }) => {
- const schema = useSchema();
-
- const list = useMemo(
- () =>
- data.filter((x) =>
- title.startsWith("Ferdig") ? x.behandlet : !x.behandlet
- ),
- [data, title]
- );
-
- if (list.length === 0) {
- return null;
- }
-
- return (
-
- {`${title} (${list.length ?? 0})`}
-
-
- {list.map((x) => (
- -
-
-
-
-
- ))}
-
-
-
- );
-};
-
export const EditorPage = () => {
const user = useCurrentUser();
const userId = useFormValue([`user_id`]) as { current?: string };
@@ -216,15 +168,6 @@ export const EditorPage = () => {
(query) => client.fetch(query)
);
- const {
- data: fbData,
- error: fbError,
- isValidating: fbValidating,
- } = useSWR(
- `*[_type == "aksel_feedback" && $id in doc_ref->contributors[]->user_id.current]{_id, behandlet}`,
- (query) => client.fetch(query, { id: userId.current })
- );
-
if (error || !user) {
return Feilet lasting av bruker...
;
}
@@ -259,20 +202,7 @@ export const EditorPage = () => {
- {!fbError && !fbValidating && (
-
-
- Tilbakemeldinger på artikler du er bidragsyter i (
- {fbData?.length ?? 0})
-
- {fbData?.length > 0 && (
-
-
-
-
- )}
-
- )}
+
Under arbeid / må re-valideres
diff --git a/aksel.nav.no/website/sanity/schema/custom-components/InputWithCounter.tsx b/aksel.nav.no/website/sanity/schema/custom-components/InputWithCounter.tsx
index 6f7e4e5d01..f26278375c 100644
--- a/aksel.nav.no/website/sanity/schema/custom-components/InputWithCounter.tsx
+++ b/aksel.nav.no/website/sanity/schema/custom-components/InputWithCounter.tsx
@@ -1,42 +1,45 @@
-import { Textarea } from "@navikt/ds-react";
-import React, { useCallback } from "react";
-import { set, StringInputProps, TextInputProps, unset } from "sanity";
+import { Box, Detail, VStack } from "@navikt/ds-react";
+import cl from "clsx";
+import { StringInputProps, TextInputProps } from "sanity";
export function InputWithCounter(
props: (StringInputProps | TextInputProps) & {
size?: "medium" | "large";
}
) {
- const { onChange, value = "", elementProps, schemaType } = props;
+ const { value, schemaType } = props;
- //@ts-ignore
- const maxLength = schemaType?.options?.maxLength
- ? //@ts-ignore
- schemaType?.options?.maxLength
- : 60;
-
- const handleChange = useCallback(
- (event: React.ChangeEvent) =>
- onChange(
- event.currentTarget.value ? set(event.currentTarget.value) : unset()
- ),
- [onChange]
+ return (
+
+ {props.renderDefault(props)}
+
+
);
+}
- const hasError =
- props.validationError && props.validation.find((x) => x.level === "error");
+function Counter({
+ maxLength,
+ currentLength,
+}: {
+ maxLength: number;
+ currentLength: number;
+}) {
+ const difference = maxLength - currentLength;
return (
-
+
+
+ {difference < 0
+ ? `${Math.abs(difference)} tegn for mye`
+ : `${difference} tegn igjen`}
+
+
);
}
diff --git a/yarn.lock b/yarn.lock
index 86406f59d5..332be65579 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3828,7 +3828,7 @@ __metadata:
languageName: node
linkType: hard
-"@portabletext/react@npm:^3.0.11":
+"@portabletext/react@npm:^3.0.0, @portabletext/react@npm:^3.0.11":
version: 3.0.11
resolution: "@portabletext/react@npm:3.0.11"
dependencies:
@@ -4729,44 +4729,34 @@ __metadata:
languageName: node
linkType: hard
-"@sanity/block-tools@npm:3.18.0":
- version: 3.18.0
- resolution: "@sanity/block-tools@npm:3.18.0"
+"@sanity/block-tools@npm:3.20.0, @sanity/block-tools@npm:^3.20.0":
+ version: 3.20.0
+ resolution: "@sanity/block-tools@npm:3.20.0"
dependencies:
get-random-values-esm: ^1.0.0
lodash: ^4.17.21
- checksum: cd56265db9bc8f8e1ca91ce29e0d333815af013d4e69e92b9eeae335daa86edbf4bf8c030aaac8323b76c99f5e7450c2f288619353724966072df0d1765738ae
+ checksum: bff9614edd4a5dfa3659d6b59010e991687ca73f779a4240db98f1fa7f2c257959fb674bceb7d551a7f9dbfc30197ceab3d620a8038e870ec7d4f14d8ff4c2c3
languageName: node
linkType: hard
-"@sanity/block-tools@npm:^3.18.0":
- version: 3.19.1
- resolution: "@sanity/block-tools@npm:3.19.1"
- dependencies:
- get-random-values-esm: ^1.0.0
- lodash: ^4.17.21
- checksum: 4d70c7586b923b5a4680e6c02ae7825b7d5204493a020ad3c9cf202cf5cd2ecf80cda0474d6a4a863a8dfc6f27b576d8f9d3d6c89417d2138122f01f8cce6f9f
- languageName: node
- linkType: hard
-
-"@sanity/cli@npm:3.18.0":
- version: 3.18.0
- resolution: "@sanity/cli@npm:3.18.0"
+"@sanity/cli@npm:3.20.0":
+ version: 3.20.0
+ resolution: "@sanity/cli@npm:3.20.0"
dependencies:
"@babel/traverse": ^7.19.0
chalk: ^4.1.2
esbuild: ^0.19.0
esbuild-register: ^3.4.1
- get-it: ^8.4.3
+ get-it: ^8.4.4
golden-fleece: ^1.0.9
pkg-dir: ^5.0.0
bin:
sanity: bin/sanity
- checksum: 982f26bce9449438dc8d4878d763e34c3f8caa3f42760c58fe1522d4ba76da27f86f7cbecd7351b44a6556f481f3091653c82f5e3884c9b148d6a59d8d23fdc2
+ checksum: 8eaefc26e25d3cc70e679c31a48262aa78897986228b595013ebdcbc62c8c845bd156d31507a084ae9b0ba938ad879060e45e1fe8ac63a72589c0d439a602be1
languageName: node
linkType: hard
-"@sanity/client@npm:^6.4.9, @sanity/client@npm:^6.6.0, @sanity/client@npm:^6.7.0":
+"@sanity/client@npm:^6.6.0, @sanity/client@npm:^6.7.0":
version: 6.7.1
resolution: "@sanity/client@npm:6.7.1"
dependencies:
@@ -4777,6 +4767,18 @@ __metadata:
languageName: node
linkType: hard
+"@sanity/client@npm:^6.8.6":
+ version: 6.8.6
+ resolution: "@sanity/client@npm:6.8.6"
+ dependencies:
+ "@sanity/eventsource": ^5.0.0
+ "@vercel/stega": 0.1.0
+ get-it: ^8.4.4
+ rxjs: ^7.0.0
+ checksum: 14ad22c33ae3c52dc46e91b271334665cb2844c2455aebdb608e5d1b370ee582836c40568fc4eb1899bd99c51c13f53412f4ea9cc67cf95d95ff2bd91e650aa3
+ languageName: node
+ linkType: hard
+
"@sanity/code-input@npm:4.1.1":
version: 4.1.1
resolution: "@sanity/code-input@npm:4.1.1"
@@ -4842,12 +4844,12 @@ __metadata:
languageName: node
linkType: hard
-"@sanity/diff@npm:3.18.0":
- version: 3.18.0
- resolution: "@sanity/diff@npm:3.18.0"
+"@sanity/diff@npm:3.20.0":
+ version: 3.20.0
+ resolution: "@sanity/diff@npm:3.20.0"
dependencies:
"@sanity/diff-match-patch": ^3.1.1
- checksum: 55f9a4627661c163be11221c8e8020541118a95696c1424395d7fc8a2121fd2623f77bfad879118f9a9aff38ec6f42574be93ca5616e845099a3fc43035a1d23
+ checksum: c6db3cc7082ca99d4f250a7a4d4ee4dcabe4e54c5842319812d001fad39fd36edcdb09fab48e74edb68738dbd01c21c64d05d1316730800f0bbe5d23aa08be9e
languageName: node
linkType: hard
@@ -4875,19 +4877,19 @@ __metadata:
languageName: node
linkType: hard
-"@sanity/export@npm:3.18.0":
- version: 3.18.0
- resolution: "@sanity/export@npm:3.18.0"
+"@sanity/export@npm:3.20.0":
+ version: 3.20.0
+ resolution: "@sanity/export@npm:3.20.0"
dependencies:
archiver: ^5.0.0
debug: ^3.2.7
- get-it: ^8.4.3
+ get-it: ^8.4.4
lodash: ^4.17.21
mississippi: ^4.0.0
p-queue: ^2.3.0
rimraf: ^3.0.2
split2: ^3.2.2
- checksum: 06383faf2c8c16cc443860cdbb8f6506ae0c5ef01cafcdc71b498ce18b28e4c8993d9a96ce727578df9ac08b86e1842ab04b7b87756c1579c091312574019cab
+ checksum: ec24ef53682da492538bf9cbb1edf343988091232ee4fcab48ecd04596cd392278864486f9894f8c137f55da178969040d35862566c001e8ee2b51eb6d31a41b
languageName: node
linkType: hard
@@ -4915,6 +4917,17 @@ __metadata:
languageName: node
linkType: hard
+"@sanity/groq-store@npm:5.0.1-experimental":
+ version: 5.0.1-experimental
+ resolution: "@sanity/groq-store@npm:5.0.1-experimental"
+ dependencies:
+ mnemonist: 0.39.5
+ peerDependencies:
+ "@sanity/client": ^6.8.6
+ checksum: 3bd96dbae74d9df29ea117768fd6f13cd8cc0c13716f97eabbdb8a3b4d44a97c490514b646984cb775ac33f01ec5db447bdfbfb24bd88a13983e947ae22c9443
+ languageName: node
+ linkType: hard
+
"@sanity/icons@npm:^1.3":
version: 1.3.10
resolution: "@sanity/icons@npm:1.3.10"
@@ -4924,7 +4937,7 @@ __metadata:
languageName: node
linkType: hard
-"@sanity/icons@npm:^2.0.0, @sanity/icons@npm:^2.4.0, @sanity/icons@npm:^2.4.1":
+"@sanity/icons@npm:^2.0.0, @sanity/icons@npm:^2.4.1, @sanity/icons@npm:^2.6.0, @sanity/icons@npm:^2.7.0":
version: 2.7.0
resolution: "@sanity/icons@npm:2.7.0"
peerDependencies:
@@ -4940,17 +4953,17 @@ __metadata:
languageName: node
linkType: hard
-"@sanity/import@npm:3.18.0":
- version: 3.18.0
- resolution: "@sanity/import@npm:3.18.0"
+"@sanity/import@npm:3.20.0":
+ version: 3.20.0
+ resolution: "@sanity/import@npm:3.20.0"
dependencies:
"@sanity/asset-utils": ^1.2.5
"@sanity/generate-help-url": ^3.0.0
- "@sanity/mutator": 3.18.0
+ "@sanity/mutator": 3.20.0
"@sanity/uuid": ^3.0.1
debug: ^3.2.7
file-url: ^2.0.2
- get-it: ^8.4.3
+ get-it: ^8.4.4
get-uri: ^2.0.2
globby: ^10.0.0
gunzip-maybe: ^1.4.1
@@ -4962,7 +4975,7 @@ __metadata:
rimraf: ^3.0.2
split2: ^3.2.2
tar-fs: ^2.1.1
- checksum: 8222163a686600d9aebf7b3e0f8f009bba22c12a89f9be27335986bfd31cb18e916ac629789ce9f5396a128235e011496366889bc8dbee32b7dd2fab0ecd97c4
+ checksum: 20962f0c791cf27be97eb759509f1f1bdb710c553384444ce1f26a13beba9900a2f21e1303e8388dd3d1bc96b3738f3347986232fa1e6d027cc1ee10b4a5662d
languageName: node
linkType: hard
@@ -4989,36 +5002,60 @@ __metadata:
languageName: node
linkType: hard
-"@sanity/mutator@npm:3.18.0":
- version: 3.18.0
- resolution: "@sanity/mutator@npm:3.18.0"
+"@sanity/mutator@npm:3.20.0":
+ version: 3.20.0
+ resolution: "@sanity/mutator@npm:3.20.0"
dependencies:
"@sanity/diff-match-patch": ^3.1.1
"@sanity/uuid": ^3.0.1
debug: ^3.2.7
lodash: ^4.17.21
- checksum: cc1c2b7a25855c2d81b8cb832f4b24f00260d5f4196082c2bc0e087ef6a958ac2f973220ce451288582418b6e6d198e9aeda3d4a7ccd3d01fbae20376ccdb103
+ checksum: 804b46d687fed19aa9c8f53c79c9ee20ea2a7bccca9be0e36c723e7e1af32ed3c5d725b152ddc7523d103f0b644c2bc6ceaf77bfe9bbd1b60d4f0fe6641bce99
languageName: node
linkType: hard
-"@sanity/portable-text-editor@npm:3.18.0":
- version: 3.18.0
- resolution: "@sanity/portable-text-editor@npm:3.18.0"
+"@sanity/portable-text-editor@npm:3.20.0":
+ version: 3.20.0
+ resolution: "@sanity/portable-text-editor@npm:3.20.0"
dependencies:
- "@sanity/block-tools": 3.18.0
- "@sanity/schema": 3.18.0
- "@sanity/types": 3.18.0
- "@sanity/util": 3.18.0
+ "@sanity/block-tools": 3.20.0
+ "@sanity/schema": 3.20.0
+ "@sanity/types": 3.20.0
+ "@sanity/util": 3.20.0
debug: ^3.2.7
is-hotkey: ^0.1.6
lodash: ^4.17.21
- slate: 0.94.1
- slate-react: 0.98.1
+ slate: 0.100.0
+ slate-react: 0.101.0
peerDependencies:
react: ^16.9 || ^17 || ^18
rxjs: ^7
- styled-components: ^5.2
- checksum: a971842bd099bd8c39062a59470af8878a2ec8c4e7c543dfbc26720123b39faa059a65efe18dce0c116e4e22cddd3b78ad004708aa423dfd834662a12468d4d4
+ styled-components: ^5.2 || ^6
+ checksum: fe8aed0537256d92e80b5090fe4eb23ab8a5e0e4ea8c3b8f7857b684a59d1e1877270800bbaa6d96fe1d21d8ca89a34935f0c999f84bb404522036846cc0f36d
+ languageName: node
+ linkType: hard
+
+"@sanity/presentation@npm:1.0.3":
+ version: 1.0.3
+ resolution: "@sanity/presentation@npm:1.0.3"
+ dependencies:
+ "@sanity/groq-store": 5.0.1-experimental
+ "@sanity/icons": ^2.7.0
+ "@sanity/preview-url-secret": 1.0.2
+ "@sanity/ui": ^1.9.3
+ "@types/lodash.isequal": ^4.5.8
+ framer-motion: ^10.16.5
+ lodash.isequal: ^4.5.0
+ mendoza: 3.0.3
+ rxjs: ^7.8.1
+ suspend-react: 0.1.3
+ peerDependencies:
+ "@sanity/client": ^6.8.6
+ react: ^18.2.0
+ react-dom: ^18.2.0
+ sanity: ^3.19.3
+ styled-components: ^6.1.1
+ checksum: 512cfa6f8da0570664e3eafb458ab5b7ae26d59becc5091ae68ca9e96d249606cc32b5675b5e4c97ca0b72a693032e1d4c4efaf402160d97d6753bd9093d48be
languageName: node
linkType: hard
@@ -5045,33 +5082,29 @@ __metadata:
languageName: node
linkType: hard
-"@sanity/schema@npm:3.18.0":
- version: 3.18.0
- resolution: "@sanity/schema@npm:3.18.0"
+"@sanity/preview-url-secret@npm:1.0.2":
+ version: 1.0.2
+ resolution: "@sanity/preview-url-secret@npm:1.0.2"
dependencies:
- "@sanity/generate-help-url": ^3.0.0
- "@sanity/types": 3.18.0
- arrify: ^1.0.1
- humanize-list: ^1.0.1
- leven: ^3.1.0
- lodash: ^4.17.21
- object-inspect: ^1.6.0
- checksum: 3fb00b738a41c8f07b42f303e6180e4264da297f2babee7295a8ef2695edae230b95907211f9eb124d520c57f342e39ff42a6d36e59930b2e7b64238ee92674b
+ "@sanity/uuid": 3.0.2
+ peerDependencies:
+ "@sanity/client": ^6.8.6
+ checksum: 38451fa017688ef5b4c063e5416955ceffed7149b82fff5cbffa02d2d706075de9006e1b681857a37d09343e35f8b1ccc8341be2a708c25bfb6d200e5538c66b
languageName: node
linkType: hard
-"@sanity/schema@npm:^3.18.0":
- version: 3.19.1
- resolution: "@sanity/schema@npm:3.19.1"
+"@sanity/schema@npm:3.20.0, @sanity/schema@npm:^3.20.0":
+ version: 3.20.0
+ resolution: "@sanity/schema@npm:3.20.0"
dependencies:
"@sanity/generate-help-url": ^3.0.0
- "@sanity/types": 3.19.1
+ "@sanity/types": 3.20.0
arrify: ^1.0.1
humanize-list: ^1.0.1
leven: ^3.1.0
lodash: ^4.17.21
object-inspect: ^1.6.0
- checksum: dd065a47ab0e20617bae0b56521e2832a23793c7b68f78a4011a54ab7b2b61b95543770d023bab1c46dac58c635d2fbec19e3cb68fe57a4b6241c451c0bbafe0
+ checksum: 484854df5fa08ded5e383ebc83952620e2e04f3b47e0ab64e14581988edc41b326487558f9431ace13406f85d7a0e3209ec872b5674237be5c578f4e2515eead
languageName: node
linkType: hard
@@ -5090,17 +5123,17 @@ __metadata:
languageName: node
linkType: hard
-"@sanity/types@npm:3.18.0":
- version: 3.18.0
- resolution: "@sanity/types@npm:3.18.0"
+"@sanity/types@npm:3.20.0":
+ version: 3.20.0
+ resolution: "@sanity/types@npm:3.20.0"
dependencies:
- "@sanity/client": ^6.4.9
+ "@sanity/client": ^6.8.6
"@types/react": ^18.0.25
- checksum: eda8445e3e5dcfedbad170b1e8d0af3b653456a0295fabb47a8322a99e0acabb9bf0b6838956813a0cb63a13bae3202f6ceb092e25baa189123377e7a8683b7d
+ checksum: de393bd2f92a52a011f63a500a7f84902252aa33306520a6db3ad5fc1d8d854d90d85e5aaf550fbfe31b17a2d5f9e3d06d79166dbda7f04f1034ac21583be9c7
languageName: node
linkType: hard
-"@sanity/types@npm:3.19.1, @sanity/types@npm:^3.14.5":
+"@sanity/types@npm:^3.14.5":
version: 3.19.1
resolution: "@sanity/types@npm:3.19.1"
dependencies:
@@ -5110,7 +5143,7 @@ __metadata:
languageName: node
linkType: hard
-"@sanity/ui@npm:^1.0.0, @sanity/ui@npm:^1.7.0, @sanity/ui@npm:^1.7.2":
+"@sanity/ui@npm:^1.0.0, @sanity/ui@npm:^1.7.0":
version: 1.9.0
resolution: "@sanity/ui@npm:1.9.0"
dependencies:
@@ -5129,18 +5162,37 @@ __metadata:
languageName: node
linkType: hard
-"@sanity/util@npm:3.18.0":
- version: 3.18.0
- resolution: "@sanity/util@npm:3.18.0"
+"@sanity/ui@npm:^1.9.3":
+ version: 1.9.3
+ resolution: "@sanity/ui@npm:1.9.3"
+ dependencies:
+ "@floating-ui/react-dom": 2.0.0
+ "@sanity/color": ^2.2.5
+ "@sanity/icons": ^2.4.1
+ csstype: ^3.1.2
+ framer-motion: ^10.16.2
+ react-refractor: ^2.1.7
+ peerDependencies:
+ react: ^18
+ react-dom: ^18
+ react-is: ^18
+ styled-components: ^5.2 || ^6
+ checksum: 34d5359dba49ae4440bb268d2a2a7119fa967dd0b2294226c34863a996d0711980e04ab2b2ee073ce4b294117181de5e417368fbc5d4511434bd52c325c2ea84
+ languageName: node
+ linkType: hard
+
+"@sanity/util@npm:3.20.0":
+ version: 3.20.0
+ resolution: "@sanity/util@npm:3.20.0"
dependencies:
- "@sanity/types": 3.18.0
+ "@sanity/types": 3.20.0
get-random-values-esm: ^1.0.0
moment: ^2.29.4
- checksum: 082d4e02e8c287813d219158767829815e8cb355c9482b8080a497e9621c83d4de2141126adc73a7194f41b38875023bb9017011498a645f17b2630a09e7954f
+ checksum: eb66619e2ffec211747917968bf8777c8af29b693183255bc8df2fb62d99c410f04c44241c0594eaab43654c530ba24a2745aad41f434b65fe0fb06b4dfcdfad
languageName: node
linkType: hard
-"@sanity/uuid@npm:^3.0.1":
+"@sanity/uuid@npm:3.0.2, @sanity/uuid@npm:^3.0.1":
version: 3.0.2
resolution: "@sanity/uuid@npm:3.0.2"
dependencies:
@@ -5150,9 +5202,9 @@ __metadata:
languageName: node
linkType: hard
-"@sanity/vision@npm:3.18.0":
- version: 3.18.0
- resolution: "@sanity/vision@npm:3.18.0"
+"@sanity/vision@npm:3.20.0":
+ version: 3.20.0
+ resolution: "@sanity/vision@npm:3.20.0"
dependencies:
"@codemirror/autocomplete": ^6.1.0
"@codemirror/commands": ^6.0.1
@@ -5165,8 +5217,8 @@ __metadata:
"@rexxars/react-json-inspector": ^8.0.1
"@rexxars/react-split-pane": ^0.1.93
"@sanity/color": ^2.1.20
- "@sanity/icons": ^2.4.0
- "@sanity/ui": ^1.7.2
+ "@sanity/icons": ^2.6.0
+ "@sanity/ui": ^1.9.3
"@uiw/react-codemirror": ^4.11.4
hashlru: ^2.3.0
is-hotkey: ^0.1.6
@@ -5174,8 +5226,8 @@ __metadata:
lodash: ^4.17.21
peerDependencies:
react: ^18
- styled-components: ^5.2
- checksum: ca5b11822e3d53853af5a4bf9eb7ab6e4216049bfde6b98d13fd3377cbff7e708c354a477465dd0caa09c4df9f5abc31f1abf6ff0da00178c6d4ce39ae75456b
+ styled-components: ^5.2 || ^6
+ checksum: 3e2fed87efb0efbcd1a4207cfdc6cb03da4312d05676ee07e3a753b5fdf27d5aecce2d9943fb574e33eebfa119ae8ad60673fa1d956e48909c52aa676e9f51c2
languageName: node
linkType: hard
@@ -7326,7 +7378,7 @@ __metadata:
languageName: node
linkType: hard
-"@types/is-hotkey@npm:^0.1.1, @types/is-hotkey@npm:^0.1.7":
+"@types/is-hotkey@npm:^0.1.7, @types/is-hotkey@npm:^0.1.8":
version: 0.1.9
resolution: "@types/is-hotkey@npm:0.1.9"
checksum: 4057a677e2300fdada016d8cd7e87d9a1fad9ca19ad7231e0df9884cb3cf1553df5e77e2e1e072441145a298cda274e057d07b3cef29b03dffbcec7cd4a18eee
@@ -7419,7 +7471,23 @@ __metadata:
languageName: node
linkType: hard
-"@types/lodash@npm:^4.14.149, @types/lodash@npm:^4.14.167, @types/lodash@npm:^4.14.191":
+"@types/lodash.isequal@npm:^4.5.8":
+ version: 4.5.8
+ resolution: "@types/lodash.isequal@npm:4.5.8"
+ dependencies:
+ "@types/lodash": "*"
+ checksum: f3180c2d2925514fff1908a1303c11468c9f39b47fd7b053416aad3f1447f8e4a9894dd0460187ac9ac19387e25aec8dd8214d13a50a0967e0dc9cca8e4c5353
+ languageName: node
+ linkType: hard
+
+"@types/lodash@npm:*, @types/lodash@npm:^4.14.200":
+ version: 4.14.201
+ resolution: "@types/lodash@npm:4.14.201"
+ checksum: 484be655298e9b2dc2d218ea934071b2ea31e4a531c561dd220dbda65237e8d08c20dc2d457ac24f29be7fe167415bf7bb9360ea0d80bdb8b0f0ec8d8db92fae
+ languageName: node
+ linkType: hard
+
+"@types/lodash@npm:^4.14.167, @types/lodash@npm:^4.14.191":
version: 4.14.200
resolution: "@types/lodash@npm:4.14.200"
checksum: 6471f8bb5da692a6ecf03a8da4935bfbc341e67ee9bcb4f5730bfacff0c367232548f0a01e8ac5ea18c6fe78fb085d502494e33ccb47a7ee87cbdee03b47d00d
@@ -7805,10 +7873,10 @@ __metadata:
languageName: node
linkType: hard
-"@types/use-sync-external-store@npm:^0.0.3":
- version: 0.0.3
- resolution: "@types/use-sync-external-store@npm:0.0.3"
- checksum: 161ddb8eec5dbe7279ac971531217e9af6b99f7783213566d2b502e2e2378ea19cf5e5ea4595039d730aa79d3d35c6567d48599f69773a02ffcff1776ec2a44e
+"@types/use-sync-external-store@npm:^0.0.5":
+ version: 0.0.5
+ resolution: "@types/use-sync-external-store@npm:0.0.5"
+ checksum: 96a22fa059d8a6d0fe0b03e5157eb22f599ab1cc58b9441617dec4be6d8586260fcf9041912ab90e92d9c6ea6dfec5c758bae6418552aa687fc7e0bb904e68bc
languageName: node
linkType: hard
@@ -10984,13 +11052,6 @@ __metadata:
languageName: node
linkType: hard
-"compute-scroll-into-view@npm:^1.0.20":
- version: 1.0.20
- resolution: "compute-scroll-into-view@npm:1.0.20"
- checksum: f15fab29221953620735393ac1866541aab0d27d28078bedbba071a291ee9c8cc1a72bee302cf0bc06ed83c5e55afb74ebcbd634a63671ba33cf1fb1c51d3308
- languageName: node
- linkType: hard
-
"compute-scroll-into-view@npm:^3.0.2":
version: 3.1.0
resolution: "compute-scroll-into-view@npm:3.1.0"
@@ -12315,7 +12376,7 @@ __metadata:
languageName: node
linkType: hard
-"direction@npm:^1.0.3":
+"direction@npm:^1.0.4":
version: 1.0.4
resolution: "direction@npm:1.0.4"
bin:
@@ -14432,6 +14493,27 @@ __metadata:
languageName: node
linkType: hard
+"framer-motion@npm:^10.16.5":
+ version: 10.16.5
+ resolution: "framer-motion@npm:10.16.5"
+ dependencies:
+ "@emotion/is-prop-valid": ^0.8.2
+ tslib: ^2.4.0
+ peerDependencies:
+ react: ^18.0.0
+ react-dom: ^18.0.0
+ dependenciesMeta:
+ "@emotion/is-prop-valid":
+ optional: true
+ peerDependenciesMeta:
+ react:
+ optional: true
+ react-dom:
+ optional: true
+ checksum: 189e26745c860390d9320586c11248c81c63edf093cda33f95cc6f5e5a31fdf09ed64319c8303923692c36beb5cf56a1a40a32c70520d55df37b7d77a690aeb0
+ languageName: node
+ linkType: hard
+
"fresh@npm:0.5.2":
version: 0.5.2
resolution: "fresh@npm:0.5.2"
@@ -14697,7 +14779,7 @@ __metadata:
languageName: node
linkType: hard
-"get-it@npm:^8.4.3, get-it@npm:^8.4.4":
+"get-it@npm:^8.4.4":
version: 8.4.4
resolution: "get-it@npm:8.4.4"
dependencies:
@@ -15951,7 +16033,14 @@ __metadata:
languageName: node
linkType: hard
-"immer@npm:^9.0.21, immer@npm:^9.0.6":
+"immer@npm:^10.0.3":
+ version: 10.0.3
+ resolution: "immer@npm:10.0.3"
+ checksum: 76acabe6f40e752028313762ba477a5d901e57b669f3b8fb406b87b9bb9b14e663a6fbbf5a6d1ab323737dd38f4b2494a4e28002045b88948da8dbf482309f28
+ languageName: node
+ linkType: hard
+
+"immer@npm:^9.0.21":
version: 9.0.21
resolution: "immer@npm:9.0.21"
checksum: 70e3c274165995352f6936695f0ef4723c52c92c92dd0e9afdfe008175af39fa28e76aafb3a2ca9d57d1fb8f796efc4dd1e1cc36f18d33fa5b74f3dfb0375432
@@ -18198,6 +18287,13 @@ __metadata:
languageName: node
linkType: hard
+"lodash.isequal@npm:^4.5.0":
+ version: 4.5.0
+ resolution: "lodash.isequal@npm:4.5.0"
+ checksum: da27515dc5230eb1140ba65ff8de3613649620e8656b19a6270afe4866b7bd461d9ba2ac8a48dcc57f7adac4ee80e1de9f965d89d4d81a0ad52bb3eec2609644
+ languageName: node
+ linkType: hard
+
"lodash.isplainobject@npm:4.0.6, lodash.isplainobject@npm:^4.0.6":
version: 4.0.6
resolution: "lodash.isplainobject@npm:4.0.6"
@@ -18254,7 +18350,7 @@ __metadata:
languageName: node
linkType: hard
-"lodash@npm:4.17.21, lodash@npm:^4.0.1, lodash@npm:^4.17.12, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:^4.17.4, lodash@npm:^4.17.5":
+"lodash@npm:4.17.21, lodash@npm:^4.0.1, lodash@npm:^4.17.12, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:^4.17.5":
version: 4.17.21
resolution: "lodash@npm:4.17.21"
checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7
@@ -19102,6 +19198,15 @@ __metadata:
languageName: node
linkType: hard
+"mnemonist@npm:0.39.5":
+ version: 0.39.5
+ resolution: "mnemonist@npm:0.39.5"
+ dependencies:
+ obliterator: ^2.0.1
+ checksum: 6669d687a434226924b2c84ee6eb7ce7d0f83dfc5caad8bcc164c73c0c11fb6d43cbe32636e710f068046f4b40a56c3032532554e93e02640aafc6ca3dd222e6
+ languageName: node
+ linkType: hard
+
"module-alias@npm:^2.2.2":
version: 2.2.3
resolution: "module-alias@npm:2.2.3"
@@ -19882,6 +19987,13 @@ __metadata:
languageName: node
linkType: hard
+"obliterator@npm:^2.0.1":
+ version: 2.0.4
+ resolution: "obliterator@npm:2.0.4"
+ checksum: f28ad35b6d812089315f375dc3e6e5f9bebf958ebe4b10ccd471c7115cbcf595e74bdac4783ae758e5b1f47e3096427fdb37cfa7bed566b132df92ff317b9a7c
+ languageName: node
+ linkType: hard
+
"observable-callback@npm:^1.0.1, observable-callback@npm:^1.0.2":
version: 1.0.3
resolution: "observable-callback@npm:1.0.3"
@@ -23459,7 +23571,7 @@ __metadata:
languageName: node
linkType: hard
-"rxjs@npm:^7.0.0, rxjs@npm:^7.2.0, rxjs@npm:^7.5.5, rxjs@npm:^7.8.0":
+"rxjs@npm:^7.0.0, rxjs@npm:^7.2.0, rxjs@npm:^7.5.5, rxjs@npm:^7.8.0, rxjs@npm:^7.8.1":
version: 7.8.1
resolution: "rxjs@npm:7.8.1"
dependencies:
@@ -23537,7 +23649,7 @@ __metadata:
languageName: node
linkType: hard
-"sanity-plugin-asset-source-unsplash@npm:^1.1.1":
+"sanity-plugin-asset-source-unsplash@npm:^1.1.2":
version: 1.1.2
resolution: "sanity-plugin-asset-source-unsplash@npm:1.1.2"
dependencies:
@@ -23554,7 +23666,7 @@ __metadata:
languageName: node
linkType: hard
-"sanity-plugin-media@npm:^2.2.2":
+"sanity-plugin-media@npm:^2.2.4":
version: 2.2.4
resolution: "sanity-plugin-media@npm:2.2.4"
dependencies:
@@ -23591,37 +23703,39 @@ __metadata:
languageName: node
linkType: hard
-"sanity@npm:3.18.0":
- version: 3.18.0
- resolution: "sanity@npm:3.18.0"
+"sanity@npm:3.20.0":
+ version: 3.20.0
+ resolution: "sanity@npm:3.20.0"
dependencies:
"@dnd-kit/core": ^6.0.5
"@dnd-kit/modifiers": ^6.0.0
"@dnd-kit/sortable": ^7.0.1
"@dnd-kit/utilities": ^3.2.0
"@juggle/resize-observer": ^3.3.1
+ "@portabletext/react": ^3.0.0
"@rexxars/react-json-inspector": ^8.0.1
"@sanity/asset-utils": ^1.2.5
"@sanity/bifur-client": ^0.3.1
- "@sanity/block-tools": 3.18.0
- "@sanity/cli": 3.18.0
- "@sanity/client": ^6.4.9
+ "@sanity/block-tools": 3.20.0
+ "@sanity/cli": 3.20.0
+ "@sanity/client": ^6.8.6
"@sanity/color": ^2.1.20
- "@sanity/diff": 3.18.0
+ "@sanity/diff": 3.20.0
"@sanity/diff-match-patch": ^3.1.1
"@sanity/eventsource": ^5.0.0
- "@sanity/export": 3.18.0
+ "@sanity/export": 3.20.0
"@sanity/generate-help-url": ^3.0.0
- "@sanity/icons": ^2.4.0
+ "@sanity/icons": ^2.6.0
"@sanity/image-url": ^1.0.2
- "@sanity/import": 3.18.0
+ "@sanity/import": 3.20.0
"@sanity/logos": ^2.0.2
- "@sanity/mutator": 3.18.0
- "@sanity/portable-text-editor": 3.18.0
- "@sanity/schema": 3.18.0
- "@sanity/types": 3.18.0
- "@sanity/ui": ^1.7.2
- "@sanity/util": 3.18.0
+ "@sanity/mutator": 3.20.0
+ "@sanity/portable-text-editor": 3.20.0
+ "@sanity/presentation": 1.0.3
+ "@sanity/schema": 3.20.0
+ "@sanity/types": 3.20.0
+ "@sanity/ui": ^1.9.3
+ "@sanity/util": 3.20.0
"@sanity/uuid": ^3.0.1
"@tanstack/react-virtual": 3.0.0-beta.54
"@types/is-hotkey": ^0.1.7
@@ -23629,7 +23743,7 @@ __metadata:
"@types/react-is": ^18.2.0
"@types/shallow-equals": ^1.0.0
"@types/speakingurl": ^13.0.3
- "@types/use-sync-external-store": ^0.0.3
+ "@types/use-sync-external-store": ^0.0.5
"@vitejs/plugin-react": ^4.0.0
chalk: ^4.1.2
chokidar: ^3.5.3
@@ -23646,7 +23760,7 @@ __metadata:
execa: ^2.0.0
exif-component: ^1.0.1
framer-motion: ^10.0.0
- get-it: ^8.4.3
+ get-it: ^8.4.4
get-random-values-esm: ^1.0.0
groq-js: ^1.1.12
hashlru: ^2.3.0
@@ -23699,10 +23813,10 @@ __metadata:
peerDependencies:
react: ^18
react-dom: ^18
- styled-components: ^5.2
+ styled-components: ^5.2 || ^6
bin:
sanity: bin/sanity
- checksum: 33e779e50d466140dbcbb2431100c5d97932d77bbfd7e52beec7580c34710a6c861cd645cc069e5d861207cd4c72358631162c5460797df19fde3dc7ee385029
+ checksum: a38418dcf61a03b8ed624dc771ce210af4347d30bdeb9494aa70334ddd6cd9b9fd6718a032bec39e0174a855b3c0b6837b5e5f6695726e847bac65181fe0c39f
languageName: node
linkType: hard
@@ -23797,16 +23911,7 @@ __metadata:
languageName: node
linkType: hard
-"scroll-into-view-if-needed@npm:^2.2.20":
- version: 2.2.31
- resolution: "scroll-into-view-if-needed@npm:2.2.31"
- dependencies:
- compute-scroll-into-view: ^1.0.20
- checksum: 93b28f3723a462245b40d4120c40c542c8449473e2b157a5f8e18f04d95d66cd35249d96c625e8a440a56891f7d8905b1d026c690bdda07fcfb4f1a48d643ad1
- languageName: node
- linkType: hard
-
-"scroll-into-view-if-needed@npm:^3.0.3":
+"scroll-into-view-if-needed@npm:^3.0.3, scroll-into-view-if-needed@npm:^3.1.0":
version: 3.1.0
resolution: "scroll-into-view-if-needed@npm:3.1.0"
dependencies:
@@ -24220,35 +24325,35 @@ __metadata:
languageName: node
linkType: hard
-"slate-react@npm:0.98.1":
- version: 0.98.1
- resolution: "slate-react@npm:0.98.1"
+"slate-react@npm:0.101.0":
+ version: 0.101.0
+ resolution: "slate-react@npm:0.101.0"
dependencies:
"@juggle/resize-observer": ^3.4.0
- "@types/is-hotkey": ^0.1.1
- "@types/lodash": ^4.14.149
- direction: ^1.0.3
- is-hotkey: ^0.1.6
+ "@types/is-hotkey": ^0.1.8
+ "@types/lodash": ^4.14.200
+ direction: ^1.0.4
+ is-hotkey: ^0.2.0
is-plain-object: ^5.0.0
- lodash: ^4.17.4
- scroll-into-view-if-needed: ^2.2.20
- tiny-invariant: 1.0.6
+ lodash: ^4.17.21
+ scroll-into-view-if-needed: ^3.1.0
+ tiny-invariant: 1.3.1
peerDependencies:
- react: ">=16.8.0"
- react-dom: ">=16.8.0"
- slate: ">=0.65.3"
- checksum: df887a3a68d5ade088386bf0ffeb3b573a010baba240c90b7e2bd1273a78ddc52656e283e7ab984222be87f7a9f20c394cf05f5ff0ee2db42b871a1a69d855a6
+ react: ">=18.2.0"
+ react-dom: ">=18.2.0"
+ slate: ">=0.99.0"
+ checksum: a70bdeeaee9d87c2447289517c6c2b39f77dd886aea09255964cfd7387eaf115fb08c48e57b02ee6ecffc5fe337c9e44928f0db8fec8cc8f397135cfbb86b006
languageName: node
linkType: hard
-"slate@npm:0.94.1":
- version: 0.94.1
- resolution: "slate@npm:0.94.1"
+"slate@npm:0.100.0":
+ version: 0.100.0
+ resolution: "slate@npm:0.100.0"
dependencies:
- immer: ^9.0.6
+ immer: ^10.0.3
is-plain-object: ^5.0.0
tiny-warning: ^1.0.3
- checksum: 07666fe3373e59aaa19261366fd3cf1df546edfc0162fb88d675d71f158ebd1bf0630fd00ecc9152ab6547080f3e90c9f6d1504e09c25b3bf980cceb9b15c3c1
+ checksum: 2e12f46e5147c4d000995769041d51fa18735d28b4c734d43c48931daf01c164e820631e54ec355fc4d5d09f9fff6687782412d01f6841b6078c753fd61e60e4
languageName: node
linkType: hard
@@ -25313,6 +25418,15 @@ __metadata:
languageName: node
linkType: hard
+"suspend-react@npm:0.1.3":
+ version: 0.1.3
+ resolution: "suspend-react@npm:0.1.3"
+ peerDependencies:
+ react: ">=17.0"
+ checksum: 280de571d33ffe825bb28fab25e81272b396c3295d91f50ac48b6a3777830035fa40909015dfaef17e34b9ad4ce15fcb4d73cc59530d4bc82490471322f7dbbe
+ languageName: node
+ linkType: hard
+
"svg-parser@npm:^2.0.4":
version: 2.0.4
resolution: "svg-parser@npm:2.0.4"
@@ -25773,14 +25887,7 @@ __metadata:
languageName: node
linkType: hard
-"tiny-invariant@npm:1.0.6":
- version: 1.0.6
- resolution: "tiny-invariant@npm:1.0.6"
- checksum: c90b34beea3cb10c49531e754afb0999033a2d7edffef6602922de27678d8a96dcbc0e8f0a959bc272859281b0cd1305b711e25d5edfb1da5fc7135e2a992961
- languageName: node
- linkType: hard
-
-"tiny-invariant@npm:^1.3.1":
+"tiny-invariant@npm:1.3.1, tiny-invariant@npm:^1.3.1":
version: 1.3.1
resolution: "tiny-invariant@npm:1.3.1"
checksum: 872dbd1ff20a21303a2fd20ce3a15602cfa7fcf9b228bd694a52e2938224313b5385a1078cb667ed7375d1612194feaca81c4ecbe93121ca1baebe344de4f84c
@@ -27270,14 +27377,14 @@ __metadata:
"@next/eslint-plugin-next": 13.2.1
"@playwright/test": 1.35.1
"@portabletext/react": ^3.0.11
- "@sanity/block-tools": ^3.18.0
- "@sanity/client": ^6.6.0
+ "@sanity/block-tools": ^3.20.0
+ "@sanity/client": ^6.8.6
"@sanity/code-input": 4.1.1
"@sanity/color-input": ^3.1.0
"@sanity/image-url": 1.0.2
- "@sanity/schema": ^3.18.0
+ "@sanity/schema": ^3.20.0
"@sanity/table": 1.0.1
- "@sanity/vision": 3.18.0
+ "@sanity/vision": 3.20.0
"@testing-library/jest-dom": ^5.16.0
"@testing-library/react": ^13.3.0
"@types/jest": ^29.0.0
@@ -27313,9 +27420,9 @@ __metadata:
react-hotjar: ^6.1.0
react-responsive-masonry: ^2.1.7
rss: ^1.2.2
- sanity: 3.18.0
- sanity-plugin-asset-source-unsplash: ^1.1.1
- sanity-plugin-media: ^2.2.2
+ sanity: 3.20.0
+ sanity-plugin-asset-source-unsplash: ^1.1.2
+ sanity-plugin-media: ^2.2.4
sharp: 0.32.5
showdown: ^2.1.0
start-server-and-test: ^1.14.0