@meonode/ui 0.1.15 → 0.1.17
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 +4 -5
- package/dist/core.node.d.ts.map +1 -1
- package/dist/core.node.js +25 -25
- package/dist/node.helper.d.ts +2 -2
- package/dist/node.helper.d.ts.map +1 -1
- package/dist/node.type.d.ts +6 -5
- package/dist/node.type.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/core.node.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { type ReactNode } from 'react';
|
|
2
|
-
import type { BaseNodeInstance, NodeElement, NodeProps, Theme } from './node.type.js';
|
|
2
|
+
import type { BaseNodeInstance, ComponentNode, NodeElement, NodeProps, Theme } from './node.type.js';
|
|
3
3
|
/**
|
|
4
4
|
* Factory function to create a BaseNode instance.
|
|
5
5
|
* @param element The React element type.
|
|
@@ -22,9 +22,8 @@ export declare function Node<E extends NodeElement>(element: E, props?: Partial<
|
|
|
22
22
|
* @example
|
|
23
23
|
* ```ts
|
|
24
24
|
* // Basic usage
|
|
25
|
-
* const
|
|
26
|
-
* return
|
|
27
|
-
* ...props,
|
|
25
|
+
* const App = Component(() => {
|
|
26
|
+
* return Div({
|
|
28
27
|
* theme: { color: 'blue' }
|
|
29
28
|
* })
|
|
30
29
|
* })
|
|
@@ -32,5 +31,5 @@ export declare function Node<E extends NodeElement>(element: E, props?: Partial<
|
|
|
32
31
|
*/
|
|
33
32
|
export declare function Component<T extends Record<string, any> & {
|
|
34
33
|
theme?: Theme;
|
|
35
|
-
}>(component: (props: T) =>
|
|
34
|
+
}>(component: (props: T) => ComponentNode): (props?: T) => string | number | bigint | boolean | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | BaseNodeInstance<any> | (() => BaseNodeInstance<any> | ReactNode) | null | undefined;
|
|
36
35
|
//# 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,OAAO,KAAK,EAAE,EAAsG,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AACjJ,OAAO,KAAK,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"core.node.d.ts","sourceRoot":"","sources":["../src/core.node.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAsG,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AACjJ,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAyC,WAAW,EAAE,SAAS,EAAgB,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAyX5J;;;;;GAKG;AACH,wBAAgB,IAAI,CAAC,CAAC,SAAS,WAAW,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,GAAE,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAM,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAU9G;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,SAAS,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,EAAE,SAAS,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,aAAa,IAEzG,QAAO,CAAW,8ZAmB3B"}
|
package/dist/core.node.js
CHANGED
|
@@ -1,25 +1,28 @@
|
|
|
1
1
|
"use strict";var _excluded=["children","nodeTheme"],_excluded2=["children","key"];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 _objectWithoutProperties(a,b){if(null==a)return{};var c,d,e=_objectWithoutPropertiesLoose(a,b);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(a);for(d=0;d<f.length;d++)c=f[d],-1===b.indexOf(c)&&{}.propertyIsEnumerable.call(a,c)&&(e[c]=a[c])}return e}function _objectWithoutPropertiesLoose(a,b){if(null==a)return{};var c={};for(var d in a)if({}.hasOwnProperty.call(a,d)){if(-1!==b.indexOf(d))continue;c[d]=a[d]}return c}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 _classCallCheck(b,a){if(!(b instanceof a))throw new TypeError("Cannot call a class as a function")}function _defineProperties(a,b){for(var c,d=0;d<b.length;d++)c=b[d],c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(a,_toPropertyKey(c.key),c)}function _createClass(a,b,c){return b&&_defineProperties(a.prototype,b),c&&_defineProperties(a,c),Object.defineProperty(a,"prototype",{writable:!1}),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 React,{createElement,isValidElement}from"react";import{getComponentType,getCSSProps,getDOMProps,getElementTypeName,getValueByPath}from"./node.helper.js";import{isForwardRef,isMemo,isReactClassComponent,isValidElementType}from"./react-is.helper.js";/**
|
|
2
|
-
* Represents a node in a React component tree
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
* Represents a node in a React component tree with theme and styling capabilities.
|
|
3
|
+
* This class wraps React elements and handles:
|
|
4
|
+
* - Props processing and normalization
|
|
5
|
+
* - Theme inheritance and resolution
|
|
6
|
+
* - Child node processing and management
|
|
7
|
+
* - Style processing with theme variables
|
|
8
|
+
* @template E The type of React element or component this node represents
|
|
9
|
+
*/var BaseNode=/*#__PURE__*/function(){/** The underlying React element or component type that this node represents *//** Original props passed during construction, preserved for cloning/recreation *//** Processed props after theme resolution, style processing, and child normalization *//**
|
|
10
|
+
* Creates a new BaseNode instance that wraps a React element.
|
|
11
|
+
* Processes raw props by:
|
|
12
|
+
* - Extracting and resolving theme-aware styles
|
|
13
|
+
* - Processing DOM-related props
|
|
14
|
+
* - Normalizing children with theme inheritance
|
|
15
|
+
* @param element The React element/component to wrap
|
|
16
|
+
* @param rawProps Initial props including theme, styles, and children
|
|
10
17
|
*/function BaseNode(a,b){var c=this;_classCallCheck(this,BaseNode),_defineProperty(this,"_normalizeChild",function(a){var b,d;if(!a)return a;var e=(null===(b=c.rawProps)||void 0===b?void 0:b.nodeTheme)||(null===(d=c.rawProps)||void 0===d?void 0:d.theme)||c.props.nodeTheme||c.props.theme;// For BaseNode instances, apply current theme if child has no theme
|
|
11
18
|
if(a instanceof BaseNode){var f;return null!==(f=a.rawProps)&&void 0!==f&&f.nodeTheme||void 0===e?a.render():new BaseNode(a.element,_objectSpread(_objectSpread({},a.rawProps),{},{nodeTheme:e})).render()}// For React.Component instances, wrap in BaseNode with theme if needed
|
|
12
19
|
if(a instanceof React.Component)return a.props.nodeTheme||void 0===e?a.render():new BaseNode(a.render(),_objectSpread(_objectSpread({},a.props),{},{nodeTheme:e})).render();// Validate element type before returning
|
|
13
20
|
if(!isValidElementType(a)){var g=getComponentType(a);throw new Error("Invalid element type: ".concat(g," provided!"))}// Return valid React elements as-is
|
|
14
|
-
return a}),this.element=a,this.rawProps=b;var d=b||{},e=d.children,f=d.nodeTheme,g=_objectWithoutProperties(d,_excluded),h=getCSSProps(g),i=this._resolveStyleWithTheme(h,f);//
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
)}else// For a single child, no index is passed; existing key logic in _processRawNode will apply
|
|
20
|
-
k=this._processRawNode(e,f);// 3. Construct final this.props
|
|
21
|
-
this.props=_objectSpread(_objectSpread({},j),{},{style:i,nodeTheme:f,children:k// Assign processed children
|
|
22
|
-
})}/**
|
|
21
|
+
return a}),this.element=a,this.rawProps=b;var d=b||{},e=d.children,f=d.nodeTheme,g=_objectWithoutProperties(d,_excluded),h=getCSSProps(g),i=this._resolveStyleWithTheme(h,f);// Process styles with theme variables
|
|
22
|
+
i=0<Object.keys(i).length?i:{};// Extract non-style DOM props
|
|
23
|
+
var j=getDOMProps(g),k=void 0;// Process children with theme inheritance
|
|
24
|
+
if(e!==void 0&&null!==e)if(Array.isArray(e)){k=e.map(function(a,b){return c._processRawNode(a,f,b)})}else k=this._processRawNode(e,f);// Build final normalized props
|
|
25
|
+
this.props=_objectSpread(_objectSpread({},j),{},{style:i,nodeTheme:f,children:k})}/**
|
|
23
26
|
* Resolves style properties by replacing theme path placeholders with actual theme values.
|
|
24
27
|
* Handles complex strings like '1px solid theme.background.primary' and iterative resolution.
|
|
25
28
|
* @param initialCssProps The initial CSS properties object.
|
|
@@ -65,10 +68,9 @@ return"".concat(d,"-").concat(c)}// No explicit key, and not an array child, so
|
|
|
65
68
|
};// Determine the type of the raw node
|
|
66
69
|
// Helper to generate an indexed key if no explicit key is present and an index is available.
|
|
67
70
|
// Case 1: Child is already a BaseNode instance
|
|
68
|
-
if(a instanceof BaseNode){var f=a,g=f.rawProps||{},h=g.nodeTheme,i=e(f.element,g.key);// Get initial raw props of the child
|
|
69
|
-
// Get the child's own theme
|
|
71
|
+
if(a instanceof BaseNode){var f=a,g=f.rawProps||{},h=g.nodeTheme||b||{},i=e(f.element,g.key);// Get initial raw props of the child
|
|
70
72
|
// Prefer child's own theme
|
|
71
|
-
return new BaseNode(f.element,_objectSpread(_objectSpread({},g),{},{nodeTheme:h
|
|
73
|
+
return new BaseNode(f.element,_objectSpread(_objectSpread({},g),{},{nodeTheme:h,// Use the determined theme for the new node
|
|
72
74
|
key:i}));// Create a new BaseNode with merged props and theme
|
|
73
75
|
}// Case 2: Child is a primitive (string, number, boolean, null, undefined)
|
|
74
76
|
if("string"===d||"number"===d||"boolean"===d||null===a||void 0===a)return a;// Case 3: Child is a function that needs to be called during render (FunctionRenderer).
|
|
@@ -140,9 +142,8 @@ return c.theme&&void 0===c.nodeTheme&&(c.nodeTheme=c.theme),new BaseNode(a,c)}/*
|
|
|
140
142
|
* @example
|
|
141
143
|
* ```ts
|
|
142
144
|
* // Basic usage
|
|
143
|
-
* const
|
|
144
|
-
* return
|
|
145
|
-
* ...props,
|
|
145
|
+
* const App = Component(() => {
|
|
146
|
+
* return Div({
|
|
146
147
|
* theme: { color: 'blue' }
|
|
147
148
|
* })
|
|
148
149
|
* })
|
|
@@ -153,5 +154,4 @@ return function(){var b=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{
|
|
|
153
154
|
if(c instanceof BaseNode){var d,e;// Theme merging: Check if we need to handle theme inheritance
|
|
154
155
|
if(!!(null!==b&&void 0!==b&&b.theme||null!==b&&void 0!==b&&b.nodeTheme)||!!(null!==(d=c.rawProps)&&void 0!==d&&d.theme||null!==(e=c.rawProps)&&void 0!==e&&e.nodeTheme)){var f,g;return new BaseNode(c.element,_objectSpread(_objectSpread({},c.rawProps),{},{// Theme priority: props.theme > rawProps.theme > rawProps.nodeTheme
|
|
155
156
|
nodeTheme:(null===b||void 0===b?void 0:b.theme)||(null===(f=c.rawProps)||void 0===f?void 0:f.theme)||(null===(g=c.rawProps)||void 0===g?void 0:g.nodeTheme)})).render()}return c.render();// No theme to handle, just render
|
|
156
|
-
}
|
|
157
|
-
return c}}
|
|
157
|
+
}return c}}
|
package/dist/node.helper.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ComponentProps, CSSProperties, ElementType } from 'react';
|
|
2
|
-
import type { NodeElement,
|
|
2
|
+
import type { NodeElement, FinalNodeProps } from './node.type.js';
|
|
3
3
|
/**
|
|
4
4
|
* Returns a string describing the type of a given React component or element.
|
|
5
5
|
*
|
|
@@ -53,7 +53,7 @@ export declare function getCSSProps<T extends Record<string, any>>(props: T): Pa
|
|
|
53
53
|
* @param props The component props to filter.
|
|
54
54
|
* @returns An object containing only valid DOM props.
|
|
55
55
|
*/
|
|
56
|
-
export declare function getDOMProps<E extends ElementType, T extends ComponentProps<E>>(props: T): Partial<
|
|
56
|
+
export declare function getDOMProps<E extends ElementType, T extends ComponentProps<E>>(props: T): Partial<FinalNodeProps>;
|
|
57
57
|
/**
|
|
58
58
|
* Retrieves a deeply nested value from an object using a dot-separated string path.
|
|
59
59
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.helper.d.ts","sourceRoot":"","sources":["../src/node.helper.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"node.helper.d.ts","sourceRoot":"","sources":["../src/node.helper.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAwBpE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB,GAC3B,YAAY,WAAW,KAErB,OAAO,GACP,YAAY,GACZ,MAAM,GACN,QAAQ,GACR,UAAU,GACV,UAAU,GACV,QAAQ,GACR,UAAU,GACV,aAAa,GACb,UAAU,GACV,eAAe,GACf,kBAAkB,GAClB,kBAAkB,GAClB,MAAM,GACN,SAAS,GACT,SAAS,GACT,MAgBH,CAAA;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,CAsFxD;AAwBD;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC,CAU3F;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,WAAW,EAAE,CAAC,SAAS,cAAc,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,cAAc,CAAC,CAUjH;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,YAAK,EAAE,IAAI,EAAE,MAAM,GAAG,GAAG,CAE/E"}
|
package/dist/node.type.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Attributes as ReactAttributes, ComponentProps, CSSProperties, ReactNode, JSX, ElementType, ComponentType, JSXElementConstructor, Component } from 'react';
|
|
2
|
-
export type NodeElement = ReactNode | Component<any, any> | ElementType | ComponentType<any> | BaseNodeInstance<any> | ((props?: any) => ReactNode | Promise<ReactNode> | Component<any> | BaseNodeInstance<any>);
|
|
2
|
+
export type NodeElement = ReactNode | Component<any, any> | ElementType | ComponentType<any> | BaseNodeInstance<any> | ((props?: any) => ReactNode | Promise<ReactNode> | Component<any> | BaseNodeInstance<any> | ComponentNode);
|
|
3
3
|
/**
|
|
4
4
|
* Defines valid child types that can be passed to a node:
|
|
5
5
|
* - ReactNode: Any valid React child (elements, strings, numbers, etc.)
|
|
@@ -7,7 +7,7 @@ export type NodeElement = ReactNode | Component<any, any> | ElementType | Compon
|
|
|
7
7
|
* - BaseNodeInstance: Other node instances in the tree
|
|
8
8
|
* - Function: Lazy child evaluation, useful for conditional rendering and hooks
|
|
9
9
|
*/
|
|
10
|
-
export type Children = ReactNode | Component<any> | NodeElement | BaseNodeInstance<any
|
|
10
|
+
export type Children = ReactNode | Component<any> | NodeElement | BaseNodeInstance<any> | ComponentNode;
|
|
11
11
|
/**
|
|
12
12
|
* Forward declaration of the BaseNode interface to avoid circular dependencies.
|
|
13
13
|
* Defines the core structure and capabilities of a BaseNode instance.
|
|
@@ -17,7 +17,7 @@ export interface BaseNodeInstance<T extends NodeElement = NodeElement> {
|
|
|
17
17
|
/** The underlying React element or component type that this node will render */
|
|
18
18
|
readonly element: T;
|
|
19
19
|
/** Original props passed during node construction, preserved for cloning/recreation */
|
|
20
|
-
readonly rawProps?:
|
|
20
|
+
readonly rawProps?: RawNodeProps<T>;
|
|
21
21
|
/** Converts this node instance into a renderable React element/tree */
|
|
22
22
|
render(): ReactNode;
|
|
23
23
|
}
|
|
@@ -47,7 +47,7 @@ export interface Theme {
|
|
|
47
47
|
* - Handles theme context propagation
|
|
48
48
|
* @template E - The element type these props apply to
|
|
49
49
|
*/
|
|
50
|
-
export type
|
|
50
|
+
export type FinalNodeProps = ReactAttributes & {
|
|
51
51
|
style?: CSSProperties;
|
|
52
52
|
children?: Children | Children[];
|
|
53
53
|
theme?: Theme;
|
|
@@ -80,7 +80,7 @@ export type NodeProps<E extends NodeElement> = Omit<PropsOf<E>, 'style' | 'child
|
|
|
80
80
|
* - Used for both initial construction and internal state
|
|
81
81
|
* @template E - The element type these props apply to
|
|
82
82
|
*/
|
|
83
|
-
export type
|
|
83
|
+
export type RawNodeProps<E extends NodeElement> = Partial<NodeProps<E>> & {
|
|
84
84
|
nodeTheme?: Theme;
|
|
85
85
|
};
|
|
86
86
|
/**
|
|
@@ -99,5 +99,6 @@ export interface FunctionRendererProps<E extends NodeElement> {
|
|
|
99
99
|
passedKey?: string;
|
|
100
100
|
processRawNode: (node: NodeElement, parentTheme?: Theme, childIndex?: number) => BaseNodeInstance<E>;
|
|
101
101
|
}
|
|
102
|
+
export type ComponentNode = (BaseNodeInstance<any> | ReactNode) | (() => BaseNodeInstance<any> | ReactNode);
|
|
102
103
|
export {};
|
|
103
104
|
//# 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,EACV,MAAM,OAAO,CAAA;AAEd,MAAM,MAAM,WAAW,GACnB,SAAS,GACT,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC,GACnB,WAAW,GACX,aAAa,CAAC,GAAG,CAAC,GAClB,gBAAgB,CAAC,GAAG,CAAC,GACrB,CAAC,CAAC,KAAK,CAAC,EAAE,GAAG,KAAK,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,GAAG,CAAC,GAAG,gBAAgB,CAAC,GAAG,CAAC,CAAC,CAAA;
|
|
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,EACV,MAAM,OAAO,CAAA;AAEd,MAAM,MAAM,WAAW,GACnB,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CAAC,EAAE,KAAK,CAAA;IAEnB,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,cAAc,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,WAAW,CAAC,EAAE,KAAK,EAAE,UAAU,CAAC,EAAE,MAAM,KAAK,gBAAgB,CAAC,CAAC,CAAC,CAAA;CACrG;AAED,MAAM,MAAM,aAAa,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC,GAAG,CAAC,MAAM,gBAAgB,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC,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 with built-in theming, prop separation, and dynamic children handling.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.17",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/main.js",
|
|
7
7
|
"types": "./dist/main.d.ts",
|