@sanity/ui 2.5.0 → 2.6.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/dist/index.d.mts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.esm.js +2 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/core/components/menu/menuGroup.tsx +2 -2
- package/src/core/primitives/textArea/textArea.tsx +6 -0
package/dist/index.d.mts
CHANGED
|
@@ -1378,8 +1378,8 @@ export declare const MenuDivider: IStyledComponentBase<
|
|
|
1378
1378
|
* @public
|
|
1379
1379
|
*/
|
|
1380
1380
|
export declare function MenuGroup(
|
|
1381
|
-
props:
|
|
1382
|
-
|
|
1381
|
+
props: Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'height' | 'popover' | 'ref' | 'tabIndex'> &
|
|
1382
|
+
MenuGroupProps,
|
|
1383
1383
|
): React.ReactElement
|
|
1384
1384
|
|
|
1385
1385
|
/**
|
|
@@ -2123,6 +2123,10 @@ export declare const TextArea: ForwardRefExoticComponent<
|
|
|
2123
2123
|
* @public
|
|
2124
2124
|
*/
|
|
2125
2125
|
export declare interface TextAreaProps extends ResponsiveRadiusProps {
|
|
2126
|
+
/**
|
|
2127
|
+
* @beta
|
|
2128
|
+
*/
|
|
2129
|
+
__unstable_disableFocusRing?: boolean
|
|
2126
2130
|
border?: boolean
|
|
2127
2131
|
customValidity?: string
|
|
2128
2132
|
fontSize?: number | number[]
|
package/dist/index.d.ts
CHANGED
|
@@ -1378,8 +1378,8 @@ export declare const MenuDivider: IStyledComponentBase<
|
|
|
1378
1378
|
* @public
|
|
1379
1379
|
*/
|
|
1380
1380
|
export declare function MenuGroup(
|
|
1381
|
-
props:
|
|
1382
|
-
|
|
1381
|
+
props: Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'height' | 'popover' | 'ref' | 'tabIndex'> &
|
|
1382
|
+
MenuGroupProps,
|
|
1383
1383
|
): React.ReactElement
|
|
1384
1384
|
|
|
1385
1385
|
/**
|
|
@@ -2123,6 +2123,10 @@ export declare const TextArea: ForwardRefExoticComponent<
|
|
|
2123
2123
|
* @public
|
|
2124
2124
|
*/
|
|
2125
2125
|
export declare interface TextAreaProps extends ResponsiveRadiusProps {
|
|
2126
|
+
/**
|
|
2127
|
+
* @beta
|
|
2128
|
+
*/
|
|
2129
|
+
__unstable_disableFocusRing?: boolean
|
|
2126
2130
|
border?: boolean
|
|
2127
2131
|
customValidity?: string
|
|
2128
2132
|
fontSize?: number | number[]
|
package/dist/index.esm.js
CHANGED
|
@@ -3986,6 +3986,7 @@ const Root$d = styled.span(switchBaseStyles), Input$2 = styled.input(switchInput
|
|
|
3986
3986
|
padding = 3,
|
|
3987
3987
|
radius = 2,
|
|
3988
3988
|
weight,
|
|
3989
|
+
__unstable_disableFocusRing,
|
|
3989
3990
|
...restProps
|
|
3990
3991
|
} = props, ref = useRef(null), rootTheme = useRootTheme();
|
|
3991
3992
|
return useImperativeHandle(
|
|
@@ -4013,6 +4014,7 @@ const Root$d = styled.span(switchBaseStyles), Input$2 = styled.input(switchInput
|
|
|
4013
4014
|
Presentation$1,
|
|
4014
4015
|
{
|
|
4015
4016
|
$radius: useArrayProp(radius),
|
|
4017
|
+
$unstableDisableFocusRing: __unstable_disableFocusRing,
|
|
4016
4018
|
$scheme: rootTheme.scheme,
|
|
4017
4019
|
$tone: rootTheme.tone,
|
|
4018
4020
|
"data-border": border2 ? "" : void 0,
|