@sanity/ui 2.5.0 → 2.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/ui",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "keywords": [
5
5
  "sanity",
6
6
  "ui",
@@ -21,6 +21,10 @@ import {ResponsiveRadiusProps} from '../types'
21
21
  * @public
22
22
  */
23
23
  export interface TextAreaProps extends ResponsiveRadiusProps {
24
+ /**
25
+ * @beta
26
+ */
27
+ __unstable_disableFocusRing?: boolean
24
28
  border?: boolean
25
29
  customValidity?: string
26
30
  fontSize?: number | number[]
@@ -66,6 +70,7 @@ export const TextArea = forwardRef(function TextArea(
66
70
  padding = 3,
67
71
  radius = 2,
68
72
  weight,
73
+ __unstable_disableFocusRing,
69
74
  ...restProps
70
75
  } = props
71
76
 
@@ -99,6 +104,7 @@ export const TextArea = forwardRef(function TextArea(
99
104
  />
100
105
  <Presentation
101
106
  $radius={useArrayProp(radius)}
107
+ $unstableDisableFocusRing={__unstable_disableFocusRing}
102
108
  $scheme={rootTheme.scheme}
103
109
  $tone={rootTheme.tone}
104
110
  data-border={border ? '' : undefined}