lilact 0.2.0 → 0.2.2

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 (44) hide show
  1. package/README.md +4 -5
  2. package/dist/lilact.development.min.js +238 -278
  3. package/dist/lilact.development.min.js.map +1 -1
  4. package/dist/lilact.production.min.js +8139 -1
  5. package/dist/lilact.production.min.js.map +1 -1
  6. package/docs/classes/accessories.ErrorBoundary.html +8 -8
  7. package/docs/classes/accessories.Suspense.html +7 -7
  8. package/docs/classes/components.Component.html +10 -10
  9. package/docs/classes/components.HTMLComponent.html +10 -10
  10. package/docs/classes/components.RootComponent.html +10 -10
  11. package/docs/functions/components.createComponent.html +1 -1
  12. package/docs/functions/components.createRoot.html +1 -1
  13. package/docs/functions/components.render.html +1 -1
  14. package/docs/functions/hooks.createContext.html +1 -1
  15. package/docs/functions/hooks.useActionState.html +3 -2
  16. package/docs/functions/hooks.useCallback.html +1 -1
  17. package/docs/functions/hooks.useContext.html +1 -1
  18. package/docs/functions/hooks.useEffect.html +4 -3
  19. package/docs/functions/hooks.useId.html +1 -1
  20. package/docs/functions/hooks.useImperativeHandle.html +1 -1
  21. package/docs/functions/hooks.useLayoutEffect.html +4 -3
  22. package/docs/functions/hooks.useLocalStorage.html +4 -3
  23. package/docs/functions/hooks.useMemo.html +4 -3
  24. package/docs/functions/hooks.useRef.html +4 -3
  25. package/docs/functions/hooks.useTransition.html +1 -1
  26. package/docs/index.html +4 -5
  27. package/docs/static/demos/pane.jsx +31 -0
  28. package/docs/static/demos/usetransition.jsx +1 -1
  29. package/docs/static/index.html +1 -0
  30. package/docs/static/lilact.development.min.js +238 -278
  31. package/docs/static/lilact.production.min.js +8139 -1
  32. package/package.json +1 -2
  33. package/root/demos/pane.jsx +31 -0
  34. package/root/demos/usetransition.jsx +1 -1
  35. package/root/index.html +1 -0
  36. package/root/lilact.development.min.js +238 -278
  37. package/root/lilact.production.min.js +8139 -1
  38. package/src/components.jsx +4 -1
  39. package/src/hooks.jsx +55 -55
  40. package/src/misc.jsx +13 -1
  41. package/src/pane.jsx +207 -269
  42. package/webpack.config.js +1 -1
  43. package/docs/static/index 2.html +0 -95
  44. package/root/index 2.html +0 -95
package/README.md CHANGED
@@ -98,11 +98,10 @@ As a simple example Lilact can be used like this:
98
98
  </head>
99
99
  <body></body>
100
100
  <script type='text/jsx'>
101
-
102
- const { render, useState } = Lilact;
103
- function App({children}) {
104
- [...]
105
- return <div>Hello World</div>!
101
+ const { render } = Lilact;
102
+
103
+ function App() {
104
+ return <div>Hello World</div>;
106
105
  }
107
106
 
108
107
  render(<App/>, document.body);