lilact 0.22.0 → 0.23.0

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.
Files changed (55) hide show
  1. package/dist/lilact.development.js +21 -8
  2. package/dist/lilact.development.js.map +2 -2
  3. package/dist/lilact.development.min.js +26 -25
  4. package/dist/lilact.development.min.js.map +3 -3
  5. package/dist/lilact.production.min.js +26 -25
  6. package/docs/assets/hierarchy.js +1 -1
  7. package/docs/assets/navigation.js +1 -1
  8. package/docs/assets/search.js +1 -1
  9. package/docs/classes/components.Component.html +1 -1
  10. package/docs/classes/components.HTMLComponent.html +1 -1
  11. package/docs/classes/components.RootComponent.html +1 -1
  12. package/docs/functions/accessories.DragHandle.html +2 -2
  13. package/docs/functions/accessories.Spinner.html +2 -2
  14. package/docs/functions/components.cloneComponent.html +1 -0
  15. package/docs/functions/components.memo.html +1 -1
  16. package/docs/functions/components.render.html +1 -1
  17. package/docs/functions/redux.Provider.html +2 -2
  18. package/docs/functions/redux.connect.html +2 -2
  19. package/docs/functions/router.HashRouter.html +2 -2
  20. package/docs/functions/router.Link.html +2 -2
  21. package/docs/functions/router.NavLink.html +2 -2
  22. package/docs/functions/router.Routes.html +2 -2
  23. package/docs/functions/run.lazy.html +3 -3
  24. package/docs/functions/run.require.html +3 -7
  25. package/docs/functions/run.runScripts.html +1 -1
  26. package/docs/functions/timers.timeoutPromise.html +144 -2
  27. package/docs/functions/transition.CSSTransition.html +4 -4
  28. package/docs/functions/transition.SwitchTransition.html +2 -2
  29. package/docs/functions/transition.Transition.html +3 -3
  30. package/docs/hierarchy.html +1 -1
  31. package/docs/modules/components.html +1 -1
  32. package/docs/static/demos/cloneelement.jsx +66 -0
  33. package/docs/static/demos/reducer.jsx +2 -0
  34. package/docs/static/demos/router.jsx +1 -1
  35. package/docs/static/index.html +31 -30
  36. package/docs/static/lilact.development.js +21 -8
  37. package/docs/static/lilact.development.js.map +2 -2
  38. package/docs/static/lilact.development.min.js +26 -25
  39. package/docs/static/lilact.development.min.js.map +3 -3
  40. package/docs/static/lilact.production.min.js +26 -25
  41. package/docs/variables/components.cloneElement.html +1 -0
  42. package/examples/demos/cloneelement.jsx +66 -0
  43. package/examples/demos/reducer.jsx +2 -0
  44. package/examples/demos/router.jsx +1 -1
  45. package/examples/index.html +31 -30
  46. package/examples/lilact.development.js +21 -8
  47. package/examples/lilact.development.js.map +2 -2
  48. package/examples/lilact.development.min.js +26 -25
  49. package/examples/lilact.development.min.js.map +3 -3
  50. package/examples/lilact.production.min.js +26 -25
  51. package/package.json +1 -1
  52. package/src/components.jsx +7 -0
  53. package/src/expscan.js +7 -3
  54. package/src/lilact.jsx +5 -5
  55. package/src/run.jsx +6 -8
