Skip to content

Commit

Permalink
docs: add web components adaptation usages docs (#2313)
Browse files Browse the repository at this point in the history
* docs: add web components adaptation usages docs

* docs: add web components adaptation usages docs

* docs: Best practices for using Semi ui in web components

* docs: update web components docs
  • Loading branch information
YyumeiZhang authored Jun 20, 2024
1 parent 8524885 commit 07c987f
Show file tree
Hide file tree
Showing 140 changed files with 597 additions and 136 deletions.
2 changes: 1 addition & 1 deletion content/basic/button/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 18
order: 19
category: Input
title: Button
subTitle: Button
Expand Down
2 changes: 1 addition & 1 deletion content/basic/button/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 18
order: 19
category: 输入类
title: Button 按钮
icon: doc-button
Expand Down
2 changes: 1 addition & 1 deletion content/basic/divider/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 13
order: 14
category: Basic
title: Divider
icon: doc-divider
Expand Down
2 changes: 1 addition & 1 deletion content/basic/divider/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 13
order: 14
category: 基础
title: Divider 分割线
icon: doc-divider
Expand Down
2 changes: 1 addition & 1 deletion content/basic/grid/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 14
order: 15
category: Basic
title: Grid
icon: doc-grid
Expand Down
2 changes: 1 addition & 1 deletion content/basic/grid/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 14
order: 15
category: 基础
title: Grid 栅格
icon: doc-grid
Expand Down
2 changes: 1 addition & 1 deletion content/basic/icon/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 15
order: 16
category: Basic
title: Icon
subTitle: Icon
Expand Down
2 changes: 1 addition & 1 deletion content/basic/icon/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 15
order: 16
category: 基础
title: Icon 图标
icon: doc-icons
Expand Down
2 changes: 1 addition & 1 deletion content/basic/layout/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 16
order: 17
category: Basic
title: Layout
subTitle: Layout
Expand Down
2 changes: 1 addition & 1 deletion content/basic/layout/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 16
order: 17
category: 基础
title: Layout 布局
icon: doc-layout
Expand Down
2 changes: 1 addition & 1 deletion content/basic/space/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 19
order: 20
category: basic
title: Space
icon: doc-space
Expand Down
2 changes: 1 addition & 1 deletion content/basic/space/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 19
order: 20
category: 基础
title: Space 间距
icon: doc-space
Expand Down
2 changes: 1 addition & 1 deletion content/basic/tokens/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 17
order: 18
category: Basic
title: Tokens
icon: doc-token
Expand Down
2 changes: 1 addition & 1 deletion content/basic/tokens/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 17
order: 18
category: 基础
title: Tokens 设计变量
icon: doc-token
Expand Down
2 changes: 1 addition & 1 deletion content/basic/typography/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 20
order: 21
category: Basic
title: Typography
subTitle: Typography
Expand Down
2 changes: 1 addition & 1 deletion content/basic/typography/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 20
order: 21
category: 基础
title: Typography 版式
icon: doc-typography
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/banner/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 69
order: 70
category: Feedback
title: Banner
subTitle: Banner
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/banner/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 69
order: 70
category: 反馈类
title: Banner 通知横幅
icon: doc-banner
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/notification/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 70
order: 71
category: Feedback
title: Notification
subTitle: Notification
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/notification/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 70
order: 71
category: 反馈类
title: Notification 通知
icon: doc-notification
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/popconfirm/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 71
order: 72
category: Feedback
title: Popconfirm
subTitle: Popconfirm
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/popconfirm/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 71
order: 72
category: 反馈类
title: Popconfirm 气泡确认框
icon: doc-popconfirm
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/progress/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 72
order: 73
category: Feedback
title: Progress
subTitle: Progress
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/progress/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 72
order: 73
category: 反馈类
title: Progress 进度条
icon: doc-progress
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/skeleton/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 73
order: 74
category: Feedback
title: Skeleton
subTitle: Skeleton
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/skeleton/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 73
order: 74
category: 反馈类
title: Skeleton 骨架屏
icon: doc-skeleton
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/spin/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 74
order: 75
category: Feedback
title: Spin
subTitle: Spin
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/spin/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 74
order: 75
category: 反馈类
title: Spin 加载器
icon: doc-spin
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/toast/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 75
order: 76
category: Feedback
title: Toast
subTitle: Toast
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/toast/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 75
order: 76
category: 反馈类
title: Toast 提示
icon: doc-toast
Expand Down
2 changes: 1 addition & 1 deletion content/input/autocomplete/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 21
order: 22
category: Input
title: AutoComplete
icon: doc-autocomplete
Expand Down
2 changes: 1 addition & 1 deletion content/input/autocomplete/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 21
order: 22
category: 输入类
title: AutoComplete 自动完成
icon: doc-autocomplete
Expand Down
2 changes: 1 addition & 1 deletion content/input/cascader/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 22
order: 23
category: Input
title: Cascader
subTitle: Cascade
Expand Down
2 changes: 1 addition & 1 deletion content/input/cascader/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 22
order: 23
category: 输入类
title: Cascader 级联选择
icon: doc-cascader
Expand Down
2 changes: 1 addition & 1 deletion content/input/checkbox/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 23
order: 24
category: Input
title: Checkbox
subTitle: Checkbox
Expand Down
2 changes: 1 addition & 1 deletion content/input/checkbox/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 23
order: 24
category: 输入类
title: Checkbox 复选框
icon: doc-checkbox
Expand Down
2 changes: 1 addition & 1 deletion content/input/datepicker/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 24
order: 25
category: Input
title: DatePicker
subTitle: Date Selector
Expand Down
2 changes: 1 addition & 1 deletion content/input/datepicker/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 24
order: 25
category: 输入类
title: DatePicker 日期选择器
icon: doc-datepicker
Expand Down
2 changes: 1 addition & 1 deletion content/input/form/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 25
order: 26
category: Input
title: Form
subTitle: Form
Expand Down
2 changes: 1 addition & 1 deletion content/input/form/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 25
order: 26
category: 输入类
title: Form 表单
icon: doc-form
Expand Down
2 changes: 1 addition & 1 deletion content/input/input/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 26
order: 27
category: Input
title: Input
subTitle: Input
Expand Down
2 changes: 1 addition & 1 deletion content/input/input/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 26
order: 27
category: 输入类
title: Input 输入框
icon: doc-input
Expand Down
2 changes: 1 addition & 1 deletion content/input/inputnumber/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 27
order: 28
category: Input
title: InputNumber
subTitle: InputNumber
Expand Down
2 changes: 1 addition & 1 deletion content/input/inputnumber/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 27
order: 28
category: 输入类
title: InputNumber 数字输入框
icon: doc-inputnumber
Expand Down
2 changes: 1 addition & 1 deletion content/input/radio/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 28
order: 29
category: Input
title: Radio
subTitle: Radio
Expand Down
2 changes: 1 addition & 1 deletion content/input/radio/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 28
order: 29
category: 输入类
title: Radio 单选框
icon: doc-radio
Expand Down
2 changes: 1 addition & 1 deletion content/input/rating/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 29
order: 30
category: Input
title: Rating
subTitle: Rating
Expand Down
2 changes: 1 addition & 1 deletion content/input/rating/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 29
order: 30
category: 输入类
title: Rating 评分
icon: doc-rating
Expand Down
2 changes: 1 addition & 1 deletion content/input/select/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 30
order: 31
category: Input
title: Select
subTitle: Select
Expand Down
2 changes: 1 addition & 1 deletion content/input/select/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 30
order: 31
category: 输入类
title: Select 选择器
icon: doc-select
Expand Down
Loading

0 comments on commit 07c987f

Please sign in to comment.