@trimble-oss/modus-react-components
Advanced tools
Comparing version 0.1.45-18 to 0.1.46-react17
@@ -28,5 +28,7 @@ /* eslint-disable */ | ||
export const ModusNavbarAppsMenu = /*@__PURE__*/ createReactComponent('modus-navbar-apps-menu'); | ||
export const ModusNavbarButtonMenu = /*@__PURE__*/ createReactComponent('modus-navbar-button-menu'); | ||
export const ModusNavbarMainMenu = /*@__PURE__*/ createReactComponent('modus-navbar-main-menu'); | ||
export const ModusNavbarNotificationsMenu = /*@__PURE__*/ createReactComponent('modus-navbar-notifications-menu'); | ||
export const ModusNavbarProfileMenu = /*@__PURE__*/ createReactComponent('modus-navbar-profile-menu'); | ||
export const ModusNavbarSearchOverlay = /*@__PURE__*/ createReactComponent('modus-navbar-search-overlay'); | ||
export const ModusNumberInput = /*@__PURE__*/ createReactComponent('modus-number-input'); | ||
@@ -33,0 +35,0 @@ export const ModusPagination = /*@__PURE__*/ createReactComponent('modus-pagination'); |
@@ -24,5 +24,7 @@ /// <reference types="react" /> | ||
export declare const ModusNavbarAppsMenu: import("react").ForwardRefExoticComponent<JSX.ModusNavbarAppsMenu & Omit<import("react").HTMLAttributes<HTMLModusNavbarAppsMenuElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLModusNavbarAppsMenuElement>>; | ||
export declare const ModusNavbarButtonMenu: import("react").ForwardRefExoticComponent<JSX.ModusNavbarButtonMenu & Omit<import("react").HTMLAttributes<HTMLModusNavbarButtonMenuElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLModusNavbarButtonMenuElement>>; | ||
export declare const ModusNavbarMainMenu: import("react").ForwardRefExoticComponent<JSX.ModusNavbarMainMenu & Omit<import("react").HTMLAttributes<HTMLModusNavbarMainMenuElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLModusNavbarMainMenuElement>>; | ||
export declare const ModusNavbarNotificationsMenu: import("react").ForwardRefExoticComponent<JSX.ModusNavbarNotificationsMenu & Omit<import("react").HTMLAttributes<HTMLModusNavbarNotificationsMenuElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLModusNavbarNotificationsMenuElement>>; | ||
export declare const ModusNavbarProfileMenu: import("react").ForwardRefExoticComponent<JSX.ModusNavbarProfileMenu & Omit<import("react").HTMLAttributes<HTMLModusNavbarProfileMenuElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLModusNavbarProfileMenuElement>>; | ||
export declare const ModusNavbarSearchOverlay: import("react").ForwardRefExoticComponent<JSX.ModusNavbarSearchOverlay & Omit<import("react").HTMLAttributes<HTMLModusNavbarSearchOverlayElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLModusNavbarSearchOverlayElement>>; | ||
export declare const ModusNumberInput: import("react").ForwardRefExoticComponent<JSX.ModusNumberInput & Omit<import("react").HTMLAttributes<HTMLModusNumberInputElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLModusNumberInputElement>>; | ||
@@ -29,0 +31,0 @@ export declare const ModusPagination: import("react").ForwardRefExoticComponent<JSX.ModusPagination & Omit<import("react").HTMLAttributes<HTMLModusPaginationElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLModusPaginationElement>>; |
@@ -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 {}; |
import React from 'react'; | ||
import type { StyleReactProps } from '../interfaces'; | ||
export type StencilReactExternalProps<PropType, ElementType> = PropType & Omit<React.HTMLAttributes<ElementType>, 'style'> & StyleReactProps; | ||
export type StencilReactForwardedRef<T> = ((instance: T | null) => void) | React.MutableRefObject<T | null> | null; | ||
export declare type StencilReactExternalProps<PropType, ElementType> = PropType & Omit<React.HTMLAttributes<ElementType>, 'style'> & StyleReactProps; | ||
export declare type StencilReactForwardedRef<T> = ((instance: T | null) => void) | React.MutableRefObject<T | null> | null; | ||
export declare const setRef: (ref: StencilReactForwardedRef<any> | React.Ref<any> | undefined, value: any) => void; | ||
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.1.45-18", | ||
"version": "0.1.46-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.1.45" | ||
"@trimble-oss/modus-web-components": "0.1.46" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "23.3.14", | ||
"@types/node": "^15.14.9", | ||
"@types/react": "^18.2.13", | ||
"@types/react-dom": "^18.2.6", | ||
"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 |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
38652
564
0
+ Added@trimble-oss/modus-web-components@0.1.46(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.1.45(transitive)
- Removedreact@18.3.1(transitive)
- Removedreact-dom@18.3.1(transitive)
- Removedscheduler@0.23.2(transitive)