-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #282 from AuroraZiling/main
Docs Update
- Loading branch information
Showing
15 changed files
with
161 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ cache | |
temp | ||
dist | ||
pnpm-lock.yaml | ||
helper | ||
tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Expander | ||
|
||
`Expander` is a content area which can be collapsed and expanded. It has styles for all `ExpandDirections`, using custom animation behaviour and controls internally to correctly animate showing/hiding any size content. | ||
|
||
## Show | ||
|
||
<img src="/controls/data/expander.gif" /> | ||
|
||
## Example | ||
|
||
```xml | ||
<Expander ExpandDirection="Down" Header="Down Expander"> | ||
<TextBlock>Some Down Content</TextBlock> | ||
</Expander> | ||
|
||
<Expander ExpandDirection="Up" Header="Up Expander"> | ||
<TextBlock>Some Up Content</TextBlock> | ||
</Expander> | ||
|
||
<Expander ExpandDirection="Right" Header="Right Expander"> | ||
<TextBlock>Some Right Content</TextBlock> | ||
</Expander> | ||
|
||
<Expander ExpandDirection="Left" Header="Left Expander"> | ||
<TextBlock>Some Left Content</TextBlock> | ||
</Expander> | ||
``` | ||
|
||
## See Also | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/ExpanderView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/ExpanderView.axaml) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# InfoBar | ||
|
||
`InfoBar` is a control that displays a message and can be used to show specific severity message to the user. | ||
|
||
## Show | ||
|
||
<img src="/controls/notification/infobar.gif" width="300px" /> | ||
|
||
## Example | ||
|
||
```xml | ||
<suki:InfoBar | ||
Title="Info" | ||
IsOpaque="{Binding IsOpaque}" | ||
IsClosable="{Binding IsClosable}" | ||
IsOpen="{Binding IsOpen, Mode=TwoWay}" | ||
Severity="Warning" | ||
Message="Hello World!" /> | ||
``` | ||
|
||
`Severity` property allows: | ||
- Information | ||
- Success | ||
- Warning | ||
- Error | ||
|
||
## See Also | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/InfoBarView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/InfoBarView.axaml) | ||
|
||
[API: Controls/InfoBar.axaml.cs](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI/Controls/InfoBar.axaml.cs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-4.49 KB
(73%)
docs/docs/public/getting-started/introduction-default-package-list.webp
Binary file not shown.
Binary file modified
BIN
+6.6 KB
(210%)
docs/docs/public/getting-started/introduction-final-package-list.webp
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Expander | ||
|
||
`Expander` 是一个可以折叠/展开的内容容器,支持四种方向(上下左右)。 | ||
|
||
## 展示 | ||
|
||
<img src="/controls/data/expander.gif" /> | ||
|
||
## 示例 | ||
|
||
```xml | ||
<Expander ExpandDirection="Down" Header="Down Expander"> | ||
<TextBlock>Some Down Content</TextBlock> | ||
</Expander> | ||
|
||
<Expander ExpandDirection="Up" Header="Up Expander"> | ||
<TextBlock>Some Up Content</TextBlock> | ||
</Expander> | ||
|
||
<Expander ExpandDirection="Right" Header="Right Expander"> | ||
<TextBlock>Some Right Content</TextBlock> | ||
</Expander> | ||
|
||
<Expander ExpandDirection="Left" Header="Left Expander"> | ||
<TextBlock>Some Left Content</TextBlock> | ||
</Expander> | ||
``` | ||
|
||
## 参阅 | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/ExpanderView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/ExpanderView.axaml) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# InfoBar | ||
|
||
`InfoBar` 是一个提醒控件,用于向用户传达特定严重程度的信息 | ||
|
||
## 展示 | ||
|
||
<img src="/controls/notification/infobar.gif" width="300px" /> | ||
|
||
## 示例 | ||
|
||
```xml | ||
<suki:InfoBar | ||
Title="Info" | ||
IsOpaque="{Binding IsOpaque}" | ||
IsClosable="{Binding IsClosable}" | ||
IsOpen="{Binding IsOpen, Mode=TwoWay}" | ||
Severity="Warning" | ||
Message="Hello World!" /> | ||
``` | ||
|
||
`Severity` 的值: | ||
- Information | ||
- Success | ||
- Warning | ||
- Error | ||
|
||
## 参阅 | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/InfoBarView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/InfoBarView.axaml) | ||
|
||
[API: Controls/InfoBar.axaml.cs](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI/Controls/InfoBar.axaml.cs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters