Skip to content

Commit

Permalink
v0.5.1 (#9)
Browse files Browse the repository at this point in the history
增加 Bottom Sheet 组件

---------

Co-authored-by: lingbopro <[email protected]>
  • Loading branch information
Minemetero and lingbopro authored Aug 11, 2024
1 parent a826556 commit c6c102f
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# 版本记录

## v0.5.1

- 增加 Bottom Sheet 组件

## v0.5.0

- 增加了 SVG 图标补全
- 修正了部分组件的 HTML 补全,精简了组件使用示例


## v0.4.0
- 增加了组件的 CSS 变量补全
- 增加了 CSS 全局变量(颜色变量)补全
Expand Down
15 changes: 15 additions & 0 deletions custom-data/components.html-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -985,6 +985,21 @@
"url": "https://github.com/apprat/sober/blob/main/src/popup-menu.ts"
}
]
},
{
"name": "s-bottom-sheet",
"description": "**底部面板 Bottom Sheet**\n\nBottom Sheet 组件用于在页面底部显示额外内容,通常作为其他组件的插槽使用。\n\n```html\n<s-bottom-sheet>\n <s-button slot=\"trigger\"> Bottom Sheet </s-button>\n <div style=\"height: 280px\">...</div>\n</s-bottom-sheet>\n```\n\n**插槽:**\n- `trigger`: 触发器",
"attributes": [],
"references": [
{
"name": "文档",
"url": "https://soberjs.com/component/bottom-sheet"
},
{
"name": "源代码",
"url": "https://github.com/apprat/sober/blob/main/src/bottom-sheet.ts"
}
]
},
{
"name": "s-snackbar",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "soberjs-vscode",
"displayName": "Sober.js",
"description": "为 Sober.js 组件库提供自动完成、悬停提示、代码片段等功能",
"version": "0.5.0",
"version": "0.5.1",
"publisher": "lingbopro",
"author": {
"name": "lingbopro",
Expand Down

0 comments on commit c6c102f

Please sign in to comment.