-
-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Component]: Breadcrumb Component (Work in progress) #861
Draft
mouadTaoussi
wants to merge
51
commits into
oruga-ui:develop
Choose a base branch
from
mouadTaoussi:breadcrumb
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 36 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
00f6477
init breadcrumb developement
mouadTaoussi a84de3f
init breadcrumb developement
mouadTaoussi 39ad974
init breadcrumb developement
mouadTaoussi 2b90fe6
init breadcrumb developement
mouadTaoussi 882ea57
init breadcrumb developement
mouadTaoussi 6a6be85
init breadcrumb developement
mouadTaoussi 7a4cbcc
init breadcrumb developement
mouadTaoussi 575ff24
init breadcrumb developement
mouadTaoussi 640d6f1
init breadcrumb developement
mouadTaoussi f70d7dd
init breadcrumb developement
mouadTaoussi 09ea8d9
init breadcrumb developement
mouadTaoussi dd27602
init breadcrumb developement
mouadTaoussi e8415c6
router-link, a tags; add more elements to the docs
mouadTaoussi 01f9753
Merge branch 'develop' of https://github.com/mouadTaoussi/oruga into …
mouadTaoussi 8376d97
Merge branch 'oruga-ui:develop' into breadcrumb
mouadTaoussi acfc6ba
prepare to Pull request
mouadTaoussi 38fb1a6
prepare to Pull request
mouadTaoussi 152facb
Merge branch 'breadcrumb' of https://github.com/mouadTaoussi/oruga in…
mouadTaoussi 4efbb07
add inspector to docs
mouadTaoussi c3dd07d
Add descriptions for each prop, and improve them
mouadTaoussi d184468
change class prefix
mouadTaoussi dcdc4b3
Merge branch 'breadcrumb' of https://github.com/mouadTaoussi/oruga in…
mouadTaoussi 410ff47
Merge branch 'develop' into breadcrumb
mouadTaoussi 216ca1d
change config path
mouadTaoussi 9b173a8
Merge branch 'breadcrumb' of https://github.com/mouadTaoussi/oruga in…
mouadTaoussi 605a9d2
Merge branch 'oruga-ui:develop' into breadcrumb
mouadTaoussi e7662d4
Merge branch 'oruga-ui:develop' into breadcrumb
mouadTaoussi 984e6a8
remove unnecessary code
mouadTaoussi 48898e9
Merge branch 'breadcrumb' of https://github.com/mouadTaoussi/oruga in…
mouadTaoussi d44f0e9
prettier
mouadTaoussi 759c2f7
change examples path
mouadTaoussi b916416
add more examples
mouadTaoussi 3c9c588
add more examples
mouadTaoussi 80cbd4b
finishing
mouadTaoussi 1ede02f
changed active style
mouadTaoussi a06468f
changed active style and finishing
mouadTaoussi a037ab6
prepare tests
mouadTaoussi 00727cd
prepare tests
mouadTaoussi 416de14
prepare tests
mouadTaoussi 9f40b16
prepare tests
mouadTaoussi 724a633
prepare tests
mouadTaoussi b99948d
prepare tests
mouadTaoussi 18ddf61
prepare tests
mouadTaoussi a1fbf54
Merge branch 'develop' of https://github.com/oruga-ui/oruga into orug…
mouadTaoussi 2aee214
Merge branch 'oruga-ui-develop' into breadcrumb
mouadTaoussi 0bb9baa
merge
mouadTaoussi 49d619a
Merge branch 'oruga-ui:develop' into breadcrumb
mouadTaoussi ca0069c
Merge branch 'develop' into breadcrumb
mouadTaoussi 11191e5
merge
mouadTaoussi 290989f
finalising
mouadTaoussi 292c730
Merge branch 'breadcrumb' of https://github.com/mouadTaoussi/oruga in…
mouadTaoussi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,82 @@ | ||
--- | ||
title: Breadcrumb | ||
--- | ||
|
||
# Breadcrumb | ||
|
||
<div class="vp-doc"> | ||
|
||
> The classic breadcrumb, in different colors, sizes, and states | ||
|
||
</div> | ||
|
||
<div class="vp-example"> | ||
|
||
## Examples | ||
|
||
<example-breadcrumb /> | ||
|
||
</div> | ||
<div class="vp-example"> | ||
|
||
## Class props | ||
|
||
<inspector-breadcrumb-viewer /> | ||
|
||
</div> | ||
|
||
<div class="vp-doc"> | ||
|
||
## Breadcrumb component | ||
|
||
> The classic breadcrumb, in different colors, sizes, and states | ||
|
||
```html | ||
<o-breadcrumb></o-breadcrumb> | ||
``` | ||
|
||
### Props | ||
|
||
| Prop name | Description | Type | Values | Default | | ||
| --------- | ------------------------------------------------- | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| align | Position of the breadcrumb | string | `left`, `center`, `right` | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>breadcrumb: {<br> align: undefined<br>}</code> | | ||
| override | Override existing theme classes completely | boolean | - | | | ||
| separator | The breadcrumb separator between breadcrumb items | string | `has-arrow-separator`, `has-dot-separator`, `has-slash-separator`, `has-bullet-separator`, `has-succeeds-separator`, `has-chevron-separator` | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>breadcrumb: {<br> separator: undefined<br>}</code> | | ||
| size | Size of the breadcrumb | string | `small`, `medium`, `large` | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>breadcrumb: {<br> size: undefined<br>}</code> | | ||
| tag | Tag of the breadcrumb | DynamicComponent | `div`, `section ...` | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>breadcrumb: {<br> tag: "section"<br>}</code> | | ||
|
||
### Slots | ||
|
||
| Name | Description | Bindings | | ||
| ------- | ----------- | -------- | | ||
| default | | | | ||
|
||
</div> | ||
|
||
<div class="vp-doc"> | ||
|
||
## Sass variables | ||
|
||
<div class="theme-orugabase"> | ||
|
||
> Current theme ➜ _[Oruga Base](https://github.com/oruga-ui/theme-oruga)_ | ||
|
||
<p>The theme does not have any custom variables for this component.</p> | ||
</div><div class="theme-orugafull"> | ||
|
||
> Current theme ➜ _[Oruga Full](https://github.com/oruga-ui/theme-oruga)_ | ||
|
||
<p>The theme does not have any custom variables for this component.</p> | ||
</div><div class="theme-bulma"> | ||
|
||
> Current theme ➜ _[Bulma](https://github.com/oruga-ui/theme-bulma)_ | ||
|
||
<p>The theme does not have any custom variables for this component.</p> | ||
</div><div class="theme-bootstrap"> | ||
|
||
> Current theme ➜ _[Bootstrap](https://github.com/oruga-ui/theme-bootstrap)_ | ||
|
||
<p>The theme does not have any custom variables for this component.</p> | ||
</div> | ||
|
||
</div> |
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,61 @@ | ||
--- | ||
title: Breadcrumb Item | ||
--- | ||
|
||
# Breadcrumb Item | ||
|
||
<div class="vp-doc"> | ||
|
||
> The classic breadrcumb item, in different colors, sizes, and states | ||
|
||
</div> | ||
|
||
<div class="vp-example"> | ||
|
||
## Examples | ||
|
||
<example-breadcrumbitem /> | ||
|
||
</div> | ||
<div class="vp-example"> | ||
|
||
## Class props | ||
|
||
<inspector-breadcrumbitem-viewer /> | ||
|
||
</div> | ||
|
||
<div class="vp-doc"> | ||
|
||
## BreadcrumbItem component | ||
|
||
> The classic breadrcumb item, in different colors, sizes, and states | ||
|
||
```html | ||
<o-breadcrumb-item></o-breadcrumb-item> | ||
``` | ||
|
||
### Props | ||
|
||
| Prop name | Description | Type | Values | Default | | ||
| ------------- | ------------------------------------------------------------ | ---------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| active | breadcrumb item is active, works only when tag provided is a | boolean | `true`, `false` | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>breadcrumb: {<br> active: undefined<br>}</code> | | ||
| activeVariant | | string | - | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>breadcrumb: {<br> activeVariant: undefined<br>}</code> | | ||
| disabled | breadcrumb item is disabled | boolean | `true`, `false` | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>breadcrumb: {<br> disabled: undefined<br>}</code> | | ||
| iconBoth | | boolean | - | <code style='white-space: nowrap; padding: 0;'>false</code> | | ||
| iconLeft | Icon name to show on the left | string | - | | | ||
| iconPack | Icon pack to use | string | `mdi`, `fa`, `fas and any other custom icon pack` | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>breadcrumb: {<br> iconPack: undefined<br>}</code> | | ||
| iconRight | Icon name to show on the right | string | - | | | ||
| tag | breadcrumb item tag name | DynamicComponent | `li`, `a`, `router-link`, `nuxt-link (or other nuxt alias)` | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>breadcrumb: {<br> tag: "a"<br>}</code> | | ||
|
||
### Slots | ||
|
||
| Name | Description | Bindings | | ||
| ------- | ----------- | -------- | | ||
| default | | | | ||
|
||
</div> | ||
|
||
<div class="vp-doc"> | ||
|
||
</div> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thats wrong here!