@aws-amplify/ui-react 0.0.0-react-19-21905cd-20250108041547 → 0.0.0-react-19-52a3e8f-20250108174520
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.
|
@@ -27,34 +27,15 @@ export type PrimitiveProps<Props extends BaseViewProps, Element extends ElementT
|
|
|
27
27
|
* Modifies return type of `React.ForwardRefRenderFunction`
|
|
28
28
|
* to allow usage in React 16
|
|
29
29
|
*/
|
|
30
|
-
interface
|
|
31
|
-
(props: P, ref: React.ForwardedRef<T>): React.JSX.Element | null;
|
|
32
|
-
displayName?: string | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* defaultProps are not supported on render functions
|
|
35
|
-
*/
|
|
36
|
-
defaultProps?: never | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* propTypes are not supported on render functions
|
|
39
|
-
*/
|
|
40
|
-
propTypes?: never | undefined;
|
|
41
|
-
}
|
|
42
|
-
export interface Primitive<Props extends BaseViewProps, Element extends ElementType> extends JSElementForwardRefRenderFunction<React.ComponentRef<Element>, Props> {
|
|
30
|
+
export interface Primitive<Props extends BaseViewProps, Element extends ElementType> extends React.ForwardRefRenderFunction<React.ComponentRef<Element>, Props> {
|
|
43
31
|
}
|
|
44
32
|
/**
|
|
45
33
|
* @see {React.ForwardRefExoticComponent}
|
|
46
34
|
* Modifies return type of `React.ForwardRefExoticComponent`
|
|
47
35
|
* to allow usage in React 16
|
|
48
36
|
*/
|
|
49
|
-
interface
|
|
50
|
-
(props:
|
|
51
|
-
defaultProps?: Partial<P> | undefined;
|
|
52
|
-
displayName?: string | undefined;
|
|
53
|
-
propTypes?: any;
|
|
54
|
-
readonly $$typeof: symbol;
|
|
55
|
-
}
|
|
56
|
-
export interface ForwardRefPrimitive<Props extends BaseViewProps, DefaultElement extends ElementType> extends JSXElementForwardRefExoticComponent<PrimitiveProps<Props, DefaultElement>> {
|
|
57
|
-
<Element extends ElementType = DefaultElement>(props: PrimitiveProps<Props, Element>): React.ReactElement<Props, Element> | null;
|
|
37
|
+
export interface ForwardRefPrimitive<Props extends BaseViewProps, DefaultElement extends ElementType> extends React.ForwardRefExoticComponent<PrimitiveProps<Props, DefaultElement>> {
|
|
38
|
+
<Element extends ElementType = DefaultElement>(props: PrimitiveProps<Props, Element>): ReturnType<React.ForwardRefExoticComponent<PrimitiveProps<Props, DefaultElement>>>;
|
|
58
39
|
}
|
|
59
40
|
/** @deprecated For internal use only */
|
|
60
41
|
export interface BaseViewProps extends BaseComponentProps, BaseStyleProps, AriaProps {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui-react",
|
|
3
|
-
"version": "0.0.0-react-19-
|
|
3
|
+
"version": "0.0.0-react-19-52a3e8f-20250108174520",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/esm/index.mjs",
|
|
6
6
|
"exports": {
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"typecheck": "tsc --noEmit"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@aws-amplify/ui": "0.0.0-react-19-
|
|
59
|
-
"@aws-amplify/ui-react-core": "0.0.0-react-19-
|
|
58
|
+
"@aws-amplify/ui": "0.0.0-react-19-52a3e8f-20250108174520",
|
|
59
|
+
"@aws-amplify/ui-react-core": "0.0.0-react-19-52a3e8f-20250108174520",
|
|
60
60
|
"@radix-ui/react-direction": "^1.1.0",
|
|
61
61
|
"@radix-ui/react-dropdown-menu": "^2.1.4",
|
|
62
62
|
"@radix-ui/react-slider": "^1.2.2",
|