@duetds/react 4.35.1 → 4.35.4
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/commonjs/components.d.ts +58 -58
- package/commonjs/components.js +61 -60
- package/commonjs/components.js.map +1 -1
- package/commonjs/index.js +5 -1
- package/commonjs/index.js.map +1 -1
- package/commonjs/react-component-lib/createComponent.d.ts +1 -1
- package/commonjs/react-component-lib/createComponent.js +10 -7
- package/commonjs/react-component-lib/createComponent.js.map +1 -1
- package/commonjs/react-component-lib/createOverlayComponent.js +10 -7
- package/commonjs/react-component-lib/createOverlayComponent.js.map +1 -1
- package/commonjs/react-component-lib/utils/attachProps.js +13 -9
- package/commonjs/react-component-lib/utils/attachProps.js.map +1 -1
- package/commonjs/react-component-lib/utils/case.js +5 -3
- package/commonjs/react-component-lib/utils/case.js.map +1 -1
- package/commonjs/react-component-lib/utils/dev.js +5 -3
- package/commonjs/react-component-lib/utils/dev.js.map +1 -1
- package/commonjs/react-component-lib/utils/index.d.ts +1 -1
- package/commonjs/react-component-lib/utils/index.js +9 -3
- package/commonjs/react-component-lib/utils/index.js.map +1 -1
- package/lib/components.d.ts +58 -58
- package/lib/react-component-lib/createComponent.d.ts +1 -1
- package/lib/react-component-lib/utils/index.d.ts +1 -1
- package/package.json +13 -13
|
@@ -6,5 +6,5 @@ interface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<El
|
|
|
6
6
|
forwardedRef: React.RefObject<ElementType>;
|
|
7
7
|
ref?: React.Ref<any>;
|
|
8
8
|
}
|
|
9
|
-
export declare const createReactComponent: <PropType, ElementType extends HTMLStencilElement, ContextStateType = {}, ExpandedPropsTypes = {}>(tagName: string, ReactComponentContext?: React.Context<ContextStateType>, manipulatePropsFunction?: (originalProps: StencilReactInternalProps<ElementType>, propsToPass: any) => ExpandedPropsTypes) => React.ForwardRefExoticComponent<React.PropsWithoutRef<import("./
|
|
9
|
+
export declare const createReactComponent: <PropType, ElementType extends HTMLStencilElement, ContextStateType = {}, ExpandedPropsTypes = {}>(tagName: string, ReactComponentContext?: React.Context<ContextStateType>, manipulatePropsFunction?: (originalProps: StencilReactInternalProps<ElementType>, propsToPass: any) => ExpandedPropsTypes) => React.ForwardRefExoticComponent<React.PropsWithoutRef<PropType & Omit<React.HTMLAttributes<ElementType>, "style"> & import("./interfaces").StyleReactProps> & React.RefAttributes<ElementType>>;
|
|
10
10
|
export {};
|
|
@@ -2,6 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import type { StyleReactProps } from '../interfaces';
|
|
3
3
|
export declare type StencilReactExternalProps<PropType, ElementType> = PropType & Omit<React.HTMLAttributes<ElementType>, 'style'> & StyleReactProps;
|
|
4
4
|
export declare const mergeRefs: <ElementType>(...refs: React.Ref<ElementType>[]) => (value: ElementType) => void;
|
|
5
|
-
export declare const createForwardRef: <PropType, ElementType>(ReactComponent: any, displayName: string) => React.ForwardRefExoticComponent<React.PropsWithoutRef<
|
|
5
|
+
export declare const createForwardRef: <PropType, ElementType>(ReactComponent: any, displayName: string) => React.ForwardRefExoticComponent<React.PropsWithoutRef<PropType & Omit<React.HTMLAttributes<ElementType>, "style"> & StyleReactProps> & React.RefAttributes<ElementType>>;
|
|
6
6
|
export * from './attachProps';
|
|
7
7
|
export * from './case';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duetds/react",
|
|
3
|
-
"version": "4.35.
|
|
3
|
+
"version": "4.35.4",
|
|
4
4
|
"description": "This package includes React specific wrapper for Duet Design System Web Components.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "LocalTapiola Services Ltd <duetdesignsystem@lahitapiola.fi>",
|
|
@@ -20,24 +20,24 @@
|
|
|
20
20
|
"tsc": "tsc -p ./tsconfig.es2015.json && tsc -p ./tsconfig.commonjs.json"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@duetds/components": "4.35.
|
|
23
|
+
"@duetds/components": "4.35.4"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@stencil/core": "2.
|
|
27
|
-
"@types/node": "
|
|
28
|
-
"@types/react": "
|
|
29
|
-
"@types/react-dom": "
|
|
30
|
-
"np": "
|
|
31
|
-
"react": "
|
|
32
|
-
"react-dom": "
|
|
33
|
-
"typescript": "4.
|
|
26
|
+
"@stencil/core": "2.14.0",
|
|
27
|
+
"@types/node": "17.0.21",
|
|
28
|
+
"@types/react": "17.0.39",
|
|
29
|
+
"@types/react-dom": "17.0.12",
|
|
30
|
+
"np": "7.6.0",
|
|
31
|
+
"react": "17.0.2",
|
|
32
|
+
"react-dom": "17.0.2",
|
|
33
|
+
"typescript": "4.6.2"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"react": "
|
|
37
|
-
"react-dom": "
|
|
36
|
+
"react": "17.0.2",
|
|
37
|
+
"react-dom": "17.0.2"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "1f56f80a6a6e196d94212f538634d8eda80deaf5"
|
|
43
43
|
}
|