-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(docs/general): improvements (#1307)
- Loading branch information
1 parent
b4a306e
commit db678ea
Showing
99 changed files
with
1,427 additions
and
820 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
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 |
---|---|---|
|
@@ -2,6 +2,9 @@ | |
SPDX-FileCopyrightText: 2024 Siemens AG | ||
SPDX-License-Identifier: MIT | ||
This source code is licensed under the MIT license found in the | ||
LICENSE file in the root directory of this source tree. | ||
--> | ||
|
||
Lukas Maurer <[email protected]> | ||
|
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
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
26 changes: 26 additions & 0 deletions
26
packages/angular-test-app/src/preview-examples/toggle-button-primary.ts
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,26 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2024 Siemens AG | ||
* | ||
* SPDX-License-Identifier: MIT | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-example', | ||
template: ` | ||
<ix-toggle-button variant="Primary">Normal</ix-toggle-button> | ||
<ix-toggle-button variant="Primary" Pressed> Pressed </ix-toggle-button> | ||
<ix-toggle-button variant="Primary" disabled> Disabled </ix-toggle-button> | ||
<ix-toggle-button variant="Primary" disabled loading> Loading </ix-toggle-button> | ||
`, | ||
styles: [ | ||
` | ||
@import 'example-styles/dist/toggle-buttons.css'; | ||
`, | ||
], | ||
}) | ||
export default class Buttons {} |
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
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
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 |
---|---|---|
@@ -1,41 +1,48 @@ | ||
import Playground from '@site/src/components/PlaygroundV2'; | ||
import Props from './../auto-generated/ix-avatar/props.md'; | ||
import Events from './../auto-generated/ix-avatar/events.md'; | ||
import Tags from './../auto-generated/ix-avatar/tags.md'; | ||
|
||
# Avatar | ||
import Playground from '@site/src/components/PlaygroundV2'; | ||
|
||
<Tags /> | ||
## Examples | ||
|
||
## Default | ||
### Basic | ||
|
||
<Playground | ||
name="avatar" | ||
examplesByName> | ||
name="avatar" | ||
examplesByName> | ||
</Playground> | ||
|
||
## Initials | ||
### Initials | ||
|
||
<Playground | ||
name="avatar-initials" | ||
examplesByName> | ||
name="avatar-initials" | ||
examplesByName> | ||
</Playground> | ||
|
||
## Image | ||
### Image | ||
|
||
<Playground | ||
name="avatar-image" | ||
examplesByName> | ||
name="avatar-image" | ||
examplesByName> | ||
</Playground> | ||
|
||
## Header | ||
### Header | ||
|
||
You can also add the avatar to the header which will turn it into a clickable button. | ||
You can also add the avatar to the header, which will turn it into a clickable button. | ||
|
||
<Playground name="application-header" examplesByName noMargin height="21rem"></Playground> | ||
<Playground | ||
name="application-header" | ||
examplesByName | ||
noMargin | ||
height="21rem"> | ||
</Playground> | ||
|
||
## Properties | ||
## API | ||
|
||
### Props | ||
### Properties | ||
|
||
<Props /> | ||
|
||
### Events | ||
|
||
<Events /> |
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 |
---|---|---|
@@ -1,42 +1,45 @@ | ||
import { ApiTableSinceTag } from '@site/src/components/ApiTableTag'; | ||
|
||
import TabItem from '@theme/TabItem'; | ||
import Preview from '@site/src/components/Preview'; | ||
import Props from './../auto-generated/ix-blind/props.md'; | ||
import Events from './../auto-generated/ix-blind/events.md'; | ||
|
||
import Playground from '@site/src/components/PlaygroundV2' | ||
|
||
## Examples | ||
|
||
<Playground | ||
name="blind" | ||
height="16rem" | ||
examplesByName> | ||
name="blind" | ||
height="16rem" | ||
examplesByName> | ||
</Playground> | ||
|
||
### Header actions | ||
|
||
<ApiTableSinceTag message="1.5.0" /> | ||
|
||
<Playground | ||
name="blind-header-actions" | ||
height="16rem" | ||
examplesByName> | ||
name="blind-header-actions" | ||
height="16rem" | ||
examplesByName> | ||
</Playground> | ||
|
||
### Variants | ||
|
||
<ApiTableSinceTag message="2.0.0" /> | ||
|
||
<Playground | ||
name="blind-variants" | ||
height="16rem" | ||
examplesByName> | ||
name="blind-variants" | ||
height="55rem" | ||
examplesByName> | ||
</Playground> | ||
|
||
### Properties | ||
## API | ||
|
||
#### Props | ||
### Properties | ||
|
||
<Props /> | ||
|
||
#### Events | ||
### Events | ||
|
||
<Events /> |
Oops, something went wrong.