@sdxc/kit 2026.11.17 → 2026.11.18

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 (2) hide show
  1. package/changelog.jsonl +2 -0
  2. package/package.json +2 -2
package/changelog.jsonl CHANGED
@@ -2103,3 +2103,5 @@
2103
2103
  {"release":"2026.11.17","package":"@sdxc/ui","type":"fix","breaking":false,"title":"Link a streamed LogViewer line only to an http(s) address","body":"Before, a line streamed into a running step of `LogViewer` from `@sdxc/ui/app` copied the\n`lineHref` template straight into its number link, so a `javascript:` or `data:` template\nbecame a link that ran script when clicked (code scanning alert js/xss-through-dom).\n\nNow the streamed line resolves the link against the page and sets it only when it is an\nhttp(s) URL; any other scheme leaves the line number unlinked. Lines the server draws are\nunchanged. Consumers whose `lineHref` returns a path, a fragment or an http(s) URL need no\naction."}
2104
2104
  {"release":"2026.11.17","package":"@sdxc/ui","type":"feat","breaking":false,"title":"Add VideoCard, VideoShelf and EpisodeList to @sdxc/ui/video","body":"`@sdxc/ui/video` now holds the pieces a video library browses with, beside\nthe player.\n\n`VideoCard` is a title as one link: 16:9 or 2:3 art, an optional badge, a\nwatched bar and its name and meta line.\n\n <VideoCard\n href=\"/watch/tidewater/2-3\"\n title=\"Tidewater\"\n art={<img src={still} alt=\"\" />}\n meta=\"S2:E3 · Lee Shore\"\n progress={0.42}\n progressLabel=\"42% watched\"\n />\n\n`VideoShelf` is a titled row of `VideoShelf.Item`s that scrolls sideways\nwith scroll snap and works without script. Its `VideoShelfSync` island\nreveals paging buttons at the edges, steps a screenful at a time and\ndisables each button at its end. Map the island in your browser entry the\nway you map the player:\n\n \"@sdxc/ui/video/video-shelf\": () => import(\"@sdxc/ui/video/video-shelf\"),\n\n <VideoShelf id=\"trending\" title=\"Trending now\"\n labels={{ previous: \"Previous titles\", next: \"More titles\" }}>\n {titles.map((t) => <VideoShelf.Item><VideoCard {...t} /></VideoShelf.Item>)}\n </VideoShelf>\n\nSet `--ui-video-shelf-inset` to your page gutter so the first card lines up\nwith the page while the row runs edge to edge.\n\n`EpisodeList` is a season as an `<ol>` of `EpisodeList.Item` links, each with\na still, number, running time, synopsis and watched bar, with `current`\nmarking the episode the viewer is on. In a narrow list the synopsis wraps\nunder the still.\n\nEvery watched bar is decorative. Pass `progressLabel` with the words a\nscreen reader should hear."}
2105
2105
  {"release":"2026.11.17","package":"@sdxc/ui","type":"feat","breaking":false,"title":"Add TitleHero to @sdxc/ui/video and ProfilePicker to @sdxc/ui/app","body":"`TitleHero` is a video title's hero: its art edge to edge behind the page,\nfaded into the page at its foot and toward the text, with `.Eyebrow`,\n`.Title` (level 1 or 2), `.Facts`, `.Rating`, `.Summary` and `.Actions`.\nSet `--ui-title-hero-offset` to a sticky top bar's height, so the art\nstarts at the window's edge while the text clears the bar. Set\n`--ui-title-hero-inset` to your page gutter. The art drifts in slightly and\nholds still under reduced motion.\n\n <TitleHero size=\"title\" art={<img src={art} alt=\"\" />} aria-labelledby=\"t\">\n <TitleHero.Eyebrow>Original</TitleHero.Eyebrow>\n <TitleHero.Title id=\"t\" level={1}>Tidewater</TitleHero.Title>\n <TitleHero.Facts><TitleHero.Rating>16+</TitleHero.Rating><span>2026</span></TitleHero.Facts>\n <TitleHero.Summary>A harbour town keeps one secret a season.</TitleHero.Summary>\n <TitleHero.Actions><LinkButton href=\"/watch/tidewater\">Play</LinkButton></TitleHero.Actions>\n </TitleHero>\n\n`ProfilePicker` is the \"who is using this?\" screen of an account several\npeople share. Each `.Profile` is a submit button with its own `formAction`,\nso one form around the picker posts the pick without script. `current`\nrings the profile in use."}
