Files
Dylan M. Taylor 704e6a5c52 frontend: Number.parseFloat/parseInt/isFinite/isNaN (Sonar S7773) (#372)
Clears the 93 open typescript:S7773 issues (40 files), only on the lines
Sonar flagged. Same change as storytold/artcraft#2819 for the libraries
both repos share.

- `parseFloat` / `parseInt` / `NaN` → `Number.parseFloat` /
`Number.parseInt` / `Number.NaN`: the same values.
- `isFinite` / `isNaN` → `Number.isFinite` / `Number.isNaN`: they differ
only for arguments that aren't numbers, and TypeScript types the globals
as taking `number`.

Typechecked locally against main: no new errors in the 9 projects
touched (dashboard, webapp, website-next, and the input, modal,
pagedraw, pagescene, promptbox and video-editor libraries).

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Bug Fixes**
* Prompt limits now distinguish finite numeric values from non-numeric
or unlimited values, improving limit checks and display.
* Numeric inputs across prompt tools, editors, and controls retain their
existing parsing, validation, and bounds behavior.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-11-11 07:34:05 -05:00
..
2025-04-22 01:00:58 +07:00
2025-04-22 01:00:58 +07:00
2025-04-22 01:00:58 +07:00
2025-04-22 01:00:58 +07:00

@storyteller/ui-input

This library was generated with Nx.

Running unit tests

Run nx test @storyteller/ui-input to execute the unit tests via Vitest.