sanity-plugin-media 2.2.0-beta.1 → 2.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sanity-plugin-media",
3
- "version": "2.2.0-beta.1",
3
+ "version": "2.2.1",
4
4
  "description": "This version of `sanity-plugin-media` is for Sanity Studio V3.",
5
5
  "keywords": [
6
6
  "sanity",
@@ -62,8 +62,8 @@
62
62
  "@tanem/react-nprogress": "^5.0.0",
63
63
  "copy-to-clipboard": "^3.3.1",
64
64
  "date-fns": "^2.27.0",
65
- "filesize": "^8.0.7",
66
- "groq": "^2.29.3",
65
+ "filesize": "^9.0.0",
66
+ "groq": "^3.0.0",
67
67
  "is-hotkey": "^0.2.0",
68
68
  "nanoid": "^3.3.3",
69
69
  "pluralize": "^8.0.0",
@@ -17,7 +17,7 @@ type Props = {
17
17
  type Ref = HTMLTextAreaElement
18
18
 
19
19
  const FormFieldInputTextarea = forwardRef<Ref, Props>((props: Props, ref) => {
20
- const {description, disabled, error, label, name, placeholder, rows, value} = props
20
+ const {description, disabled, error, label, name, placeholder, rows, value, ...rest} = props
21
21
 
22
22
  return (
23
23
  <Box>
@@ -26,6 +26,7 @@ const FormFieldInputTextarea = forwardRef<Ref, Props>((props: Props, ref) => {
26
26
 
27
27
  {/* Input */}
28
28
  <TextArea
29
+ {...rest}
29
30
  autoComplete="off"
30
31
  defaultValue={value}
31
32
  disabled={disabled}