2106
+ {"release":"2026.11.18","package":"@sdxc/ui","type":"feat","breaking":false,"title":"Add a stage layout to VideoPlayer for watching films and episodes","body":"`VideoPlayer` gains `layout=\"stage\"`. The page layout stays the default and\nis unchanged. A stage fills the box it is given with the picture: no frame,\nno side column, and the bar floating over the foot. While the video plays\nand the pointer rests for a moment, the bar and any overlay fade, and they\ncome back on any movement, press or key. On a stage, the page's keys drive\nthe player: Space or K plays and pauses, the arrows skip ten seconds, F\ngoes full screen and M mutes. Fields, menus and dialogs keep their own\nkeys.\n\nNew parts:\n\n- `VideoPlayer.Overlay`: content over the top of the screen, such as the\n way back and what is playing. It shows without script.\n- `VideoPlayer.Group align=\"start\" | \"center\" | \"end\"`: clusters bar\n controls. A centred group stays centred, draws its Play button larger,\n and takes its own row on a narrow player.\n- `VideoPlayer.Skip seconds={-10}`: steps back or forward.\n- `VideoPlayer.Mute`: turns the sound off and on (`aria-pressed`).\n- `VideoPlayer.Heading`: what is playing, centred in the bar.\n\n <div style=\"height: 100dvh\">\n <VideoPlayer layout=\"stage\" tone=\"theater\" duration={3000}>\n <VideoPlayer.Screen label=\"Lee Shore\" captionsLabel=\"English\" chaptersLabel=\"Chapters\">\n <VideoPlayer.Source src=\"/203.mp4\" type=\"video/mp4\" />\n <VideoPlayer.Overlay><a href=\"/title/tidewater\">Back</a></VideoPlayer.Overlay>\n <VideoPlayer.Controls label=\"Player controls\">\n <VideoPlayer.Progress label=\"Seek\" />\n <VideoPlayer.Group align=\"start\"><VideoPlayer.Time /></VideoPlayer.Group>\n <VideoPlayer.Group align=\"center\">\n <VideoPlayer.Skip seconds={-10} label=\"Back 10 seconds\" />\n <VideoPlayer.Play label=\"Play\" pauseLabel=\"Pause\" />\n <VideoPlayer.Skip seconds={10} label=\"Forward 10 seconds\" />\n </VideoPlayer.Group>\n <VideoPlayer.Group align=\"end\">\n <VideoPlayer.Mute label=\"Mute\" unmuteLabel=\"Unmute\" />\n <VideoPlayer.Fullscreen label=\"Full screen\" />\n </VideoPlayer.Group>\n </VideoPlayer.Controls>\n </VideoPlayer.Screen>\n </VideoPlayer>\n </div>\n\nBar icons now size through `--ui-video-player-icon-size`, which a stage\nsets larger. `VideoCard` also gains `badgePlacement=\"bottom\"`, which sets\nits badge at the foot of the art, clear of the watched bar. No consumer\naction is needed."}
2107
+ {"release":"2026.11.18","package":"@sdxc/ui","type":"fix","breaking":false,"title":"Keep VideoPlayer's control bar when a frame redraws the player","body":"Before: when a page swapped a `VideoPlayer` through a frame reload that\nreused its elements, the frame put back the server's markup. The browser's\nnative controls returned over a hidden custom bar, and a new set of\n`<source>`s never loaded, so the old file kept playing. This happened, for\nexample, when moving to the next episode in place.\n\nAfter: the player notices it was redrawn. It wires itself to the video it\nnow holds, puts the custom bar back, and reloads the video when its sources\nchanged. No consumer action is needed."}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sdxc/kit",
3
- "version": "2026.11.17",
3
+ "version": "2026.11.18",
4
4
  "description": "The sdxc command line: start a Remix v3 app, generate its files, copy UI components into it and upgrade it",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -33,7 +33,7 @@
33
33
  "peerDependencies": {
34
34
  "remix": "3.2.0"
35
35
  },
36
- "gitHead": "d0a98d9f22d429ae5da7d5e75b4c0f55d311e758",
36
+ "gitHead": "e298b0e963bc3012e6b6982bfee40a237fc93d1e",
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },