diff --git a/go.sum b/go.sum index e27668be2..a84acd42c 100644 --- a/go.sum +++ b/go.sum @@ -1376,8 +1376,6 @@ github.com/streamplace/go-dpop v0.0.0-20250510031900-c897158a8ad4 h1:L1fS4HJSaAy github.com/streamplace/go-dpop v0.0.0-20250510031900-c897158a8ad4/go.mod h1:bGUXY9Wd4mnd+XUrOYZr358J2f6z9QO/dLhL1SsiD+0= github.com/streamplace/indigo v0.0.0-20260218231908-939cdaf0c507 h1:e8M3qPLr37NxEjlr18TaAwGP+OVyherVjgUG5VVmgWI= github.com/streamplace/indigo v0.0.0-20260218231908-939cdaf0c507/go.mod h1:Pm2I1+iDXn/hLbF7XCg/DsZi6uDCiOo7hZGWprSM7k0= -github.com/streamplace/muxl/go v0.3.2 h1:Iyjbo9pz5Q1WRTGiVvMFQHZOHbnZas57HwtX3sjKbBU= -github.com/streamplace/muxl/go v0.3.2/go.mod h1:aCyYTW3o6c1Kush9UJ/Yv6EYMUbj8l8GTD7cHKcSxw8= github.com/streamplace/oatproxy v0.0.0-20260508220721-f8852e8dbf44 h1:b38ToXNQCvKqBlx0SeQYUOhx6uqqnrF5AL6B0Z3zzdk= github.com/streamplace/oatproxy v0.0.0-20260508220721-f8852e8dbf44/go.mod h1:j1+zdhe1IC0+PTE2rIXk2LqYn4Lz2x9SJaV3eHkQyfs= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= diff --git a/js/app/hooks/usePlatform.tsx b/js/app/hooks/usePlatform.tsx index 44b39e6cc..60536a9c7 100644 --- a/js/app/hooks/usePlatform.tsx +++ b/js/app/hooks/usePlatform.tsx @@ -7,7 +7,7 @@ function supportsHLS() { var video = document.createElement("video"); return Boolean( video.canPlayType("application/vnd.apple.mpegURL") || - video.canPlayType("audio/mpegurl"), + video.canPlayType("audio/mpegurl"), ); } diff --git a/js/components/src/components/ui/button.tsx b/js/components/src/components/ui/button.tsx index 16d98689b..0b814bdf6 100644 --- a/js/components/src/components/ui/button.tsx +++ b/js/components/src/components/ui/button.tsx @@ -33,7 +33,8 @@ const buttonVariants = cva("", { }); export interface ButtonProps - extends Omit, + extends + Omit, VariantProps { href?: string; // For web support children?: React.ReactNode; diff --git a/js/components/src/components/ui/dialog.tsx b/js/components/src/components/ui/dialog.tsx index d62b2ee17..825563c47 100644 --- a/js/components/src/components/ui/dialog.tsx +++ b/js/components/src/components/ui/dialog.tsx @@ -50,7 +50,8 @@ const dialogVariants = cva("", { }); export interface DialogProps - extends Omit, + extends + Omit, VariantProps { children?: React.ReactNode; title?: string; diff --git a/js/components/src/components/ui/input.tsx b/js/components/src/components/ui/input.tsx index 260c7c55d..181ec2d5f 100644 --- a/js/components/src/components/ui/input.tsx +++ b/js/components/src/components/ui/input.tsx @@ -25,7 +25,8 @@ const inputVariants = cva("", { }); export interface InputProps - extends Omit, + extends + Omit, VariantProps { label?: string; description?: string; diff --git a/js/components/src/components/ui/primitives/input.tsx b/js/components/src/components/ui/primitives/input.tsx index 16bcc3bbe..5d0d8bdc8 100644 --- a/js/components/src/components/ui/primitives/input.tsx +++ b/js/components/src/components/ui/primitives/input.tsx @@ -19,8 +19,10 @@ import { import { useTheme } from "../../../lib/theme/theme"; import * as tokens from "../../../lib/theme/tokens"; -export interface InputPrimitiveProps - extends Omit { +export interface InputPrimitiveProps extends Omit< + TextInputProps, + "onChange" | "onFocus" | "onBlur" +> { error?: boolean; disabled?: boolean; loading?: boolean; diff --git a/js/components/src/components/ui/text.tsx b/js/components/src/components/ui/text.tsx index 6d23fe48c..2b61eea28 100644 --- a/js/components/src/components/ui/text.tsx +++ b/js/components/src/components/ui/text.tsx @@ -61,7 +61,8 @@ const textVariants = cva("", { }); export interface TextProps - extends Omit, + extends + Omit, Omit, "color"> { // Override color to accept hex values and custom strings color?: diff --git a/js/components/src/components/ui/view.tsx b/js/components/src/components/ui/view.tsx index 45dc0e4f5..d1b1a0215 100644 --- a/js/components/src/components/ui/view.tsx +++ b/js/components/src/components/ui/view.tsx @@ -73,7 +73,8 @@ const viewVariants = cva("", { }); export interface ViewProps - extends Omit, + extends + Omit, Omit, "flex"> { // Style props style?: ViewStyle | ViewStyle[]; diff --git a/js/components/src/player-store/player-provider.tsx b/js/components/src/player-store/player-provider.tsx index 356fb5a16..09b6851e0 100644 --- a/js/components/src/player-store/player-provider.tsx +++ b/js/components/src/player-store/player-provider.tsx @@ -15,7 +15,7 @@ function randomUUID(): string { var uuid = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace( /[xy]/g, function (c) { - var r = (dt + Math.random() * 16) % 16 | 0; + var r = ((dt + Math.random() * 16) % 16) | 0; dt = Math.floor(dt / 16); return (c == "x" ? r : (r & 0x3) | 0x8).toString(16); }, diff --git a/js/components/src/player-store/player-store.tsx b/js/components/src/player-store/player-store.tsx index 0d6aafc8b..cf3c01ab3 100644 --- a/js/components/src/player-store/player-store.tsx +++ b/js/components/src/player-store/player-store.tsx @@ -78,7 +78,7 @@ export const makePlayerStore = (id?: string): StoreApi => { set(() => ({ ingestStarted: timestamp })), stopIngest: () => { - set(() => ({ + (set(() => ({ ingestLive: false, ingestConnectionState: "new", ingestStarted: null, @@ -91,7 +91,7 @@ export const makePlayerStore = (id?: string): StoreApi => { ingestStarted: null, })), 200, - ); + )); }, fullscreen: false, diff --git a/js/desktop/src/index.css b/js/desktop/src/index.css index c07d9b78d..9bfd0b159 100644 --- a/js/desktop/src/index.css +++ b/js/desktop/src/index.css @@ -1,6 +1,7 @@ body { - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, - Arial, sans-serif; + font-family: + -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, + sans-serif; margin: auto; max-width: 38rem; padding: 2rem;