lilact 0.2.3 → 0.3.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 (32) hide show
  1. package/dist/lilact.development.min.js +1 -1
  2. package/dist/lilact.development.min.js.map +1 -1
  3. package/dist/lilact.production.min.js +1 -1
  4. package/dist/lilact.production.min.js.map +1 -1
  5. package/docs/assets/navigation.js +1 -1
  6. package/docs/assets/search.js +1 -1
  7. package/docs/functions/hooks.forwardRef.html +1 -1
  8. package/docs/functions/hooks.useImperativeHandle.html +1 -1
  9. package/docs/functions/redux.combineReducers.html +12 -0
  10. package/docs/functions/redux.connect.html +1 -1
  11. package/docs/functions/timers.animationFramePromise.html +1 -1
  12. package/docs/functions/timers.clearInterval.html +1 -1
  13. package/docs/functions/timers.clearTimeout.html +1 -1
  14. package/docs/functions/timers.grabTimers.html +1 -1
  15. package/docs/functions/timers.pauseTimers.html +1 -1
  16. package/docs/functions/timers.releaseTimers.html +1 -1
  17. package/docs/functions/timers.resetTimers.html +1 -1
  18. package/docs/functions/timers.resumeTimers.html +1 -1
  19. package/docs/functions/timers.setInterval.html +1 -1
  20. package/docs/functions/timers.setTimeout.html +1 -1
  21. package/docs/functions/timers.timeoutPromise.html +1 -1
  22. package/docs/modules/redux.html +1 -1
  23. package/docs/static/lilact.development.min.js +1 -1
  24. package/docs/static/lilact.production.min.js +1 -1
  25. package/package.json +1 -1
  26. package/root/lilact.development.min.js +1 -1
  27. package/root/lilact.production.min.js +1 -1
  28. package/src/hooks.jsx +1 -2
  29. package/src/lilact.jsx +3 -7
  30. package/src/redux.jsx +60 -55
  31. package/src/timers.jsx +7 -2
  32. package/webpack.config.js +1 -1
package/src/timers.jsx CHANGED
@@ -38,11 +38,16 @@
38
38
  /**
39
39
  * Timer helpers for a promise-friendly timer framework.
40
40
  *
41
- * These functions keep the same call signatures as the standard JavaScript timer APIs where applicable (`setTimeout`/`setInterval`/`clearTimeout`/`clearInterval`), but add extra capabilities for promise-friendly control and lifecycle management. This module can “grab” timers and later pause/resume/reset/release them, plus provide promise wrappers like `timeoutPromise` and `animationFramePromise`.
41
+ * These functions keep the same call signatures as the standard JavaScript timer APIs where applicable
42
+ * (`setTimeout`/`setInterval`/`clearTimeout`/`clearInterval`),
43
+ * but add extra capabilities for promise-friendly control and lifecycle management.
44
+ *
45
+ * This module can “grab” timers and later pause/resume/reset/release them, plus provide promise wrappers
46
+ * like `timeoutPromise` and `animationFramePromise`.
42
47
  *
43
48
  * - `setTimeout` / `setInterval`: schedule callbacks (same interface as the built-ins).
44
49
  * - `clearTimeout` / `clearInterval`: cancel scheduled timers (same interface as the built-ins).
45
- * - `grabTimers` / `pauseTimers` / `resumeTimers` / `resetTimers` / `releaseTimers`: manage tracked timers (implementation-dependent behavior).
50
+ * - `grabTimers` / `pauseTimers` / `resumeTimers` / `resetTimers` / `releaseTimers`: manage tracked timers.
46
51
  * - `timeoutPromise` / `animationFramePromise`: promise-based convenience wrappers.
47
52
  */
48
53
 
package/webpack.config.js CHANGED
@@ -56,7 +56,7 @@ export default (env, argv) => {
56
56
  optimization: {
57
57
  concatenateModules: true, // scope hoisting
58
58
  moduleIds: 'deterministic', // smaller stable ids (or 'hashed')
59
- minimize: true, //mode === 'production',
59
+ minimize: true //mode === 'production',
60
60
  },
61
61
  experiments: {
62
62
  outputModule: true // enable module output