Repository navigation
0.3.1-preview.5
Pre-release
Pre-release
·
13 commits
to main
since this release
TKCode.Arc 0.3.1-preview.5
Added
- Audio (new packages
TKCode.Arc.Audio,TKCode.Arc.Audio.Native,TKCode.Arc.Audio.Browser): theIAudioPlayerabstraction behind the media blocks, silent by default; desktop playback through a miniaudio shim (ArcAudioNative.Use(), native libraries for Windows, macOS and Linux underruntimes/<rid>/native) and WebAssembly playback through an HTML audio element (ArcAudioBrowser.UseAsync()). - Blocks:
MediaPlayer(cover art, playlist, seek bar, previous and next, volume with mute; compact and flat variants) andFileUpload(drop zone, file list, per-file progress and status, validation, single-file mode). - Special: a new Cursor group with the
DotGrid,GravityWellandInkFluidpointer effects. - Gallery: the Northstar dashboard demo at
/demo, a copy of uiarc.dev/demo with eleven pages (Overview, Analytics, Customers, Projects, Team, Activity, Status, Integrations, Developers, Billing, Settings) and a sign-in page, built from Arc components and blocks. Open it from "Live demo" on the home page or "Demo" in the top menu.
Fixed
- ArcContentSwap: showing a control again after it was swapped out no longer throws "already has a visual parent" (switching the Webhooks inspector between Payload and Headers crashed the app).
- Charts: the value-axis tick next to the average line stays hidden, so the average label no longer overlaps it.
- Webhooks: Payload and Headers each open at their first line.
dotnet add package TKCode.Arc --version 0.3.1-preview.5Full list: CHANGELOG.md · Compare: v0.3.1-preview.4...v0.3.1-preview.5
TKCode.Arc 0.3.1-preview.5(中文)
新增
- Audio(新包
TKCode.Arc.Audio、TKCode.Arc.Audio.Native、TKCode.Arc.Audio.Browser):媒体类 Block 使用的IAudioPlayer抽象,默认静音模拟;桌面经 miniaudio 播放(ArcAudioNative.Use(),Windows、macOS、Linux 的原生库位于runtimes/<rid>/native),WebAssembly 经 HTML audio 元素播放(ArcAudioBrowser.UseAsync())。 - Blocks:
MediaPlayer(封面、播放列表、进度条、上一首与下一首、音量与静音,另有紧凑与扁平样式)和FileUpload(拖放区、文件列表、逐个文件的进度与状态、校验、单文件模式)。 - Special:新增 Cursor 分组,包含
DotGrid、GravityWell和InkFluid三个指针效果。 - Gallery:
/demo下的 Northstar 仪表盘演示,复刻 uiarc.dev/demo 的十一个页面(Overview、Analytics、Customers、Projects、Team、Activity、Status、Integrations、Developers、Billing、Settings)和登录页,全部用 Arc 组件与 Block 搭建。从首页的"查看演示"或顶栏菜单的"演示"进入。
修复
- ArcContentSwap:控件被切换出去后再次显示不再抛出 "already has a visual parent"(在 Webhooks 检查面板里切换 Payload 与 Headers 会导致程序崩溃)。
- Charts:平均线旁边的坐标刻度保持隐藏,平均值标签不再与它重叠。
- Webhooks:Payload 与 Headers 切换后都从第一行开始显示。