react-magma-dom 4.7.0-next.23 → 4.7.0-next.25
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/dist/components/Select/shared.d.ts +5 -0
- package/dist/components/TreeView/useTreeItem.d.ts +0 -5
- package/dist/components/TreeView/useTreeView.d.ts +2 -1
- package/dist/components/TreeView/utils.d.ts +1 -0
- package/dist/esm/index.js +111 -49
- package/dist/esm/index.js.map +1 -1
- package/dist/properties.json +102 -82
- package/dist/react-magma-dom.cjs.development.js +109 -46
- package/dist/react-magma-dom.cjs.development.js.map +1 -1
- package/dist/react-magma-dom.cjs.production.min.js +1 -1
- package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
- package/dist/utils/index.d.ts +7 -0
- package/package.json +1 -1
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export declare function generateId(id?: string): string;
|
|
2
3
|
export declare function useGenerateId(newId?: string): string;
|
|
3
4
|
export declare function omit(props: any, obj: any): any;
|
|
@@ -32,4 +33,10 @@ declare type ResolvedProps = {
|
|
|
32
33
|
* @returns {Person} resolved props
|
|
33
34
|
*/
|
|
34
35
|
export declare function resolveProps(defaultProps: object, props: object): ResolvedProps;
|
|
36
|
+
/**
|
|
37
|
+
* Convert ReactNode to string
|
|
38
|
+
* @param {object} defaultProps
|
|
39
|
+
* @returns string
|
|
40
|
+
*/
|
|
41
|
+
export declare const reactNodeToString: (node: React.ReactNode) => string;
|
|
35
42
|
export {};
|