@trimble-oss/modus-react-components
Advanced tools
Comparing version 0.24.1-react17 to 0.24.1-react18
@@ -9,3 +9,3 @@ import React from 'react'; | ||
} | ||
export declare const createReactComponent: <PropType, ElementType extends HTMLStencilElement, ContextStateType = {}, ExpandedPropsTypes = {}>(tagName: string, ReactComponentContext?: React.Context<ContextStateType>, manipulatePropsFunction?: (originalProps: StencilReactInternalProps<ElementType>, propsToPass: any) => ExpandedPropsTypes, defineCustomElement?: () => void) => React.ForwardRefExoticComponent<React.PropsWithoutRef<PropType & Omit<React.HTMLAttributes<ElementType>, "style"> & import("./interfaces").StyleReactProps> & React.RefAttributes<ElementType>>; | ||
export declare const createReactComponent: <PropType, ElementType extends HTMLStencilElement, ContextStateType = {}, ExpandedPropsTypes = {}>(tagName: string, ReactComponentContext?: React.Context<ContextStateType>, manipulatePropsFunction?: (originalProps: StencilReactInternalProps<ElementType>, propsToPass: any) => ExpandedPropsTypes, defineCustomElement?: () => void) => React.ForwardRefExoticComponent<React.PropsWithoutRef<import("./utils").StencilReactExternalProps<PropType, ElementType>> & React.RefAttributes<ElementType>>; | ||
export {}; |
@@ -7,5 +7,5 @@ import React from 'react'; | ||
export declare const mergeRefs: (...refs: (StencilReactForwardedRef<any> | React.Ref<any> | undefined)[]) => React.RefCallback<any>; | ||
export declare const createForwardRef: <PropType, ElementType>(ReactComponent: any, displayName: string) => React.ForwardRefExoticComponent<React.PropsWithoutRef<PropType & Omit<React.HTMLAttributes<ElementType>, "style"> & StyleReactProps> & React.RefAttributes<ElementType>>; | ||
export declare const createForwardRef: <PropType, ElementType>(ReactComponent: any, displayName: string) => React.ForwardRefExoticComponent<React.PropsWithoutRef<StencilReactExternalProps<PropType, ElementType>> & React.RefAttributes<ElementType>>; | ||
export declare const defineCustomElement: (tagName: string, customElement: any) => void; | ||
export * from './attachProps'; | ||
export * from './case'; |
{ | ||
"name": "@trimble-oss/modus-react-components", | ||
"version": "0.24.1-react17", | ||
"version": "0.24.1-react18", | ||
"description": "Trimble Modus React Component Library", | ||
@@ -39,16 +39,16 @@ "homepage": "https://modus-web-components.trimble.com/", | ||
"devDependencies": { | ||
"@types/jest": "23.3.9", | ||
"@types/node": "^15.12.2", | ||
"@types/react": "^17.0.34", | ||
"@types/react-dom": "^17.0.11", | ||
"jest": "^28.1.1", | ||
"jest-dom": "^3.0.2", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"@types/jest": "23.3.14", | ||
"@types/node": "^15.14.9", | ||
"@types/react": "^18.2.21", | ||
"@types/react-dom": "^18.2.7", | ||
"jest": "^28.1.3", | ||
"jest-dom": "^3.5.0", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"typescript": "^4.7.4" | ||
}, | ||
"peerDependencies": { | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2" | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # Modus React Components | ||
This is a React wrapper library for [Modus Web Components](https://www.npmjs.com/package/@trimble-oss/modus-web-components) and the components were programmatically generated using the [Stencil](https://stenciljs.com/docs/react) for React Integration [v17.0.2](https://github.com/facebook/react/blob/main/CHANGELOG.md#1702-march-22-2021). | ||
This is a React wrapper library for [Modus Web Components](https://www.npmjs.com/package/@trimble-oss/modus-web-components) and the components were programmatically generated using the [Stencil](https://stenciljs.com/docs/react) for React Integration [v18.2.0](https://github.com/facebook/react/blob/main/CHANGELOG.md#1820-june-14-2022). | ||
@@ -8,0 +8,0 @@ ## Installation |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44354
615