@meonode/ui 0.2.21 → 0.3.1
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/CHANGELOG.md +61 -1
- package/README.md +40 -26
- package/dist/components/styled-renderer.client.d.ts +838 -3
- package/dist/components/styled-renderer.client.d.ts.map +1 -1
- package/dist/components/styled-renderer.client.js +9 -1
- package/dist/components/theme-provider.client.d.ts +25 -0
- package/dist/components/theme-provider.client.d.ts.map +1 -0
- package/dist/components/theme-provider.client.js +10 -0
- package/dist/core.node.d.ts +24 -90
- package/dist/core.node.d.ts.map +1 -1
- package/dist/core.node.js +53 -112
- package/dist/helper/node.helper.d.ts +1 -11
- package/dist/helper/node.helper.d.ts.map +1 -1
- package/dist/helper/node.helper.js +2 -22
- package/dist/helper/theme.helper.d.ts +2 -66
- package/dist/helper/theme.helper.d.ts.map +1 -1
- package/dist/helper/theme.helper.js +2 -7
- package/dist/hoc/component.hoc.d.ts +5 -8
- package/dist/hoc/component.hoc.d.ts.map +1 -1
- package/dist/hoc/component.hoc.js +7 -8
- package/dist/hoc/portal.hoc.d.ts +44 -44
- package/dist/hoc/portal.hoc.d.ts.map +1 -1
- package/dist/hoc/portal.hoc.js +53 -53
- package/dist/hook/index.d.ts +1 -0
- package/dist/hook/index.d.ts.map +1 -1
- package/dist/hook/index.js +1 -1
- package/dist/hook/useTheme.d.ts +8 -0
- package/dist/hook/useTheme.d.ts.map +1 -0
- package/dist/hook/useTheme.js +8 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +1 -1
- package/dist/node.type.d.ts +30 -28
- package/dist/node.type.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/node.type.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { type CSSProperties, type ReactNode, type JSX, type ElementType, type ComponentType, type JSXElementConstructor, type Component, type ExoticComponent, type ReactElement } from 'react';
|
|
2
2
|
import type { CSSInterpolation } from '@emotion/serialize';
|
|
3
3
|
import type { NO_STYLE_TAGS } from './constants/common.const.js';
|
|
4
|
+
import type { ComponentNodeProps } from './hoc';
|
|
4
5
|
// --- Utility Types ---
|
|
5
6
|
// Utility to get keys of required properties in a type T.
|
|
6
7
|
type RequiredKeys<T> = {
|
|
@@ -20,20 +21,22 @@ export type NonArrayReactNode = Exclude<ReactNode, ReactNode[]>;
|
|
|
20
21
|
* Defines the various types that can represent a "node" in the Meonode system.
|
|
21
22
|
* This includes React elements, components, promises resolving to React nodes, and NodeInstance objects.
|
|
22
23
|
*/
|
|
23
|
-
export type NodeElement = ExoticComponent<any> | NonArrayReactNode | Promise<Awaited<NonArrayReactNode>> | Component<any, any, any> | ElementType | ComponentType<any> | NodeInstance<any> | NodeFunction<any> | ((props?: Record<string, any>) => ExoticComponent<any> | NonArrayReactNode | Component<any, any, any> | ElementType | ComponentType<any> | NodeInstance<any>);
|
|
24
|
-
export type NodeElementType = ElementType | ExoticComponent
|
|
24
|
+
export type NodeElement = ExoticComponent<any> | NonArrayReactNode | Promise<Awaited<NonArrayReactNode>> | Component<any, any, any> | ElementType | ComponentType<any> | NodeInstance<any> | NodeFunction<any> | NodeElementType | ((props?: Record<string, any>) => ExoticComponent<any> | NonArrayReactNode | Component<any, any, any> | ElementType | ComponentType<any> | NodeInstance<any>);
|
|
25
|
+
export type NodeElementType = ElementType | (ExoticComponent & {
|
|
26
|
+
$$typeof?: symbol;
|
|
27
|
+
}) | (<TProps extends Record<string, any> | undefined>(props: ComponentNodeProps<TProps>) => ComponentNode);
|
|
25
28
|
/** A single NodeElement or an array of NodeElements */
|
|
26
29
|
export type Children = NodeElement | NodeElement[];
|
|
27
30
|
/**
|
|
28
31
|
* Forward declaration of the BaseNode interface to avoid circular dependencies.
|
|
29
32
|
* Defines the core structure and capabilities of a BaseNode instance.
|
|
30
|
-
* @template
|
|
33
|
+
* @template E - The type of React element/component that this node represents
|
|
31
34
|
*/
|
|
32
|
-
export interface NodeInstance<
|
|
35
|
+
export interface NodeInstance<E extends NodeElement = NodeElement> {
|
|
33
36
|
/** The underlying React element or component type that this node will render */
|
|
34
|
-
readonly element:
|
|
37
|
+
readonly element: E;
|
|
35
38
|
/** Original props passed during node construction, preserved for cloning/recreation */
|
|
36
|
-
readonly rawProps:
|
|
39
|
+
readonly rawProps: Partial<NodeProps<E>>;
|
|
37
40
|
readonly isBaseNode: true;
|
|
38
41
|
/** Converts this node instance into a renderable React element/tree */
|
|
39
42
|
render(): ReactElement;
|
|
@@ -52,15 +55,31 @@ export type PropsOf<E extends NodeElement> = E extends keyof JSX.IntrinsicElemen
|
|
|
52
55
|
props: infer Q;
|
|
53
56
|
} ? Q : never;
|
|
54
57
|
/**
|
|
55
|
-
* Theme
|
|
56
|
-
|
|
57
|
-
|
|
58
|
+
* Theme mode - light or dark theme variant
|
|
59
|
+
*/
|
|
60
|
+
export type ThemeMode = 'light' | 'dark' | string;
|
|
61
|
+
/**
|
|
62
|
+
* System theme configuration with base colors and semantic tokens
|
|
63
|
+
*/
|
|
64
|
+
export interface ThemeSystem {
|
|
65
|
+
[key: string]: string | number | boolean | null | undefined | any | ThemeSystem | Record<string, ThemeSystem | string | number | boolean | null | undefined | any>;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Theme configuration object.
|
|
69
|
+
* Requires `mode` and `system` as core theme properties, with support for
|
|
70
|
+
* unlimited nested theme properties for complex styling systems:
|
|
71
|
+
* - Simple values (strings, numbers, booleans)
|
|
58
72
|
* - Nested theme objects with unlimited depth
|
|
59
73
|
* - Common CSS values and units
|
|
60
74
|
* - Custom theme variables and tokens
|
|
61
75
|
* Used for consistent styling and dynamic theme application.
|
|
62
76
|
*/
|
|
63
|
-
export type Theme =
|
|
77
|
+
export type Theme = {
|
|
78
|
+
/** Current theme mode (light/dark) */
|
|
79
|
+
mode: ThemeMode;
|
|
80
|
+
/** System theme configuration with colors and tokens */
|
|
81
|
+
system: ThemeSystem;
|
|
82
|
+
} & Partial<{
|
|
64
83
|
[key: string]: string | number | boolean | null | undefined | any | Theme | Record<string, Theme | string | number | boolean | null | undefined | any>;
|
|
65
84
|
}>;
|
|
66
85
|
/**
|
|
@@ -77,10 +96,6 @@ export type FinalNodeProps = ReactAttributes & Partial<{
|
|
|
77
96
|
style: any;
|
|
78
97
|
css: any;
|
|
79
98
|
children: Children;
|
|
80
|
-
theme: Partial<{
|
|
81
|
-
[p: string]: any;
|
|
82
|
-
}> | any | undefined;
|
|
83
|
-
nodetheme: Theme;
|
|
84
99
|
}>;
|
|
85
100
|
/**
|
|
86
101
|
* Helper type to determine if the props P have a 'style' property
|
|
@@ -110,23 +125,12 @@ export type HasNoStyleProp<E extends NodeElement> = E extends NoStyleTags ? true
|
|
|
110
125
|
* - Maintains React's key prop for reconciliation
|
|
111
126
|
* @template E - The element type these props apply to
|
|
112
127
|
*/
|
|
113
|
-
export type NodeProps<E extends NodeElement> = Omit<PropsOf<E>, keyof CSSProperties | 'children' | 'style' | '
|
|
128
|
+
export type NodeProps<E extends NodeElement> = Omit<PropsOf<E>, keyof CSSProperties | 'children' | 'style' | 'props' | 'key'> & ReactAttributes & (HasCSSCompatibleStyleProp<PropsOf<E>> extends true ? CSSProperties : object) & (HasNoStyleProp<E> extends true ? Partial<{
|
|
114
129
|
css: CSSInterpolation;
|
|
115
130
|
}> : object) & Partial<{
|
|
116
131
|
props: Partial<Omit<PropsOf<E>, 'children'>>;
|
|
117
132
|
children: Children;
|
|
118
|
-
theme: Theme;
|
|
119
133
|
}>;
|
|
120
|
-
/**
|
|
121
|
-
* BaseNode's internal props type, extending NodeProps:
|
|
122
|
-
* - Makes all properties optional for flexible node creation
|
|
123
|
-
* - Adds nodetheme for theme context handling
|
|
124
|
-
* - Used for both initial construction and internal state
|
|
125
|
-
* @template E - The element type these props apply to
|
|
126
|
-
*/
|
|
127
|
-
export type RawNodeProps<E extends NodeElement> = Partial<NodeProps<E>> & {
|
|
128
|
-
nodetheme?: Theme;
|
|
129
|
-
};
|
|
130
134
|
/**
|
|
131
135
|
* Function type for dynamic node content generation.
|
|
132
136
|
* Accepts optional NodeProps and returns a ReactNode or NodeInstance.
|
|
@@ -144,8 +148,6 @@ export type NodeFunction<E extends ReactNode | NodeInstance = ReactNode | NodeIn
|
|
|
144
148
|
export interface FunctionRendererProps<E extends ReactNode | NodeInstance> {
|
|
145
149
|
/** Function that returns the child content to render */
|
|
146
150
|
render: NodeFunction<E>;
|
|
147
|
-
/** Theme context to be applied to the rendered content */
|
|
148
|
-
passedTheme?: Theme;
|
|
149
151
|
}
|
|
150
152
|
export type ComponentNode = (NodeInstance<any> | ReactNode) | (() => NodeInstance<any> | ReactNode);
|
|
151
153
|
/**
|
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,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,GAAG,EACR,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,YAAY,EAClB,MAAM,OAAO,CAAA;AACd,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;
|
|
1
|
+
{"version":3,"file":"node.type.d.ts","sourceRoot":"","sources":["../src/node.type.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EACZ,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,GAAG,EACR,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,YAAY,EAClB,MAAM,OAAO,CAAA;AACd,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KA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,eAAe;IAC9B,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,QAAQ,CAAA;IAEnB,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;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,MAAM,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAA;CACpC;AAED;;;;GAIG;AACH,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,CAC5E,KAAK,CAAC,EAAE,CAAC,CAAC,GAAG;IAAE,QAAQ,CAAC,EAAE,YAAY,CAAC,GAAG,CAAC,CAAA;CAAE,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,KAC5E,UAAU,CAAA;AAEf;;;;;GAKG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,WAAW,EAAE,eAAe,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,eAAe,EAAE,MAAM,eAAe,CAAC,GACvJ,eAAe,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.
|
|
4
|
+
"version": "0.3.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/main.js",
|
|
7
7
|
"types": "./dist/main.d.ts",
|