@lynx-js/react 0.123.0 → 0.123.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.
@@ -82,9 +82,9 @@ export { Fragment, Suspense } from 'react';
82
82
  * Legacy React APIs
83
83
  * @see https://react.dev/reference/react/legacy
84
84
  */
85
- export { Component, PureComponent, cloneElement, createElement, createRef, isValidElement } from 'react';
85
+ export { Component, PureComponent, createRef, isValidElement } from 'react';
86
86
 
87
- export type { ReactLynxChildren } from '../runtime/lib/index.js';
87
+ export type { CloneElement, CreateElement, ReactLynxChildren } from '../runtime/lib/index.js';
88
88
 
89
89
  /**
90
90
  * ReactLynx children utilities.
@@ -103,6 +103,26 @@ export const Children: ReactLynxChildren;
103
103
  */
104
104
  export { createPortal } from '../runtime/lib/index.js';
105
105
 
106
+ /**
107
+ * Creates a ReactLynx element from a Lynx intrinsic element name or a
108
+ * component type. Lynx intrinsic elements are processed by the ReactLynx
109
+ * snapshot runtime.
110
+ *
111
+ * @see https://react.dev/reference/react/createElement
112
+ * @public
113
+ */
114
+ export { createElement } from '../runtime/lib/index.js';
115
+
116
+ /**
117
+ * Clones an existing ReactLynx element and applies new props through the
118
+ * ReactLynx runtime. Runtime-created elements and components may also receive
119
+ * replacement children.
120
+ *
121
+ * @see https://react.dev/reference/react/cloneElement
122
+ * @public
123
+ */
124
+ export { cloneElement } from '../runtime/lib/index.js';
125
+
106
126
  /**
107
127
  * RL-defined Lynx APIs
108
128
  */