@electrolux-oss/sanity-plugin-media 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -12
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +17 -27
- package/sanity.json +0 -8
package/dist/index.mjs
CHANGED
|
@@ -20,13 +20,12 @@ import { Virtuoso, VirtuosoGrid, GroupedVirtuoso } from "react-virtuoso";
|
|
|
20
20
|
import { Controller, useForm } from "react-hook-form";
|
|
21
21
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
22
22
|
import * as z from "zod";
|
|
23
|
-
import format from "date-fns
|
|
23
|
+
import { format, formatRelative } from "date-fns";
|
|
24
24
|
import filesize from "filesize";
|
|
25
25
|
import copy from "copy-to-clipboard";
|
|
26
26
|
import { useIntentLink } from "sanity/router";
|
|
27
27
|
import { FileIcon as FileIcon$1, defaultStyles } from "react-file-icon";
|
|
28
28
|
import CreatableSelect from "react-select/creatable";
|
|
29
|
-
import formatRelative from "date-fns/formatRelative";
|
|
30
29
|
import { useDropzone } from "react-dropzone";
|
|
31
30
|
function getDefaultExportFromCjs(x) {
|
|
32
31
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x.default : x;
|