Repository navigation
Inkra 0.10.0
·
50 commits
to main
since this release
Inkra 0.10.0
中文
- 新增
CircularSlider:完整圆环或缺口圆弧、触屏与键盘调节,中心可放图标、数值或自定义内容。 Switch新增可选圆环外观:关闭保留淡色底环,开启沿圆弧展开;切换动画可平滑反向,遵循减少动态效果设置。- 默认字体改为小赖字体,更新彩铅参数;支持关闭文字彩铅效果,改善组合字符绘制及嵌套主题的字体继承。操作和选中态铺色更柔和。
- 文档增加 29 款字体的搜索与预览、独立笔触设置、自定义主题色记忆,以及丁香、赭橙、藤黄配色;补齐圆环控件示例和图标三种外观对照。
升级提示: Slider、RangeSlider 现在默认让滑块中心到达轨道两端。需要原有端部留白时,设置 thumbAlignment="contain"。圆环外观仍需显式选择。
小赖字体的两份 WOFF2 资源合计约 11.9 MB(npm 归档压缩前的文件大小),通过 unicode-range 拆分常用字与扩展字,浏览器按所需字符范围加载。
English
- Add
CircularSliderwith full rings or open arcs, touch and keyboard input, and icon, value, or custom center content. - Add an optional circular
Switch: a quiet off-state track, animated accent arc, smooth reversal, and reduced-motion support. - Make Xiaolai the default font with updated pencil presets. Add a plain-text effect toggle and improve grapheme rendering and font inheritance across nested themes. Soften action and selection washes.
- Expand the docs with 29 searchable font choices and previews, per-font pencil settings, remembered custom colors, lilac/orange/yellow palettes, circular-control examples, and outline/filled/multicolor icon comparisons.
Migration: Slider and RangeSlider now place thumb centers at the track endpoints by default. Set thumbAlignment="contain" to retain the previous inset positioning. Circular controls remain opt-in.
The two bundled Xiaolai WOFF2 files total approximately 11.9 MB before npm archive compression. Common and extended characters use separate unicode-range resources so browsers load the ranges required by the displayed text.