lilact 0.1.0 → 0.2.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 (68) hide show
  1. package/README.md +9 -0
  2. package/dist/lilact.development.min.js +9657 -2
  3. package/dist/lilact.development.min.js.map +1 -1
  4. package/dist/lilact.production.min.js +1 -1
  5. package/dist/lilact.production.min.js.map +1 -1
  6. package/docs/assets/navigation.js +1 -1
  7. package/docs/assets/search.js +1 -1
  8. package/docs/classes/accessories.ErrorBoundary.html +11 -10
  9. package/docs/classes/accessories.Suspense.html +12 -22
  10. package/docs/classes/components.Component.html +11 -10
  11. package/docs/classes/components.HTMLComponent.html +11 -10
  12. package/docs/classes/components.RootComponent.html +11 -10
  13. package/docs/functions/accessories.Spinner.html +1 -1
  14. package/docs/functions/components.createComponent.html +1 -1
  15. package/docs/functions/components.createRoot.html +1 -1
  16. package/docs/functions/components.render.html +1 -1
  17. package/docs/functions/hooks.createContext.html +1 -1
  18. package/docs/functions/hooks.forwardRef.html +4 -0
  19. package/docs/functions/hooks.useActionState.html +1 -1
  20. package/docs/functions/hooks.useImperativeHandle.html +7 -0
  21. package/docs/functions/hooks.useReducer.html +1 -1
  22. package/docs/functions/hooks.useState.html +2 -2
  23. package/docs/functions/hooks.useTransition.html +1 -1
  24. package/docs/functions/jsx.transpileJSX.html +1 -1
  25. package/docs/functions/run.lazy.html +7 -15
  26. package/docs/functions/run.runScripts.html +1 -1
  27. package/docs/functions/run.traceError.html +1 -1
  28. package/docs/functions/transition.CSSTransition.html +1 -1
  29. package/docs/functions/transition.Transition.html +15 -0
  30. package/docs/functions/transition.TransitionGroup.html +1 -1
  31. package/docs/index.html +5 -0
  32. package/docs/modules/hooks.html +1 -1
  33. package/docs/modules/jsx.html +1 -1
  34. package/docs/modules/transition.html +1 -1
  35. package/docs/static/demos/actionstate.jsx +4 -6
  36. package/docs/static/demos/context.jsx +1 -3
  37. package/docs/static/demos/lazy.jsx +5 -7
  38. package/docs/static/demos/modal.jsx +13 -15
  39. package/docs/static/demos/proptypes.jsx +5 -8
  40. package/docs/static/demos/reducer.jsx +21 -23
  41. package/docs/static/demos/suspense.jsx +4 -6
  42. package/docs/static/demos/transition.jsx +25 -25
  43. package/docs/static/demos/usetransition.jsx +1 -3
  44. package/docs/static/lilact.development.min.js +9657 -2
  45. package/docs/static/lilact.production.min.js +1 -1
  46. package/package.json +2 -1
  47. package/root/demos/actionstate.jsx +4 -6
  48. package/root/demos/context.jsx +1 -3
  49. package/root/demos/lazy.jsx +5 -7
  50. package/root/demos/modal.jsx +13 -15
  51. package/root/demos/proptypes.jsx +5 -8
  52. package/root/demos/reducer.jsx +21 -23
  53. package/root/demos/suspense.jsx +4 -6
  54. package/root/demos/transition.jsx +25 -25
  55. package/root/demos/usetransition.jsx +1 -3
  56. package/root/lilact.development.min.js +9657 -2
  57. package/root/lilact.production.min.js +1 -1
  58. package/src/accessories.jsx +12 -11
  59. package/src/components.jsx +9 -4
  60. package/src/hooks.jsx +47 -6
  61. package/src/jsx.js +1 -0
  62. package/src/lilact.jsx +5 -7
  63. package/src/pane.jsx +287 -0
  64. package/src/run.jsx +3 -17
  65. package/src/transition.jsx +32 -21
  66. package/webpack.config.js +1 -1
  67. package/docs/classes/transition.Transition.html +0 -31
  68. package/docs/variables/jsx.transpilerConfig.html +0 -1
package/README.md CHANGED
@@ -6,6 +6,15 @@
6
6
 
7
7
  [Docs on GitHub Pages](https://arashkazemi.github.io/lilact/) - [Demos on GitHub Pages](https://arashkazemi.github.io/lilact/static)
8
8
 
9
+ [Lilact repo on GitHub](https://github.com/arashkazemi/lilact) - [Lilact on npm](https://www.npmjs.com/package/lilact)
10
+
11
+ ---
12
+
13
+ If you find Lilact useful, please consider sponsoring. Your support funds ongoing maintenance,
14
+ performance improvements, and new features. [Sponsor me on GitHub](https://github.com/sponsors/arashkazemi)
15
+
16
+ ---
17
+
9
18
  `Lilact` is an extremely lightweight implementation of the React API that is
10
19
  designed to work in the browser. It can be used as a single script
11
20
  that is around `70kb` minified and around `25kb` gzipped and includes everything.