@meonode/ui 0.1.93 → 0.1.94
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.
|
@@ -1,41 +1,66 @@
|
|
|
1
|
-
import type { ComponentNode, NodeElement } from '../node.type';
|
|
2
|
-
import type
|
|
1
|
+
import type { ComponentNode, HasCSSCompatibleStyleProp, NodeElement, Theme } from '../node.type';
|
|
2
|
+
import { type CSSProperties, type ReactNode } from 'react';
|
|
3
3
|
/**
|
|
4
|
-
* Props for
|
|
4
|
+
* Props definition for components wrapped using the `Component` higher-order function.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
6
|
+
* This type adapts based on whether the underlying component defines its own props:
|
|
7
|
+
*
|
|
8
|
+
* - If `TProps` is `undefined`, only `children` and `theme` can be passed.
|
|
9
|
+
* - If `TProps` is defined, the component will accept:
|
|
10
|
+
* - The full prop shape `TProps`
|
|
11
|
+
* - Optional `props` to override part of `TProps` (excluding `children`)
|
|
12
|
+
* - Optional `children`
|
|
13
|
+
* - Optional `theme`
|
|
14
|
+
*
|
|
15
|
+
* If the component supports inline styles (determined via `HasCSSCompatibleStyleProp`), the props also allow `CSSProperties`.
|
|
8
16
|
*/
|
|
9
|
-
type ComponentProps<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} :
|
|
13
|
-
props
|
|
14
|
-
children
|
|
15
|
-
|
|
17
|
+
type ComponentProps<TProps> = TProps extends undefined ? Partial<{
|
|
18
|
+
children: NodeElement | NodeElement[];
|
|
19
|
+
theme: Theme;
|
|
20
|
+
}> : TProps & (HasCSSCompatibleStyleProp<TProps> extends true ? CSSProperties : object) & Partial<{
|
|
21
|
+
props: Partial<Omit<TProps, 'children'>>;
|
|
22
|
+
children: NodeElement | NodeElement[];
|
|
23
|
+
theme: Theme;
|
|
24
|
+
}>;
|
|
16
25
|
/**
|
|
17
|
-
*
|
|
18
|
-
*
|
|
26
|
+
* Creates a component from a function that uses no custom props.
|
|
27
|
+
* @template TProps Must be `undefined`
|
|
28
|
+
* @param component A function that returns a MeoNode `ComponentNode` and only uses basic props like `children` and `theme`.
|
|
29
|
+
* @returns A React-compatible component that can accept `children` and `theme`.
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* const Title = Component((props) => {
|
|
33
|
+
* return H1({
|
|
34
|
+
* children: props.children,
|
|
35
|
+
* })
|
|
36
|
+
* })
|
|
19
37
|
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
*
|
|
26
|
-
* @
|
|
27
|
-
* @
|
|
38
|
+
* <Title theme={{ color: 'red' }}>Hello</Title>
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare function Component<TProps extends undefined>(component: <TActualProps extends TProps = TProps>(props: ComponentProps<TActualProps>) => ComponentNode): <TActualProps extends TProps = TProps>(props?: ComponentProps<TActualProps>) => ReactNode | Promise<Awaited<ReactNode>>;
|
|
42
|
+
/**
|
|
43
|
+
* Creates a component from a function that uses a defined props interface.
|
|
44
|
+
* @template TProps Props interface expected by the component.
|
|
45
|
+
* @param component A function that returns a MeoNode `ComponentNode` using props of type `TProps`.
|
|
46
|
+
* @returns A React-compatible component that supports full prop shape and `theme`/`children`/`props` overrides.
|
|
28
47
|
* @example
|
|
29
48
|
* ```ts
|
|
30
|
-
*
|
|
31
|
-
*
|
|
49
|
+
* interface ButtonProps {
|
|
50
|
+
* label: string
|
|
51
|
+
* onClick: () => void
|
|
52
|
+
* }
|
|
53
|
+
*
|
|
54
|
+
* const Button = Component<ButtonProps>((props) => {
|
|
32
55
|
* return Div({
|
|
33
|
-
*
|
|
56
|
+
* children: props.label,
|
|
57
|
+
* onClick: props.onClick,
|
|
34
58
|
* })
|
|
35
59
|
* })
|
|
60
|
+
*
|
|
61
|
+
* <Button label="Click me" onClick={() => alert('clicked')} />
|
|
36
62
|
* ```
|
|
37
63
|
*/
|
|
38
|
-
export declare function Component<
|
|
39
|
-
export declare function Component<P extends Record<string, any>>(component: (props: ComponentProps<P>) => ComponentNode): (props: ComponentProps<P>) => ReactNode;
|
|
64
|
+
export declare function Component<TProps extends Record<string, any>>(component: <TActualProps extends TProps = TProps>(props: ComponentProps<TActualProps>) => ComponentNode): <TActualProps extends TProps = TProps>(props: ComponentProps<TActualProps>) => ReactNode | Promise<Awaited<ReactNode>>;
|
|
40
65
|
export {};
|
|
41
66
|
//# sourceMappingURL=component.hoc.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.hoc.d.ts","sourceRoot":"","sources":["../../src/hoc/component.hoc.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"component.hoc.d.ts","sourceRoot":"","sources":["../../src/hoc/component.hoc.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,yBAAyB,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAClG,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAE1D;;;;;;;;;;;;;GAaG;AACH,KAAK,cAAc,CAAC,MAAM,IAAI,MAAM,SAAS,SAAS,GAClD,OAAO,CAAC;IACN,QAAQ,EAAE,WAAW,GAAG,WAAW,EAAE,CAAA;IACrC,KAAK,EAAE,KAAK,CAAA;CACb,CAAC,GACF,MAAM,GACJ,CAAC,yBAAyB,CAAC,MAAM,CAAC,SAAS,IAAI,GAAG,aAAa,GAAG,MAAM,CAAC,GACzE,OAAO,CAAC;IACN,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAA;IACxC,QAAQ,EAAE,WAAW,GAAG,WAAW,EAAE,CAAA;IACrC,KAAK,EAAE,KAAK,CAAA;CACb,CAAC,CAAA;AAER;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,SAAS,CAAC,MAAM,SAAS,SAAS,EAChD,SAAS,EAAE,CAAC,YAAY,SAAS,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,cAAc,CAAC,YAAY,CAAC,KAAK,aAAa,GACtG,CAAC,YAAY,SAAS,MAAM,GAAG,MAAM,EAAE,KAAK,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,KAAK,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAA;AAE1H;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,SAAS,CAAC,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1D,SAAS,EAAE,CAAC,YAAY,SAAS,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,cAAc,CAAC,YAAY,CAAC,KAAK,aAAa,GACtG,CAAC,YAAY,SAAS,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,cAAc,CAAC,YAAY,CAAC,KAAK,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAA"}
|
|
@@ -1,34 +1,53 @@
|
|
|
1
1
|
"use strict";function _typeof(a){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_typeof(a)}function ownKeys(a,b){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);b&&(d=d.filter(function(b){return Object.getOwnPropertyDescriptor(a,b).enumerable})),c.push.apply(c,d)}return c}function _objectSpread(a){for(var b,c=1;c<arguments.length;c++)b=null==arguments[c]?{}:arguments[c],c%2?ownKeys(Object(b),!0).forEach(function(c){_defineProperty(a,c,b[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(b)):ownKeys(Object(b)).forEach(function(c){Object.defineProperty(a,c,Object.getOwnPropertyDescriptor(b,c))});return a}function _defineProperty(a,b,c){return(b=_toPropertyKey(b))in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function _toPropertyKey(a){var b=_toPrimitive(a,"string");return"symbol"==_typeof(b)?b:b+""}function _toPrimitive(a,b){if("object"!=_typeof(a)||!a)return a;var c=a[Symbol.toPrimitive];if(void 0!==c){var d=c.call(a,b||"default");if("object"!=_typeof(d))return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===b?String:Number)(a)}import{BaseNode,Node}from"../core.node";/**
|
|
2
|
-
* Props for
|
|
2
|
+
* Props definition for components wrapped using the `Component` higher-order function.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* This type adapts based on whether the underlying component defines its own props:
|
|
5
|
+
*
|
|
6
|
+
* - If `TProps` is `undefined`, only `children` and `theme` can be passed.
|
|
7
|
+
* - If `TProps` is defined, the component will accept:
|
|
8
|
+
* - The full prop shape `TProps`
|
|
9
|
+
* - Optional `props` to override part of `TProps` (excluding `children`)
|
|
10
|
+
* - Optional `children`
|
|
11
|
+
* - Optional `theme`
|
|
12
|
+
*
|
|
13
|
+
* If the component supports inline styles (determined via `HasCSSCompatibleStyleProp`), the props also allow `CSSProperties`.
|
|
6
14
|
*//**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
15
|
+
* Creates a component from a function that uses no custom props.
|
|
16
|
+
* @template TProps Must be `undefined`
|
|
17
|
+
* @param component A function that returns a MeoNode `ComponentNode` and only uses basic props like `children` and `theme`.
|
|
18
|
+
* @returns A React-compatible component that can accept `children` and `theme`.
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const Title = Component((props) => {
|
|
22
|
+
* return H1({
|
|
23
|
+
* children: props.children,
|
|
24
|
+
* })
|
|
25
|
+
* })
|
|
9
26
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* @
|
|
16
|
-
* @
|
|
17
|
-
* @returns A React function component that handles BaseNode conversion and theme propagation
|
|
27
|
+
* <Title theme={{ color: 'red' }}>Hello</Title>
|
|
28
|
+
* ```
|
|
29
|
+
*//**
|
|
30
|
+
* Creates a component from a function that uses a defined props interface.
|
|
31
|
+
* @template TProps Props interface expected by the component.
|
|
32
|
+
* @param component A function that returns a MeoNode `ComponentNode` using props of type `TProps`.
|
|
33
|
+
* @returns A React-compatible component that supports full prop shape and `theme`/`children`/`props` overrides.
|
|
18
34
|
* @example
|
|
19
35
|
* ```ts
|
|
20
|
-
*
|
|
21
|
-
*
|
|
36
|
+
* interface ButtonProps {
|
|
37
|
+
* label: string
|
|
38
|
+
* onClick: () => void
|
|
39
|
+
* }
|
|
40
|
+
*
|
|
41
|
+
* const Button = Component<ButtonProps>((props) => {
|
|
22
42
|
* return Div({
|
|
23
|
-
*
|
|
43
|
+
* children: props.label,
|
|
44
|
+
* onClick: props.onClick,
|
|
24
45
|
* })
|
|
25
46
|
* })
|
|
47
|
+
*
|
|
48
|
+
* <Button label="Click me" onClick={() => alert('clicked')} />
|
|
26
49
|
* ```
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/// Create a wrapper component that handles theme and rendering
|
|
32
|
-
var b=function Renderer(){var b=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},c=a(b);// Execute wrapped component
|
|
33
|
-
// Handle BaseNode results - requires special processing
|
|
34
|
-
if(c instanceof BaseNode){var d,e;return Node(c.element,_objectSpread(_objectSpread({},c.rawProps),{},{nodetheme:(null===(d=c.rawProps)||void 0===d?void 0:d.nodetheme)||(null===(e=c.rawProps)||void 0===e?void 0:e.theme)||b.nodetheme||b.theme})).render()}return c};return function Func(a){return Node(b,a).render()}}
|
|
50
|
+
*//**
|
|
51
|
+
* Internal implementation of the `Component` HOC.
|
|
52
|
+
* Handles theme propagation, BaseNode conversion, and wrapper creation.
|
|
53
|
+
*/export function Component(a){var b=function Renderer(b){var c=a(b);if(c instanceof BaseNode){var d,e,f=(null===(d=c.rawProps)||void 0===d?void 0:d.nodetheme)||(null===(e=c.rawProps)||void 0===e?void 0:e.theme)||b.nodetheme||b.theme;return Node(c.element,_objectSpread(_objectSpread({},c.rawProps),{},{nodetheme:f})).render()}return c};return function Func(){var a=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};return Node(b,a).render()}}
|
package/dist/node.type.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Root as ReactDOMRoot } from 'react-dom/client';
|
|
|
4
4
|
* Union type representing any valid node element in the system.
|
|
5
5
|
* Includes React nodes, component types, node instances, and function-based nodes.
|
|
6
6
|
*/
|
|
7
|
-
export type NodeElement = ReactNode | Component<any, any, any> | ElementType | ComponentType<any> | NodeInstance<any> | ((props?: any) => ReactNode | Promise<ReactNode
|
|
7
|
+
export type NodeElement = ReactNode | Promise<Awaited<ReactNode>> | Component<any, any, any> | ElementType | ComponentType<any> | NodeInstance<any> | ((props?: any) => ReactNode | Promise<Awaited<ReactNode>> | Component<any, any, any> | NodeInstance<any> | ComponentNode);
|
|
8
8
|
/**
|
|
9
9
|
* Defines valid child types that can be passed to a node:
|
|
10
10
|
* - ReactNode: Any valid React child (elements, strings, numbers, etc.)
|
|
@@ -12,7 +12,7 @@ export type NodeElement = ReactNode | Component<any, any, any> | ElementType | C
|
|
|
12
12
|
* - NodeInstance: Other node instances in the tree
|
|
13
13
|
* - Function: Lazy child evaluation, useful for conditional rendering and hooks
|
|
14
14
|
*/
|
|
15
|
-
export type Children = ReactNode | Component<any> | NodeElement | NodeInstance<any> | ComponentNode;
|
|
15
|
+
export type Children = ReactNode | Promise<Awaited<ReactNode>> | Component<any> | NodeElement | NodeInstance<any> | ComponentNode;
|
|
16
16
|
/**
|
|
17
17
|
* Forward declaration of the BaseNode interface to avoid circular dependencies.
|
|
18
18
|
* Defines the core structure and capabilities of a BaseNode instance.
|
|
@@ -67,7 +67,7 @@ export type FinalNodeProps = ReactAttributes & {
|
|
|
67
67
|
* that is compatible with CSSProperties.
|
|
68
68
|
* @template P - The props object of a component (e.g., PropsOf<E>)
|
|
69
69
|
*/
|
|
70
|
-
type HasCSSCompatibleStyleProp<P> = P extends {
|
|
70
|
+
export type HasCSSCompatibleStyleProp<P> = P extends {
|
|
71
71
|
style?: infer S;
|
|
72
72
|
} ? S extends CSSProperties | undefined ? true : false : false;
|
|
73
73
|
/**
|
|
@@ -153,5 +153,4 @@ export type PortalLauncher<P extends BasePortalProps | Record<string, any>> = P
|
|
|
153
153
|
*/
|
|
154
154
|
| NodeInstance<any>[];
|
|
155
155
|
} & Omit<PortalProps<P>, 'portal'>) => ReactDOMRoot | null;
|
|
156
|
-
export {};
|
|
157
156
|
//# sourceMappingURL=node.type.d.ts.map
|
package/dist/node.type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.type.d.ts","sourceRoot":"","sources":["../src/node.type.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,UAAU,IAAI,eAAe,EAC7B,cAAc,EACd,aAAa,EACb,SAAS,EACT,GAAG,EACH,WAAW,EACX,aAAa,EACb,qBAAqB,EACrB,SAAS,EACT,GAAG,EACJ,MAAM,OAAO,CAAA;AACd,OAAO,KAAK,EAAE,IAAI,IAAI,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAE5D;;;GAGG;AACH,MAAM,MAAM,WAAW,GACnB,SAAS,GACT,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,GACxB,WAAW,GACX,aAAa,CAAC,GAAG,CAAC,GAClB,YAAY,CAAC,GAAG,CAAC,GACjB,CAAC,CAAC,KAAK,CAAC,EAAE,GAAG,KAAK,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,GAAG,YAAY,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"node.type.d.ts","sourceRoot":"","sources":["../src/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ACzD,MAAM,EAAE;QACN,wCAAwC;QACxC,OAAO,EAAE,MAAM,IAAI,CAAA;KACpB,CAAA;CACF;AAED;;;;GAIG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,CAAC,GAAG,eAAe,CAAA;AAE9F;;;;GAIG;AACH,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,CAAC,SAAS,eAAe,GACnG,CAAC,KAAK,CAAC,EAAE;IACP,8DAA8D;IAC9D,QAAQ,CAAC,EACL,YAAY,CAAC,GAAG,CAAC;IAEnB;;;OAGG;OACD,YAAY,CAAC,GAAG,CAAC,EAAE,CAAA;CACxB,KAAK,YAAY,GAAG,IAAI,GACzB,CACE,KAAK,EAAE,CAAC,GAAG;IACT,8DAA8D;IAC9D,QAAQ,CAAC,EACL,YAAY,CAAC,GAAG,CAAC;IAEnB;;;OAGG;OACD,YAAY,CAAC,GAAG,CAAC,EAAE,CAAA;CACxB,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,KAC/B,YAAY,GAAG,IAAI,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meonode/ui",
|
|
3
3
|
"description": "A structured approach to component composition, direct CSS-first prop styling, built-in theming, smart prop handling (including raw property pass-through), and dynamic children.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.94",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/main.js",
|
|
7
7
|
"types": "./dist/main.d.ts",
|