@@ -0,0 +1 @@
1
+ <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>cloneElement | Lilact</title><meta name="description" content="Documentation for Lilact"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Lilact</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/components.html">components</a></li><li><a href="" aria-current="page">cloneElement</a></li></ul><h1>Variable cloneElement<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">cloneElement</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">component</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">propsPatch</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">children</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">entity</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">props</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = cloneComponent</span></div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="__type"><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">component</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">propsPatch</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">children</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">entity</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">props</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span> <span class="tsd-signature-symbol">}</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">component</span>: <span class="tsd-signature-type">any</span></span></li><li><span><span class="tsd-kind-parameter">propsPatch</span>: <span class="tsd-signature-type">any</span></span></li><li><span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">children</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">entity</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">props</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span> <span class="tsd-signature-symbol">}</span></h4></li></ul></li></ul></div><aside class="tsd-sources"><ul><li>Defined in components.jsx:1214</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">Lilact</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
@@ -0,0 +1,66 @@
1
+ import React from "lilact";
2
+
3
+ function FancyButton({ label, variant, onClick, children }) {
4
+ return (
5
+ <button
6
+ className={`btn btn--${variant}`}
7
+ onClick={onClick}
8
+ style={{ marginRight: 12 }}
9
+ >
10
+ {label}
11
+ {children ? <span style={{ marginLeft: 8 }}>{children}</span> : null}
12
+ </button>
13
+ );
14
+ }
15
+
16
+ export default function Demo() {
17
+ const original = (
18
+ <FancyButton
19
+ label="Original"
20
+ variant="primary"
21
+ onClick={() => alert("Original clicked")}
22
+ >
23
+ (child)
24
+ </FancyButton>
25
+ );
26
+
27
+ const cloned = React.cloneElement(original, {
28
+ // Override props:
29
+ label: "Cloned!",
30
+ variant: "success",
31
+
32
+ // You can override event handlers too:
33
+ onClick: () => alert("Cloned clicked"),
34
+ });
35
+
36
+ const clonedWithNewChildren = React.cloneElement(
37
+ original,
38
+ {
39
+ // Override just one prop; leave others as-is
40
+ variant: "warning",
41
+ },
42
+
43
+ <span style={{ fontStyle: "italic" }}>(new child)</span>
44
+ );
45
+
46
+ return (
47
+ <div style={{ padding: 16 }}>
48
+ <h2>React.cloneElement behavior</h2>
49
+
50
+ <div style={{ marginBottom: 16 }}>
51
+ <div>1) Original element (unchanged):</div>
52
+ {original}
53
+ </div>
54
+
55
+ <div style={{ marginBottom: 16 }}>
56
+ <div>2) Cloned with overridden props:</div>
57
+ {cloned}
58
+ </div>
59
+
60
+ <div>
61
+ <div>3) Cloned with overridden props + replaced children:</div>
62
+ {clonedWithNewChildren}
63
+ </div>
64
+ </div>
65
+ );
66
+ }
@@ -37,6 +37,8 @@ function reducer(state, action) {
37
37
 
38
38
  function Demo({ username })
39
39
  {
40
+ username ??= "Tester";
41
+
40
42
  const [state, dispatch] = useReducer(
41
43
  reducer,
42
44
  username,
@@ -79,7 +79,7 @@ function NavControls() {
79
79
  }
80
80
  style={{ marginLeft: 8 }}
81
81
  >
82
- Go Profile (replace + state)
82
+ Go Profile (replace + state) (Clears History)
83
83
  </button>
84
84
  <button onClick={() => navigate(-1)} style={{ marginLeft: 8 }}>
85
85
  Back
@@ -172,8 +172,8 @@ function DemoView({ entry })
172
172
 
173
173
  return <>
174
174
  <button onClick={()=>setOpen(!isOpen)} className={collapsible} type="button">
175
- <span className={left}>{ (isOpen?'- ':'+ ') + entry[0] + ' '}</span>
176
- <b className={right}>{entry[1]}</b>
175
+ <b className={left}>{ (isOpen?'- ':'+ ') + entry[1] + ' '}</b>
176
+ <span className={right}>{entry[0]}</span>
177
177
  </button>
178
178
  {isOpen &&
179
179
  <div style={{width:"100%"}}>
@@ -216,40 +216,41 @@ function App()
216
216
  {
217
217
  const demos =[
218
218
  "Hooks",
219
- ['stopwatch.jsx', '( useState, useRef )'],
220
- ['actionstate.jsx', '( useActionState, Spinner )'],
221
- ['usedefered.jsx', '( useState, useDeferredValue )'],
222
- ['usetransition.jsx', '( useTransition, useState, useCallback, useId ), emotion:( css, cx )'],
223
- ['reducer.jsx', '( useReducer )'],
224
- ['context.jsx', '( createContext, useContext, useState ), emotion:( css, cx )'],
219
+ ['stopwatch.jsx', 'Stop Watch ( useState, useRef )'],
220
+ ['actionstate.jsx', 'Action State ( useActionState, Spinner )'],
221
+ ['usedefered.jsx', 'Deferred List Update ( useState, useDeferredValue )'],
222
+ ['usetransition.jsx', 'Transition ( useTransition, useState, useCallback, useId ), emotion:( css, cx )'],
223
+ ['reducer.jsx', 'Todo List: ( useReducer )'],
224
+ ['context.jsx', 'Modern Context API ( createContext, useContext, useState ), emotion:( css, cx )'],
225
225
 
226
226
  "API",
227
- ['capture.jsx', '-- Event Capture and Bubble --'],
228
- ['priorities.jsx', '-- Effect Priorities --'],
229
- ['forwardref.jsx', '( forwardRef, useImperativeHandle, useRef )'],
230
- ['memo.jsx', '( memo, useState )'],
231
- ['lazy.jsx', '( lazy, require, Suspene, Spinner )'],
232
- ['proptypes.jsx', '( PropTypes )'],
233
- ['legacy-context.jsx', '-- Legacy Context API --'],
234
- ['redux.jsx', '( Provider, useSelector, useDispatch, connect ), redux:( createStore )'],
235
- ['transition.jsx', '( useState, Transition )'],
227
+ ['capture.jsx', 'Event Capture and Bubble'],
228
+ ['priorities.jsx', 'Effect Priorities'],
229
+ ['forwardref.jsx', 'ForwardRef with Function Refs ( forwardRef, useImperativeHandle, useRef )'],
230
+ ['memo.jsx', 'Component Memoization ( memo, useState )'],
231
+ ['lazy.jsx', 'Lazy Loading ( lazy, require, Suspene, Spinner )'],
232
+ ['proptypes.jsx', 'PropTypes Validation'],
233
+ ['legacy-context.jsx', 'Legacy Context API'],
234
+ ['redux.jsx', 'Redux and Despatch ( Provider, useSelector, useDispatch, connect ), redux:( createStore )'],
235
+ ['transition.jsx', 'Transition States ( useState, Transition )'],
236
+ ['cloneelement.jsx', 'Cloning Components ( cloneElement, import as React )'],
236
237
 
237
238
  "Components",
238
- ['router.jsx', '( HashRouter, NavLink, Routes, Route, useNavigate, useLocation )'],
239
- ['modal.jsx', '( useEffect, useRef, useState )'],
240
- ['portal.jsx', '(createPortal, useState )'],
241
- ['pane.jsx', '( useRef, useState, SplitPane )'],
242
- ['css-transition.jsx', '( CSSTransition, useState, useRef )'],
243
- ['switch-transition.jsx', '( SwitchTransition )'],
244
- ['suspense.jsx', '( Suspense, Spinner )'],
245
- ['form-elements.jsx', '()'],
239
+ ['router.jsx', 'Hash Router ( HashRouter, NavLink, Routes, Route, useNavigate, useLocation )'],
240
+ ['modal.jsx', 'Simple Modal ( useEffect, useRef, useState )'],
241
+ ['portal.jsx', 'Portal (createPortal, useState )'],
242
+ ['pane.jsx', 'SplitPane ( useRef, useState, SplitPane )'],
243
+ ['css-transition.jsx', 'CSSTransition ( CSSTransition, useState, useRef )'],
244
+ ['switch-transition.jsx', 'SwitchTransition'],
245
+ ['suspense.jsx', 'Suspense and Spinner'],
246
+ ['form-elements.jsx', 'Form Elements'],
246
247
 
247
248
  "Error Report and Handling",
248
- ['error-boundary.jsx', '( ErrorBoundary, useState )'],
249
- ['error-parser.jsx', '-- JSX Parser Error --'],
250
- ['error-init.jsx', '-- Error in Component initialization --'],
251
- ['error-component-stack.jsx', '-- Error Component Stack --'],
252
- ['error-callback.jsx', '-- Error in Callback --'],
249
+ ['error-boundary.jsx', 'Error Boundary'],
250
+ ['error-parser.jsx', 'JSX Parser Error'],
251
+ ['error-init.jsx', 'Error in Component initialization'],
252
+ ['error-component-stack.jsx', 'Error Component Stack'],
253
+ ['error-callback.jsx', 'Error in Callback'],
253
254
  ];
254
255
 
255
256
  return<>
@@ -1973,6 +1973,8 @@ __export(components_exports, {
1973
1973
  RootComponent: () => RootComponent,
1974
1974
  boolean_html_attributes_set: () => boolean_html_attributes_set,
1975
1975
  capture_events_set: () => capture_events_set,
1976
+ cloneComponent: () => cloneComponent,
1977
+ cloneElement: () => cloneElement,
1976
1978
  createComponent: () => createComponent2,
1977
1979
  createElement: () => createElement,
1978
1980
  createPortal: () => createPortal,
@@ -3071,6 +3073,10 @@ function createRoot(element) {
3071
3073
  function createPortal(children, element) {
3072
3074
  return createComponent2(lilact_default.Portal, { "view": element }, children);
3073
3075
  }
3076
+ function cloneComponent(component, propsPatch, ...children) {
3077
+ return { entity: component.entity, props: { ...component.props, ...propsPatch, children } };
3078
+ }
3079
+ var cloneElement = cloneComponent;
3074
3080
  function render(component, element) {
3075
3081
  if (component[CORE] && (component[CORE].container || component[CORE].parent)) {
3076
3082
  throw new Error("Component is already in use");
@@ -5316,19 +5322,20 @@ function processImportExports(node3, jsx2) {
5316
5322
  const src = jsx2.substring(node3.out[m.index + imp.length - 1].begin, node3.out[m.index + imp.length - 1].end);
5317
5323
  const imports = {};
5318
5324
  let star_imports = [];
5325
+ let import_alls = [];
5319
5326
  for (i2 = m.index + 1; i2 < m.index + imp.length - 1; i2++) {
5320
5327
  node3.out.splice(m.index, 1, {
5321
5328
  type: "import",
5322
5329
  begin: begins[m.index],
5323
- end: begins[m.index + imp.length]
5330
+ end: begins[m.index + imp.length],
5331
+ cjs: ""
5324
5332
  });
5325
5333
  skip_spaces();
5326
5334
  switch (s[i2]) {
5327
5335
  case ",":
5328
5336
  break;
5329
5337
  case "I": {
5330
- const prop = node3.out[i2];
5331
- imports[prop] = "default";
5338
+ import_alls.push(node3.out[i2]);
5332
5339
  continue;
5333
5340
  }
5334
5341
  case "J": {
@@ -5371,8 +5378,12 @@ function processImportExports(node3, jsx2) {
5371
5378
  node3.out[i2] = null;
5372
5379
  }
5373
5380
  let cjs = "";
5374
- for (const s2 of star_imports) {
5381
+ for (const s2 of import_alls) {
5375
5382
  cjs += `const ${s2} = require(${src},{requirer:module});
5383
+ `;
5384
+ }
5385
+ for (const s2 of star_imports) {
5386
+ cjs += `const ${s2} = require(${src},{requirer:module, checkExport: ['default']}).default;
5376
5387
  `;
5377
5388
  }
5378
5389
  if (Object.keys(imports).length) {
@@ -6387,7 +6398,7 @@ function transpileJSX(jsx2, {
6387
6398
 
6388
6399
  // .tmp/src/lilact.jsx
6389
6400
  var Lilact2 = {
6390
- VERSION: "beta.22",
6401
+ VERSION: "beta.23",
6391
6402
  // Configuration
6392
6403
  defaultTransitionTimeout: 300,
6393
6404
  defaultIsEqual: Object.is,
@@ -6409,9 +6420,10 @@ var Lilact2 = {
6409
6420
  // Dependencies
6410
6421
  PropTypes,
6411
6422
  redux: redux_exports,
6412
- emotion: emotion_css_esm_exports,
6413
- default: Lilact2
6423
+ emotion: emotion_css_esm_exports
6414
6424
  };
6425
+ Lilact2.default = Lilact2;
6426
+ var lilact_default = Lilact2;
6415
6427
  Lilact2.importObjectPaths = {
6416
6428
  "lilact": Lilact2,
6417
6429
  "@emotion/css": Lilact2.emotion,
@@ -6433,7 +6445,6 @@ if (true) {
6433
6445
  console.log(`Lilact (Version: ${Lilact2.VERSION}) - Debug Mode`);
6434
6446
  console.log(`Copyright(C) 2024-2026 Arash Kazemi <contact.arash.kazemi@gmail.com>`);
6435
6447
  }
6436
- var lilact_default = Lilact2;
6437
6448
  export {
6438
6449
  CSSTransition,
6439
6450
  Children,
@@ -6465,6 +6476,8 @@ export {
6465
6476
  capture_events_set,
6466
6477
  clearInterval,
6467
6478
  clearTimeout2 as clearTimeout,
6479
+ cloneComponent,
6480
+ cloneElement,
6468
6481
  combineReducers2 as combineReducers,
6469
6482
  connect,
6470
6483
  createComponent2 as createComponent,