Releases: any-tdf/stdf
Releases · any-tdf/stdf
v0.2.11
v0.2.10
v0.2.9
v0.2.8
- 删除部分组件无用代码。
- 格式化组件代码,方便后续其他参与成员统一代码风格。
- 考虑到组件代码本身体积也不大,还是决定直接将组件源码放入 NPM 包中,方便用户直接查看源码,避免了需要去 GitHub 上查看源码的麻烦。
- 多语言引入路径改回
stdf/lang/xx_XX
,详见 国际化。
- Removed unnecessary code from some components.
- Formatted component code to facilitate consistent code style among other contributors in the future.
- Considering that the size of the component code itself is not large, we decided to directly include the component source code in the NPM package. This makes it easier for users to view the source code directly and avoids the hassle of having to view the source code on GitHub.
- Reverted the language import path back to
stdf/lang/xx_XX
, as described in the Internationalization section.
v0.2.7
v0.2.5
- Icon 修改 path 默认值,详见 Icon。
- 新增了
rollup-plugin-stdf-icon
插件,将指定文件夹内的所有 SVG 组合为 SVG symbol,详见 rollup-plugin-stdf-icon,方便 STDF 的 Icon 组件使用。 - 配合
rollup-plugin-stdf-icon
更新create-stdf
。
- The default value of
path
in the Icon component has been modified. Please refer to the Icon section for more details. - A new plugin called
rollup-plugin-stdf-icon
has been added. It combines all SVG files in a specified folder into an SVG symbol for the convenience of using the Icon component in STDF. Please see rollup-plugin-stdf-icon for more information. - The
create-stdf
project has been updated to work withrollup-plugin-stdf-icon
.
v0.2.4
- 0.2.2 ~ 0.2.4 优化文件结构,精简 NPM 包体积。抵制
node_modules
体积膨胀和依赖黑洞,从我做起! - 多语言引入路径由
stdf/lang/xx_XX
改为stdf/dist/lang/xx_XX
,详见 国际化。
- 0.2.2 ~ 0.2.4 Optimized file structure and reduced NPM package size. Say no to bloated
node_modules
and dependency black holes! - Updated the language import path from
stdf/lang/xx_XX
tostdf/dist/lang/xx_XX
. For more details, please refer to the Internation.
v0.2.1
v0.2.0
- 适配 Svelte 4 同时也兼容 Svelte 3。目前仅需适配一项,即升级部分组件过渡动画,参考 Svelte 4 migration guide - Transitions are local by default。
- 增强 Swiper 组件,详见 Swiper。
- Adapted for Svelte 4 while remaining compatible with Svelte 3. Currently, only one item needs to be adapted, which is to upgrade the transition animation of some components. Refer to the Svelte 4 migration guide - Transitions are local by default.
- Enhanced the Swiper component. For details, see Swiper.
v0.1.5
- 修改组件内部的触摸事件为指针事件,使其同时支持鼠标、触控笔和触摸等各种输入方式,包含组件:BottomSheet、IndexBar、Slider、Swiper。关联 Issues。[!issue|shenliqing|]
- Modify the touch events in the components to pointer events, enabling support for various input methods such as mouse, stylus, and touch. The components include BottomSheet, IndexBar, Slider, and Swiper. Related to Issues. [!issue|shenliqing|]