panelui-native 0.83.0 → 0.84.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 (39) hide show
  1. package/lib/module/components/circular-text/circular-text-geometry.js +63 -0
  2. package/lib/module/components/circular-text/circular-text-geometry.js.map +1 -0
  3. package/lib/module/components/circular-text/index.js +146 -0
  4. package/lib/module/components/circular-text/index.js.map +1 -0
  5. package/lib/module/components/marquee/index.js +12 -5
  6. package/lib/module/components/marquee/index.js.map +1 -1
  7. package/lib/module/components/panelside/index.js +15 -417
  8. package/lib/module/components/panelside/index.js.map +1 -1
  9. package/lib/module/components/popover/index.js +119 -7
  10. package/lib/module/components/popover/index.js.map +1 -1
  11. package/lib/module/icons/index.js +24 -4
  12. package/lib/module/icons/index.js.map +1 -1
  13. package/lib/module/index.js +1 -0
  14. package/lib/module/index.js.map +1 -1
  15. package/lib/module/native/index.js +28 -0
  16. package/lib/module/native/index.js.map +1 -1
  17. package/lib/typescript/src/components/circular-text/circular-text-geometry.d.ts +39 -0
  18. package/lib/typescript/src/components/circular-text/circular-text-geometry.d.ts.map +1 -0
  19. package/lib/typescript/src/components/circular-text/index.d.ts +69 -0
  20. package/lib/typescript/src/components/circular-text/index.d.ts.map +1 -0
  21. package/lib/typescript/src/components/marquee/index.d.ts.map +1 -1
  22. package/lib/typescript/src/components/panelside/index.d.ts +10 -202
  23. package/lib/typescript/src/components/panelside/index.d.ts.map +1 -1
  24. package/lib/typescript/src/components/popover/index.d.ts +25 -1
  25. package/lib/typescript/src/components/popover/index.d.ts.map +1 -1
  26. package/lib/typescript/src/icons/index.d.ts.map +1 -1
  27. package/lib/typescript/src/index.d.ts +2 -1
  28. package/lib/typescript/src/index.d.ts.map +1 -1
  29. package/lib/typescript/src/native/index.d.ts +40 -0
  30. package/lib/typescript/src/native/index.d.ts.map +1 -1
  31. package/package.json +1 -1
  32. package/src/components/circular-text/circular-text-geometry.ts +80 -0
  33. package/src/components/circular-text/index.tsx +217 -0
  34. package/src/components/marquee/index.tsx +12 -5
  35. package/src/components/panelside/index.tsx +16 -604
  36. package/src/components/popover/index.tsx +146 -4
  37. package/src/icons/index.tsx +23 -2
  38. package/src/index.ts +1 -6
  39. package/src/native/index.ts +55 -0
@@ -258,12 +258,19 @@ function MarqueeRoot({
258
258
  };
259
259
 
260
260
  /*
261
- * Whether there is motion here at all: content that measured, a speed to
262
- * travel it at, and a `playing` that has not already stopped it from
263
- * outside. A control offering to pause a still marquee is the same lie as a
264
- * disabled button with no reason on it.
261
+ * Whether there is motion here at all: copies on screen, a speed to travel
262
+ * them at, and a `playing` that has not already stopped it from outside. A
263
+ * control offering to pause a still marquee is the same lie as a disabled
264
+ * button with no reason on it.
265
+ *
266
+ * The copy count, not the period. Content that measured while its container
267
+ * did not has a period — it is the content's own length — and no copies to
268
+ * draw, because there is no width to lay them across. Asking the period
269
+ * meant a row that renders nothing still reported itself live, and a group
270
+ * drew a pause control for it: a marquee that is one button and no content,
271
+ * which is the shape of the bug this replaced.
265
272
  */
266
- const live = playing && !reducedMotion && period > 0 && speed > 0;
273
+ const live = playing && !reducedMotion && layout.count > 0 && speed > 0;
267
274
 
268
275
  // Reported to the group, if there is one, so its single control can be
269
276
  // decided the same way this one's is.