@trimble-oss/modus-react-components
Advanced tools
Comparing version 0.2.0-react18 to 0.3.0-react17
@@ -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<import("./utils").StencilReactExternalProps<PropType, ElementType>> & 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<PropType & Omit<React.HTMLAttributes<ElementType>, "style"> & import("./interfaces").StyleReactProps> & 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<StencilReactExternalProps<PropType, ElementType>> & React.RefAttributes<ElementType>>; | ||
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 defineCustomElement: (tagName: string, customElement: any) => void; | ||
export * from './attachProps'; | ||
export * from './case'; |
{ | ||
"name": "@trimble-oss/modus-react-components", | ||
"version": "0.2.0-react18", | ||
"version": "0.3.0-react17", | ||
"description": "Trimble Modus React Component Library", | ||
@@ -36,19 +36,19 @@ "homepage": "https://modus-web-components.trimble.com/", | ||
"dependencies": { | ||
"@trimble-oss/modus-web-components": "0.2.0" | ||
"@trimble-oss/modus-web-components": "0.3.0" | ||
}, | ||
"devDependencies": { | ||
"@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", | ||
"@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", | ||
"typescript": "^4.7.4" | ||
}, | ||
"peerDependencies": { | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0" | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2" | ||
} | ||
} |
@@ -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 [v18.2.0](https://github.com/facebook/react/blob/main/CHANGELOG.md#1820-june-14-2022). | ||
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). | ||
@@ -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
41488
596
+ Added@trimble-oss/modus-web-components@0.3.0(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedreact@17.0.2(transitive)
+ Addedreact-dom@17.0.2(transitive)
+ Addedscheduler@0.20.2(transitive)
- Removed@trimble-oss/modus-web-components@0.2.0(transitive)
- Removedreact@18.3.1(transitive)
- Removedreact-dom@18.3.1(transitive)
- Removedscheduler@0.23.2(transitive)