浏览代码

[doc]Update for stdf@0.5.1

dufu1991 1 年之前
父节点
当前提交
874a5b5ef2

+ 4 - 0
doc/components/avatar/version.md

@@ -1,3 +1,7 @@
+## 0.5.1
+
+- [!tag|B|3|]修复未传入 altSizeObj 时的默认值问题。
+
 ## 0.4.0
 
 - [!tag|A|0|]新增头像组用法。

+ 4 - 0
doc/components/avatar/version_en.md

@@ -1,3 +1,7 @@
+## 0.5.1
+
+- [!tag|B|3|] Fix the problem of default values when altSizeObj is not passed in.
+
 ## 0.4.0
 
 - [!tag|A|0|] Add avatar component.

+ 3 - 0
doc/components/bottomSheet/version.md

@@ -0,0 +1,3 @@
+## 0.5.1
+
+- [!tag|O|0|]优化滑动动画效果。关联 [PR](https://github.com/any-tdf/stdf/pull/31)。[!contribute|mrlovables|]

+ 3 - 0
doc/components/bottomSheet/version_en.md

@@ -0,0 +1,3 @@
+## 0.5.1
+
+- [!tag|O|0|] Optimize the sliding animation effect. Related [PR](https://github.com/any-tdf/stdf/pull/31). [!contribute|mrlovables|]

+ 4 - 0
doc/components/button/guide.md

@@ -27,3 +27,7 @@
 ## 按钮组
 
 要使用按钮组可以直接通过在内部插槽放入多个元素,结合 heightOut 与 heightIn 就可以实现。需要注意的是此时点击事件就需要绑定在内部独立元素之上,另外需要通过将 Props 的 group 设置为 true,将不显示整个按钮区域的点击效果。可参考示例。
+
+## 带图标或加载
+
+通过 iconLoading 参数可以向 Button 组件内容区域前注入图标或加载效果,type 为 icon 时表示图标,loading 时表示加载效果,params 为注入的对应参数,支持传入 Icon 和 Loading 两种组件的 Props。当 type 为 loading 时,按钮默认禁用,可通过 disabledLoading 参数控制。请参考示例。

+ 4 - 0
doc/components/button/guide_en.md

@@ -27,3 +27,7 @@ If the injected class does not take effect, please add "!" before the injected c
 ## Button group
 
 To use the button group, you can directly put multiple elements in the inner slot, which can be achieved by combining heightOut and heightIn. It should be noted that the click event needs to be bound to the internal independent element at this time. In addition, by setting the group of Props to true, the click effect of the entire button area will not be displayed. Examples are available.
+
+## With icon or loading
+
+Through the iconLoading parameter, you can inject an icon or loading effect into the content area of the Button component. When type is icon, it represents an icon, and loading represents a loading effect. params is the corresponding parameter of the injected, supporting the Props of Icon and Loading two components. When type is loading, the button is disabled by default, which can be controlled by the disabledLoading parameter. Please refer to the example.

+ 4 - 0
doc/components/button/version.md

@@ -12,3 +12,7 @@
 -   [!tag|O|0|]优化。
 -   [!tag|A|0|]新增。
  -->
+
+## 0.5.1
+
+- [!tag|A|0|]支持通过传入 iconLoading 参数实现在按钮内容前显示图标或者加载。

+ 2 - 14
doc/components/button/version_en.md

@@ -1,15 +1,3 @@
-<!-- "[!tag|A|0|]" This represents a tag, where A stands for addition, B stands for bug, and O stands for optimization. The second digit represents the severity level of the bug, with 0 having no significance. -->
-<!-- "[!issue|dufu1991|]" Indicates an issue submitter, where dufu1991 is the submitter's ID. -->
-<!-- "[!contribute|dufu1991|]" Indicates a contributor, where dufu1991 is the ID of the contributor. -->
+## 0.5.1
 
-<!-- Remember to include the version number and update date. Here is an example:
-
-## 0.0.1
-
--   [!tag|B|1|]严重 BUG。[!contribute|dufu1991|][!issue|dufu1991|]
--   [!tag|B|2|]一般 BUG。
--   [!tag|B|3|]轻微 BUG。
--   [!tag|O|0|]优化。
--   [!tag|A|0|]新增。
-
- -->
+- [!tag|A|0|]Support displaying icons or loading before the button content by passing in the iconLoading parameter.

+ 3 - 0
doc/components/indexBar/version.md

@@ -0,0 +1,3 @@
+## 0.5.1
+
+- [!tag|O|0|]优化滑动动画效果。

+ 3 - 0
doc/components/indexBar/version_en.md

@@ -0,0 +1,3 @@
+## 0.5.1
+
+- [!tag|O|0|] Optimize the sliding animation effect.

+ 7 - 0
doc/guide/changelog.md

@@ -1,3 +1,10 @@
+## 0.5.1 <font size=1>2024-10-02</font>
+
+- 增强 Button 组件,详见 [Button](https://stdf.design/#/components?nav=button&tab=4)。
+- 优化 BottomSheet 组件,详见 [BottomSheet](https://stdf.design/#/components?nav=bottomSheet&tab=4)。
+- 优化 IndexBar 组件,详见 [IndexBar](https://stdf.design/#/components?nav=indexBar&tab=4)。
+- 修复 Avatar 组件,详见 [Avatar](https://stdf.design/#/components?nav=avatar&tab=4)。
+
 ## 0.5.0 <font size=1>2024-09-09</font>
 
 - 新增 Stepper 组件,详见 [Stepper](https://stdf.design/#/components?nav=stepper&tab=0)。

+ 7 - 0
doc/guide/changelog_en.md

@@ -1,3 +1,10 @@
+## 0.5.1 <font size=1>2024-10-02</font>
+
+- Optimized Button component, please see [Button](https://stdf.design/#/components?nav=button&tab=4).
+- Optimized BottomSheet component, please see [BottomSheet](https://stdf.design/#/components?nav=bottomSheet&tab=4).
+- Optimized IndexBar component, please see [IndexBar](https://stdf.design/#/components?nav=indexBar&tab=4).
+- Fixed Avatar component, please see [Avatar](https://stdf.design/#/components?nav=avatar&tab=4).
+
 ## 0.5.0 <font size=1>2024-09-09</font>
 
 - Added Stepper component, please see [Stepper](https://stdf.design/#/components?nav=stepper&tab=0).