@meonode/ui 0.1.36 → 0.1.38

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/README.md CHANGED
@@ -628,7 +628,7 @@ import store from '/path/to/redux/store'
628
628
  * available to the entire component tree.
629
629
  *
630
630
  * @constant
631
- * @type {ReactNode}
631
+ * @type {NodeElement}
632
632
  * @param {Object} store - The Redux store instance to be passed down to the application.
633
633
  */
634
634
  const ReduxProvider = Node(Provider, { store })
package/dist/core.node.js CHANGED
@@ -152,7 +152,7 @@ return c.theme&&!c.nodetheme&&(c.nodetheme=c.theme),new BaseNode(a,c)}/**
152
152
  * })
153
153
  * ```
154
154
  */export function Component(a){// Create a wrapper component that handles theme and rendering
155
- var b=function renderer(){var b=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},c=a(b);// Execute wrapped component
155
+ var b=function Renderer(){var b=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},c=a(b);// Execute wrapped component
156
156
  // Handle BaseNode results - requires special processing
157
157
  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(){var a=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};return Node(b,a).render()}}/**
158
158
  * Creates a portal component that renders its content outside the normal DOM hierarchy.
@@ -186,7 +186,7 @@ var c,d=void 0,e=null;// Parse arguments to determine which overload is being us
186
186
  if("function"==typeof b&&(a instanceof BaseNode||Array.isArray(a)&&a.every(function(a){return a instanceof BaseNode})))// Overload 1: Portal(providers, component) - Fixed providers
187
187
  d=Array.isArray(a)?a:[a],c=b;else if("function"==typeof a&&b===void 0)// Overload 2: Portal(component) - Dynamic providers via props
188
188
  c=a;else throw new Error("Invalid arguments for Portal HOC. Use Portal(component) or Portal(providersArrayOrNodeInstance, component).");// Control object passed to portal content for cleanup
189
- var f={unmount:function unmount(){e&&(e.unmount(),e=null)}},g=function renderer(){var a=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},b=a.nodetheme,d=_objectWithoutProperties(a,_excluded4),e=c(_objectSpread(_objectSpread({},d),{},{portal:f}));// Handle BaseNode results by properly applying the theme
189
+ var f={unmount:function unmount(){e&&(e.unmount(),e=null)}},g=function Renderer(){var a=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},b=a.nodetheme,d=_objectWithoutProperties(a,_excluded4),e=c(_objectSpread(_objectSpread({},d),{},{portal:f}));// Handle BaseNode results by properly applying the theme
190
190
  if(e instanceof BaseNode){var g,h,i=(null===(g=e.rawProps)||void 0===g?void 0:g.nodetheme)||(null===(h=e.rawProps)||void 0===h?void 0:h.theme)||a.nodetheme;return Node(e.element,_objectSpread(_objectSpread({},e.rawProps),{},{nodetheme:i})).render()}return e};// Renderer function that executes portal content with control object
191
191
  // Return launcher function that creates and manages the portal instance
192
192
  return function(a){var b,c=void 0;// Combine fixed and dynamic providers in the correct order
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@meonode/ui",
3
3
  "description": "A structured approach to component composition with built-in theming, prop separation, and dynamic children handling.",
4
- "version": "0.1.36",
4
+ "version": "0.1.38",
5
5
  "type": "module",
6
6
  "main": "./dist/main.js",
7
7
  "types": "./dist/main.d.ts",
@@ -66,5 +66,23 @@
66
66
  "publishConfig": {
67
67
  "access": "public"
68
68
  },
69
- "license": "MIT"
69
+ "license": "MIT",
70
+ "keywords": [
71
+ "react",
72
+ "typescript",
73
+ "ui-framework",
74
+ "theme-engine",
75
+ "jsx-free",
76
+ "type-safe",
77
+ "component-composition",
78
+ "css-in-js",
79
+ "design-system",
80
+ "react-components",
81
+ "dynamic-theming",
82
+ "frontend",
83
+ "web-development",
84
+ "no-jsx",
85
+ "component-library",
86
+ "accessible-components"
87
+ ]
70
88
  }