sanity-plugin-media 2.3.2 → 2.4.1
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/LICENSE +1 -1
- package/dist/index.d.mts +24 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.js +4258 -10783
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5373 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +23 -29
- package/src/components/AssetGridVirtualized/index.tsx +4 -3
- package/src/components/AssetMetadata/index.tsx +2 -2
- package/src/components/AssetTableVirtualized/index.tsx +2 -2
- package/src/components/Browser/index.tsx +2 -2
- package/src/components/ButtonAssetCopy/index.tsx +1 -1
- package/src/components/CardAsset/index.tsx +19 -15
- package/src/components/CardUpload/index.tsx +1 -1
- package/src/components/DebugControls/index.tsx +1 -1
- package/src/components/Dialog/index.tsx +1 -1
- package/src/components/DialogAssetEdit/index.tsx +3 -3
- package/src/components/DialogConfirm/index.tsx +2 -2
- package/src/components/DialogSearchFacets/index.tsx +2 -2
- package/src/components/DialogTagCreate/index.tsx +3 -3
- package/src/components/DialogTagEdit/index.tsx +3 -3
- package/src/components/DialogTags/index.tsx +2 -2
- package/src/components/Dialogs/index.tsx +1 -1
- package/src/components/DocumentList/index.tsx +1 -1
- package/src/components/FileAssetPreview/index.tsx +1 -1
- package/src/components/FileIcon/index.tsx +3 -3
- package/src/components/FormBuilderTool/index.tsx +2 -2
- package/src/components/FormFieldInputLabel/index.tsx +1 -1
- package/src/components/FormFieldInputText/index.tsx +1 -1
- package/src/components/FormFieldInputTextarea/index.tsx +1 -1
- package/src/components/FormSubmitButton/index.tsx +1 -1
- package/src/components/Image/index.tsx +3 -3
- package/src/components/Items/index.tsx +1 -1
- package/src/components/ReduxProvider/index.tsx +4 -4
- package/src/components/SearchFacet/index.tsx +10 -5
- package/src/components/SearchFacetNumber/index.tsx +2 -2
- package/src/components/SearchFacetSelect/index.tsx +2 -2
- package/src/components/SearchFacetString/index.tsx +2 -2
- package/src/components/SearchFacetTags/index.tsx +2 -2
- package/src/components/SearchFacets/index.tsx +2 -2
- package/src/components/SearchFacetsControl/index.tsx +1 -1
- package/src/components/TableHeader/index.tsx +16 -12
- package/src/components/TableRowAsset/index.tsx +15 -3
- package/src/components/Tag/index.tsx +3 -3
- package/src/components/TagsVirtualized/index.tsx +2 -2
- package/src/components/TextInputNumber/index.tsx +1 -1
- package/src/components/TextInputSearch/index.tsx +1 -1
- package/src/components/UploadDropzone/index.tsx +3 -3
- package/src/config/searchFacets.ts +2 -2
- package/src/constants.ts +6 -1
- package/src/contexts/AssetSourceDispatchContext.tsx +1 -1
- package/src/contexts/DropzoneDispatchContext.tsx +1 -1
- package/src/contexts/ToolOptionsContext.tsx +3 -3
- package/src/hooks/useKeyPress.ts +1 -1
- package/src/hooks/useOnScreen.ts +1 -1
- package/src/hooks/usePortalPopoverProps.ts +1 -1
- package/src/hooks/useTypedSelector.ts +2 -2
- package/src/index.ts +1 -1
- package/src/modules/assets/actions.ts +1 -1
- package/src/modules/assets/index.ts +4 -4
- package/src/modules/debug/index.ts +1 -1
- package/src/modules/dialog/index.ts +2 -2
- package/src/modules/index.ts +3 -3
- package/src/modules/notifications/index.ts +2 -2
- package/src/modules/search/index.ts +2 -2
- package/src/modules/selectors.ts +2 -2
- package/src/modules/tags/index.ts +3 -3
- package/src/modules/uploads/index.ts +3 -3
- package/src/operators/checkTagName.ts +1 -1
- package/src/operators/debugThrottle.ts +1 -1
- package/src/plugin.tsx +5 -3
- package/src/styled/react-select/creatable.tsx +11 -3
- package/src/styled/react-select/single.tsx +10 -3
- package/src/types/index.ts +2 -2
- package/src/types/sanity-ui.d.ts +6 -0
- package/src/utils/blocksToText.ts +1 -1
- package/src/utils/constructFilter.ts +1 -1
- package/src/utils/getAssetResolution.ts +1 -1
- package/src/utils/getSchemeColor.ts +1 -1
- package/src/utils/getTagSelectOptions.ts +1 -1
- package/src/utils/getUniqueDocuments.ts +1 -1
- package/src/utils/imageDprUrl.ts +1 -1
- package/src/utils/typeGuards.ts +1 -1
- package/src/utils/uploadSanityAsset.ts +1 -1
- package/dist/index.cjs.mjs +0 -5
- package/dist/index.esm.js +0 -11850
- package/dist/index.esm.js.map +0 -1