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.
- package/lib/module/components/circular-text/circular-text-geometry.js +63 -0
- package/lib/module/components/circular-text/circular-text-geometry.js.map +1 -0
- package/lib/module/components/circular-text/index.js +146 -0
- package/lib/module/components/circular-text/index.js.map +1 -0
- package/lib/module/components/marquee/index.js +12 -5
- package/lib/module/components/marquee/index.js.map +1 -1
- package/lib/module/components/panelside/index.js +15 -417
- package/lib/module/components/panelside/index.js.map +1 -1
- package/lib/module/components/popover/index.js +119 -7
- package/lib/module/components/popover/index.js.map +1 -1
- package/lib/module/icons/index.js +24 -4
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/index.js +1 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/native/index.js +28 -0
- package/lib/module/native/index.js.map +1 -1
- package/lib/typescript/src/components/circular-text/circular-text-geometry.d.ts +39 -0
- package/lib/typescript/src/components/circular-text/circular-text-geometry.d.ts.map +1 -0
- package/lib/typescript/src/components/circular-text/index.d.ts +69 -0
- package/lib/typescript/src/components/circular-text/index.d.ts.map +1 -0
- package/lib/typescript/src/components/marquee/index.d.ts.map +1 -1
- package/lib/typescript/src/components/panelside/index.d.ts +10 -202
- package/lib/typescript/src/components/panelside/index.d.ts.map +1 -1
- package/lib/typescript/src/components/popover/index.d.ts +25 -1
- package/lib/typescript/src/components/popover/index.d.ts.map +1 -1
- package/lib/typescript/src/icons/index.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +2 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/native/index.d.ts +40 -0
- package/lib/typescript/src/native/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/circular-text/circular-text-geometry.ts +80 -0
- package/src/components/circular-text/index.tsx +217 -0
- package/src/components/marquee/index.tsx +12 -5
- package/src/components/panelside/index.tsx +16 -604
- package/src/components/popover/index.tsx +146 -4
- package/src/icons/index.tsx +23 -2
- package/src/index.ts +1 -6
- 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:
|
|
262
|
-
*
|
|
263
|
-
*
|
|
264
|
-
*
|
|
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 &&
|
|
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.
|