@meonode/ui 0.1.115 → 0.1.116
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/core.node.d.ts +16 -13
- package/dist/core.node.d.ts.map +1 -1
- package/dist/core.node.js +13 -10
- package/dist/node.type.d.ts +10 -5
- package/dist/node.type.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/core.node.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { type Root as ReactDOMRoot } from 'react-dom/client';
|
|
|
10
10
|
* - Style processing with theme variables
|
|
11
11
|
* @template E The type of React element or component this node represents
|
|
12
12
|
*/
|
|
13
|
-
export declare class BaseNode<E extends NodeElement
|
|
13
|
+
export declare class BaseNode<E extends NodeElement> implements NodeInstance<E> {
|
|
14
14
|
/** The underlying React element or component type that this node represents */
|
|
15
15
|
element: E;
|
|
16
16
|
/** Original props passed during construction, preserved for cloning/recreation */
|
|
@@ -99,19 +99,22 @@ export declare class BaseNode<E extends NodeElement = NodeElement> implements No
|
|
|
99
99
|
toPortal(): ReactDOMRoot | null;
|
|
100
100
|
}
|
|
101
101
|
/**
|
|
102
|
-
* Factory function to create a BaseNode instance.
|
|
103
|
-
* @
|
|
102
|
+
* Factory function to create a `BaseNode` instance.
|
|
103
|
+
* @template AdditionalProps Additional props to merge with node props.
|
|
104
|
+
* @template E The React element or component type.
|
|
105
|
+
* @param element The React element or component type to wrap.
|
|
104
106
|
* @param props The props for the node (optional).
|
|
105
|
-
* @
|
|
107
|
+
* @param additionalProps Additional props to merge into the node (optional).
|
|
108
|
+
* @returns A new `BaseNode` instance as a `NodeInstance<E>`.
|
|
106
109
|
*/
|
|
107
|
-
export declare function Node<E extends NodeElement>(element: E, props?: NodeProps<E>): NodeInstance<E>;
|
|
110
|
+
export declare function Node<AdditionalProps extends Record<string, any>, E extends NodeElement>(element: E, props?: NodeProps<E> & AdditionalProps, additionalProps?: AdditionalProps): NodeInstance<E>;
|
|
108
111
|
/**
|
|
109
112
|
* Creates a curried node factory for a given React element or component type.
|
|
110
113
|
*
|
|
111
114
|
* Returns a function that, when called with props, produces a `BaseNode` instance.
|
|
112
115
|
* Useful for creating reusable node factories for specific components or element types.
|
|
116
|
+
* @template AdditionalInitialProps Additional initial props to merge with node props.
|
|
113
117
|
* @template E The React element or component type.
|
|
114
|
-
* @template InitialProps Additional props to merge with node props.
|
|
115
118
|
* @param element The React element or component type to wrap.
|
|
116
119
|
* @param initialProps Initial props to apply to every node instance.
|
|
117
120
|
* @returns A function that takes node props and returns a `NodeInstance<E>`.
|
|
@@ -119,25 +122,25 @@ export declare function Node<E extends NodeElement>(element: E, props?: NodeProp
|
|
|
119
122
|
* const ButtonNode = createNode('button', { type: 'button' });
|
|
120
123
|
* const myButton = ButtonNode({ children: 'Click me', style: { color: 'red' } });
|
|
121
124
|
*/
|
|
122
|
-
export declare function createNode<
|
|
125
|
+
export declare function createNode<AdditionalInitialProps extends Record<string, any>, E extends NodeElement>(element: E, initialProps?: NodeProps<E> & AdditionalInitialProps): HasRequiredProps<PropsOf<E>> extends true ? <AdditionalProps extends Record<string, any> = Record<string, any>>(props: NodeProps<E> & AdditionalProps) => NodeInstance<E> : <AdditionalProps extends Record<string, any> = Record<string, any>>(props?: NodeProps<E> & AdditionalProps) => NodeInstance<E>;
|
|
123
126
|
/**
|
|
124
127
|
* Creates a node factory function where the first argument is `children` and the second is `props`.
|
|
125
128
|
*
|
|
126
|
-
*
|
|
127
|
-
* such as
|
|
129
|
+
* Useful for ergonomic creation of nodes where children are the primary concern,
|
|
130
|
+
* such as layout or container components.
|
|
128
131
|
*
|
|
129
132
|
* The returned function takes `children` as the first argument and `props` (excluding `children`) as the second.
|
|
130
133
|
* It merges any `initialProps` provided at factory creation, then creates a `BaseNode` instance.
|
|
131
134
|
*
|
|
132
135
|
* Type parameters:
|
|
133
|
-
* - `
|
|
136
|
+
* - `AdditionalInitialProps`: Extra props to merge with node props.
|
|
134
137
|
* - `E`: The React element or component type.
|
|
135
138
|
* @param element The React element or component type to wrap.
|
|
136
139
|
* @param initialProps Initial props to apply to every node instance (excluding `children`).
|
|
137
140
|
* @returns A function that takes `children` and `props`, returning a `NodeInstance<E>`.
|
|
138
141
|
* @example
|
|
139
|
-
* const
|
|
140
|
-
* const myDiv =
|
|
142
|
+
* const Text = createChildrenFirstNode('p');
|
|
143
|
+
* const myDiv = Text('Hello', { className: 'text-lg' });
|
|
141
144
|
*/
|
|
142
|
-
export declare function createChildrenFirstNode<
|
|
145
|
+
export declare function createChildrenFirstNode<AdditionalInitialProps extends Record<string, any>, E extends ElementType>(element: E, initialProps?: Omit<NodeProps<E> & AdditionalInitialProps, 'children'>): HasRequiredProps<PropsOf<E>> extends true ? <AdditionalProps extends Record<string, any> = Record<string, any>>(children: NodeElement | NodeElement[], props: Omit<NodeProps<E> & AdditionalProps, 'children'>) => NodeInstance<E> : <AdditionalProps extends Record<string, any> = Record<string, any>>(children?: NodeElement | NodeElement[], props?: Omit<NodeProps<E> & AdditionalProps, 'children'>) => NodeInstance<E>;
|
|
143
146
|
//# sourceMappingURL=core.node.d.ts.map
|
package/dist/core.node.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.node.d.ts","sourceRoot":"","sources":["../src/core.node.ts"],"names":[],"mappings":"AACA,OAAc,EAAgD,KAAK,WAAW,EAA4B,KAAK,SAAS,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAA;AAC1J,OAAO,KAAK,EACV,cAAc,EAEd,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,SAAS,EACT,OAAO,EACP,YAAY,EACZ,KAAK,EACN,MAAM,mBAAmB,CAAA;AAG1B,OAAO,EAAc,KAAK,IAAI,IAAI,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAGxE;;;;;;;;GAQG;AACH,qBAAa,QAAQ,CAAC,CAAC,SAAS,WAAW,
|
|
1
|
+
{"version":3,"file":"core.node.d.ts","sourceRoot":"","sources":["../src/core.node.ts"],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YAAY,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,sBAAsB,EAAE,UAAU,CAAC,GACrE,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,IAAI,GACxC,CAAC,eAAe,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAChE,QAAQ,EAAE,WAAW,GAAG,WAAW,EAAE,EACrC,KAAK,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,eAAe,EAAE,UAAU,CAAC,KACpD,YAAY,CAAC,CAAC,CAAC,GACpB,CAAC,eAAe,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAChE,QAAQ,CAAC,EAAE,WAAW,GAAG,WAAW,EAAE,EACtC,KAAK,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,eAAe,EAAE,UAAU,CAAC,KACrD,YAAY,CAAC,CAAC,CAAC,CAKvB"}
|
package/dist/core.node.js
CHANGED
|
@@ -113,17 +113,20 @@ if(void 0!==d&&null!==d)if(!Array.isArray(d))g=this._normalizeChild(d);else if(0
|
|
|
113
113
|
// Check if all children are null/undefined (e.g., conditional rendering resulted in nothing)
|
|
114
114
|
g=h.every(function(a){return null===a||void 0===a})?void 0:h}else g=void 0;// Prepare props for React.createElement
|
|
115
115
|
var i;return i=this.element===Fragment||isFragment(this.element)?{key:e}:_objectSpread(_objectSpread({},f),{},{key:e}),createElement(this.element,i,g)}_ensurePortalInfrastructure(){if("undefined"==typeof window)return!1;if(this._portalDOMElement&&this._portalReactRoot)return!0;if(this._portalDOMElement&&!this._portalDOMElement.isConnected&&(this._portalDOMElement=null,this._portalDOMElement=null),this._portalDOMElement||(this._portalDOMElement=document.createElement("div"),document.body.appendChild(this._portalDOMElement)),!this._portalReactRoot){if(!this._portalDOMElement)return!1;this._portalReactRoot=createRoot(this._portalDOMElement)}return!0}toPortal(){var a=this;if(!this._ensurePortalInfrastructure()||!this._portalReactRoot)return null;var b=this.render();return this._portalReactRoot.render(b),_objectSpread(_objectSpread({},this._portalReactRoot),{},{unmount:function unmount(){a._portalReactRoot&&(a._portalReactRoot.unmount(),a._portalReactRoot=null),a._portalDOMElement&&(a._portalDOMElement.parentNode&&a._portalDOMElement.parentNode.removeChild(a._portalDOMElement),a._portalDOMElement=null)}})}}/**
|
|
116
|
-
* Factory function to create a BaseNode instance.
|
|
117
|
-
* @
|
|
116
|
+
* Factory function to create a `BaseNode` instance.
|
|
117
|
+
* @template AdditionalProps Additional props to merge with node props.
|
|
118
|
+
* @template E The React element or component type.
|
|
119
|
+
* @param element The React element or component type to wrap.
|
|
118
120
|
* @param props The props for the node (optional).
|
|
119
|
-
* @
|
|
120
|
-
|
|
121
|
+
* @param additionalProps Additional props to merge into the node (optional).
|
|
122
|
+
* @returns A new `BaseNode` instance as a `NodeInstance<E>`.
|
|
123
|
+
*/export function Node(a){var b=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},d=_objectSpread(_objectSpread({},b),c);return d.theme&&!d.nodetheme&&(d.nodetheme=d.theme),new BaseNode(a,d)}/**
|
|
121
124
|
* Creates a curried node factory for a given React element or component type.
|
|
122
125
|
*
|
|
123
126
|
* Returns a function that, when called with props, produces a `BaseNode` instance.
|
|
124
127
|
* Useful for creating reusable node factories for specific components or element types.
|
|
128
|
+
* @template AdditionalInitialProps Additional initial props to merge with node props.
|
|
125
129
|
* @template E The React element or component type.
|
|
126
|
-
* @template InitialProps Additional props to merge with node props.
|
|
127
130
|
* @param element The React element or component type to wrap.
|
|
128
131
|
* @param initialProps Initial props to apply to every node instance.
|
|
129
132
|
* @returns A function that takes node props and returns a `NodeInstance<E>`.
|
|
@@ -133,19 +136,19 @@ var i;return i=this.element===Fragment||isFragment(this.element)?{key:e}:_object
|
|
|
133
136
|
*/export function createNode(a,b){return function(c){return Node(a,_objectSpread(_objectSpread({},b),c))}}/**
|
|
134
137
|
* Creates a node factory function where the first argument is `children` and the second is `props`.
|
|
135
138
|
*
|
|
136
|
-
*
|
|
137
|
-
* such as
|
|
139
|
+
* Useful for ergonomic creation of nodes where children are the primary concern,
|
|
140
|
+
* such as layout or container components.
|
|
138
141
|
*
|
|
139
142
|
* The returned function takes `children` as the first argument and `props` (excluding `children`) as the second.
|
|
140
143
|
* It merges any `initialProps` provided at factory creation, then creates a `BaseNode` instance.
|
|
141
144
|
*
|
|
142
145
|
* Type parameters:
|
|
143
|
-
* - `
|
|
146
|
+
* - `AdditionalInitialProps`: Extra props to merge with node props.
|
|
144
147
|
* - `E`: The React element or component type.
|
|
145
148
|
* @param element The React element or component type to wrap.
|
|
146
149
|
* @param initialProps Initial props to apply to every node instance (excluding `children`).
|
|
147
150
|
* @returns A function that takes `children` and `props`, returning a `NodeInstance<E>`.
|
|
148
151
|
* @example
|
|
149
|
-
* const
|
|
150
|
-
* const myDiv =
|
|
152
|
+
* const Text = createChildrenFirstNode('p');
|
|
153
|
+
* const myDiv = Text('Hello', { className: 'text-lg' });
|
|
151
154
|
*/export function createChildrenFirstNode(a,b){return function(c,d){return Node(a,_objectSpread(_objectSpread(_objectSpread({},b),d),{},{children:c}))}}
|
package/dist/node.type.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { type Attributes as ReactAttributes, type
|
|
1
|
+
import React, { type Attributes as ReactAttributes, type CSSProperties, type ReactNode, type JSX, type ElementType, type ComponentType, type JSXElementConstructor, type Component, type Ref, type ExoticComponent, type FragmentProps, type ReactElement } from 'react';
|
|
2
2
|
import type { Root as ReactDOMRoot } from 'react-dom/client';
|
|
3
3
|
// --- Utility Types ---
|
|
4
4
|
// Utility to get keys of required properties in a type T.
|
|
@@ -33,11 +33,16 @@ export interface NodeInstance<T extends NodeElement = NodeElement> {
|
|
|
33
33
|
toPortal(): ReactDOMRoot | null;
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
36
|
+
* Infers the props type for a given NodeElement.
|
|
37
|
+
* - For intrinsic JSX elements (e.g., 'div', 'span'), returns the corresponding JSX.IntrinsicElements props.
|
|
38
|
+
* - For React components (function or class), infers the props from the component type.
|
|
39
|
+
* - For objects with a `props` property, infers the type from that property.
|
|
40
|
+
* - Otherwise, resolves to `never`.
|
|
41
|
+
* @template E - The NodeElement type to extract props from.
|
|
39
42
|
*/
|
|
40
|
-
export type PropsOf<E extends NodeElement> = E extends keyof JSX.IntrinsicElements ? JSX.IntrinsicElements[E] : E extends JSXElementConstructor<
|
|
43
|
+
export type PropsOf<E extends NodeElement> = E extends keyof JSX.IntrinsicElements ? JSX.IntrinsicElements[E] : E extends JSXElementConstructor<infer P> ? P : E extends {
|
|
44
|
+
props: infer Q;
|
|
45
|
+
} ? Q : never;
|
|
41
46
|
/**
|
|
42
47
|
* Theme configuration object that can be passed through the node tree.
|
|
43
48
|
* Supports nested theme properties for complex styling systems:
|
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,EAAE,EACZ,KAAK,UAAU,IAAI,eAAe,EAClC,KAAK,
|
|
1
|
+
{"version":3,"file":"node.type.d.ts","sourceRoot":"","sources":["../src/node.type.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EACZ,KAAK,UAAU,IAAI,eAAe,EAClC,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,GAAG,EACR,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,SAAS,EACd,KAAK,GAAG,EACR,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,YAAY,EAClB,MAAM,OAAO,CAAA;AACd,OAAO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AC7F;AAED,MAAM,MAAM,aAAa,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC,GAAG,CAAC,MAAM,YAAY,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC,CAAA;AAEnG;;;;;GAKG;AACH,MAAM,WAAW,eAAe;IAC9B,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,WAAW,GAAG,WAAW,EAAE,CAAA;IAEtC,yDAAyD;IACzD,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,EAAE,YAAY,CAAC,GAAG,CAAC,CAAA;CAC7B,KAAK,YAAY,GAAG,IAAI,GACzB,CACE,KAAK,EAAE,CAAC,GAAG;IACT,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,YAAY,CAAC,GAAG,CAAC,CAAA;CAC7B,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.116",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/main.js",
|
|
7
7
|
"types": "./dist/main.d.ts",
|