-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core/blind): add variant property (#767)
Co-authored-by: Daniel Leroux <daniel.leroux@siemens.com>
- Loading branch information
1 parent
d044277
commit 8e2e908
Showing
24 changed files
with
486 additions
and
120 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
packages/angular-test-app/src/preview-examples/blind-variants.html
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,32 @@ | ||
<!-- | ||
SPDX-FileCopyrightText: 2023 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. | ||
--> | ||
<ix-blind icon="bulb" label="Insight" sublabel="sublabel"> | ||
<div>Insight content</div> | ||
</ix-blind> | ||
<ix-blind variant="outline" icon="bulb" label="Outline" sublabel="sublabel"> | ||
<div>Outline content</div> | ||
</ix-blind> | ||
<ix-blind icon="bulb" variant="alarm" label="Alarm" sublabel="sublabel"> | ||
<div>Alarm content</div> | ||
</ix-blind> | ||
<ix-blind icon="bulb" variant="critical" label="Critical" sublabel="sublabel"> | ||
<div>Critical content</div> | ||
</ix-blind> | ||
<ix-blind icon="bulb" variant="warning" label="Warning" sublabel="sublabel"> | ||
<div>Warning content</div> | ||
</ix-blind> | ||
<ix-blind icon="bulb" variant="info" label="Info" sublabel="sublabel"> | ||
<div>Info content</div> | ||
</ix-blind> | ||
<ix-blind icon="bulb" variant="success" label="Success" sublabel="sublabel"> | ||
<div>Success content</div> | ||
</ix-blind> | ||
<ix-blind icon="bulb" variant="neutral" label="Neutral" sublabel="sublabel"> | ||
<div>Neutral content</div> | ||
</ix-blind> |
16 changes: 16 additions & 0 deletions
16
packages/angular-test-app/src/preview-examples/blind-variants.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,16 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023 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', | ||
templateUrl: './blind.html', | ||
}) | ||
export default class Blind {} |
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
Oops, something went wrong.