feat(statustag): support bg statusTag #450
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#448
Previewer
添加功能
添加带有背景色的状态标签
支持自定义 icon
修改
移除 showBorder 属性,使用 type 替换,支持
deafult | outline | fill
三种类型,分别对应 无边框 | 有边框 | 背景色原有的 type 属性迁移到 color 属性上,内置 6 种类型,warning | error | success | run | stopped | frozen
符合 UI5.0 的色阶规范;支持自定义 color 颜色(支持 RGB 和 十六进制),在 fill 类型下,背景色是 color + 0.3 的透明度组合而成原有的 type 属性迁移到 color 属性上,内置 8 种类型,
'blue' | 'yellow' | 'green' | 'gray' | 'red' | 'purple' | 'cyan' | 'pink'
符合 UI5.0 的色阶规范;支持自定义 color 颜色(支持 RGB 和 十六进制),在 fill 类型下,自定义 color 背景色可以通过 background 自定义,默认为是 color + 0.15 的透明度组合而成