-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support custom header elements
- Loading branch information
Birrer, Iwan
committed
Nov 13, 2024
1 parent
513eb55
commit 63804ad
Showing
27 changed files
with
1,186 additions
and
307 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export const components = ["six-alert","six-avatar","six-badge","six-button","six-card","six-checkbox","six-datepicker","six-details","six-dialog","six-drawer","six-dropdown","six-error","six-error-page","six-file-list","six-file-list-item","six-file-upload","six-footer","six-group-label","six-header","six-icon","six-icon-button","six-input","six-item-picker","six-language-switcher","six-layout-grid","six-main-container","six-menu","six-menu-divider","six-menu-item","six-menu-label","six-picto","six-progress-bar","six-progress-ring","six-radio","six-range","six-root","six-search-field","six-select","six-sidebar","six-sidebar-item","six-sidebar-item-group","six-spinner","six-stage-indicator","six-switch","six-tab","six-tab-group","six-tab-panel","six-tag","six-textarea","six-tile","six-timepicker","six-tooltip"]; | ||
export const components = ["six-alert","six-avatar","six-badge","six-button","six-card","six-checkbox","six-datepicker","six-details","six-dialog","six-drawer","six-dropdown","six-error","six-error-page","six-file-list","six-file-list-item","six-file-upload","six-footer","six-group-label","six-header","six-header-item","six-icon","six-icon-button","six-input","six-item-picker","six-language-switcher","six-layout-grid","six-logo","six-main-container","six-menu","six-menu-divider","six-menu-item","six-menu-label","six-picto","six-progress-bar","six-progress-ring","six-radio","six-range","six-root","six-search-field","six-select","six-sidebar","six-sidebar-item","six-sidebar-item-group","six-spinner","six-stage-indicator","six-switch","six-tab","six-tab-group","six-tab-panel","six-tag","six-textarea","six-tile","six-timepicker","six-tooltip"]; |
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,59 @@ | ||
# six-header | ||
|
||
|
||
## Header Item | ||
|
||
<docs-demo-six-header-item-0></docs-demo-six-header-item-0> | ||
|
||
```html | ||
<six-header-item> | ||
<six-icon-button name="search"></six-icon-button> | ||
</six-header-item> | ||
``` | ||
|
||
|
||
### Active State | ||
|
||
<docs-demo-six-header-item-1></docs-demo-six-header-item-1> | ||
|
||
```html | ||
<six-header-item active> | ||
<six-icon-button name="search"></six-icon-button> | ||
</six-header-item> | ||
``` | ||
|
||
|
||
|
||
<!-- Auto Generated Below --> | ||
|
||
|
||
## Properties | ||
|
||
| Property | Attribute | Description | Type | Default | | ||
| -------- | --------- | ----------------------------------------------- | --------- | ------- | | ||
| `active` | `active` | Whether the header item is displayed as active. | `boolean` | `false` | | ||
|
||
|
||
## Shadow Parts | ||
|
||
| Part | Description | | ||
| -------- | ----------- | | ||
| `"base"` | | | ||
|
||
|
||
## Dependencies | ||
|
||
### Used by | ||
|
||
- [six-header](six-header.html) | ||
|
||
### Graph | ||
```mermaid | ||
graph TD; | ||
six-header --> six-header-item | ||
style six-header-item fill:#f9f,stroke:#333,stroke-width:4px | ||
``` | ||
|
||
---------------------------------------------- | ||
|
||
Copyright © 2021-present SIX-Group |
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,70 @@ | ||
# six-header | ||
|
||
|
||
## SIX Logo | ||
|
||
SIX or BME Logo as as svg. | ||
|
||
### Default Logo | ||
|
||
<docs-demo-six-logo-0></docs-demo-six-logo-0> | ||
|
||
```html | ||
<six-logo brand="six" ></six-logo> | ||
``` | ||
|
||
|
||
### BME Logo | ||
|
||
<docs-demo-six-logo-1></docs-demo-six-logo-1> | ||
|
||
```html | ||
<six-logo brand="bme" ></six-logo> | ||
``` | ||
|
||
|
||
### Custom Height | ||
|
||
Use the `--height` css variable to set a custom height. | ||
|
||
<docs-demo-six-logo-2></docs-demo-six-logo-2> | ||
|
||
```html | ||
<six-logo brand="six" style="--height: 40px" ></six-logo> | ||
``` | ||
|
||
|
||
|
||
<!-- Auto Generated Below --> | ||
|
||
|
||
## Properties | ||
|
||
| Property | Attribute | Description | Type | Default | | ||
| -------- | --------- | ---------------------------------------------------------- | ---------------- | ------- | | ||
| `brand` | `brand` | The brand of the logo. Either six or bme. Defaults to six. | `"bme" \| "six"` | `'six'` | | ||
|
||
|
||
## CSS Custom Properties | ||
|
||
| Name | Description | | ||
| ---------- | ----------------------- | | ||
| `--height` | The height of the logo. | | ||
|
||
|
||
## Dependencies | ||
|
||
### Used by | ||
|
||
- [six-header](six-header.html) | ||
|
||
### Graph | ||
```mermaid | ||
graph TD; | ||
six-header --> six-logo | ||
style six-logo fill:#f9f,stroke:#333,stroke-width:4px | ||
``` | ||
|
||
---------------------------------------------- | ||
|
||
Copyright © 2021-present SIX-Group |
Oops, something went wrong.