Skip to content
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

feat(breadcrumb): create new component #163

Merged
merged 23 commits into from
Jul 19, 2023
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
128cf03
feat(breadcrumb): init new component
denilsonrp Jun 28, 2023
91322b8
style(alert): fix css properties order
denilsonrp Jun 28, 2023
dc5ab9d
test(breadcrumb): fix breadcrumb render test
denilsonrp Jun 28, 2023
140ff0e
feat(breadcrumb): add key to ion-breadcrumb
denilsonrp Jun 28, 2023
14be410
feat(breadcrumb): change caret-forward icon to sharp
denilsonrp Jun 28, 2023
95ca6f1
Merge branch 'main' of github.com:juntossomosmais/atomium into feat/b…
felipefialho Jun 28, 2023
c69e1be
Merge branch 'main' into feat/breadcrumb
felipefialho Jun 28, 2023
cbd6a8b
Merge branch 'main' into feat/breadcrumb
felipefialho Jun 28, 2023
102ae35
style: add hover state
denilsonrp Jun 30, 2023
89762a4
style: use margin instead margin-inline
denilsonrp Jul 3, 2023
cae5a9a
chore(tokens): add rgb tokens (#181)
lupy100 Jul 12, 2023
2fde126
chore(tokens): remove variable not used to remove sonar bug (#180)
RodrigoRVSN Jul 12, 2023
fa90b1f
feat(breadcrumb): add back button to mobile version
denilsonrp Jul 13, 2023
6325f00
Merge branch 'main' into feat/breadcrumb
denilsonrp Jul 13, 2023
028b736
fix(breadcrumb): use rupture syntax instead media
denilsonrp Jul 13, 2023
4fd5bbb
docs: add new ADR about use onclick in breadcrumb component
denilsonrp Jul 14, 2023
71b1260
Merge branch 'main' into feat/breadcrumb
denilsonrp Jul 14, 2023
53d3dba
Merge branch 'main' into feat/breadcrumb
denilsonrp Jul 18, 2023
89357e2
fix: rename ADR doc
denilsonrp Jul 18, 2023
eaa3a39
fix(breadcrumb): use querySelectorAll to get all breadcrumbs in stories
denilsonrp Jul 18, 2023
893a9c4
feat(breadcrumb): add previous item text to mobile back button
denilsonrp Jul 18, 2023
74556c0
Merge branch 'main' into feat/breadcrumb
denilsonrp Jul 18, 2023
914f54b
feat(breadcrumb): add svg icons
denilsonrp Jul 18, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,26 @@ const createBreadcrumb = () => {

<script>
;(function () {
const atomBreadcrumb = document.querySelector('atom-breadcrumb')
const breadcrumbsElements = document.querySelectorAll('atom-breadcrumb')

atomBreadcrumb.items = [
{
text: 'First level',
title: 'Go to first level',
redirect: () => console.log('/first'),
},
{
text: 'Intermediary level',
title: 'Go to intermediary level',
redirect: () => console.log('/intermediary'),
},
{
text: 'Current level',
title: 'This is the current level',
},
]
breadcrumbsElements.forEach((atomBreadcrumb) => {
atomBreadcrumb.items = [
{
text: 'First level',
title: 'Go to first level',
redirect: () => console.log('/first'),
},
{
text: 'Intermediary level',
title: 'Go to intermediary level',
redirect: () => console.log('/intermediary'),
},
{
text: 'Current level',
title: 'This is the current level',
},
]
})
felipefialho marked this conversation as resolved.
Show resolved Hide resolved
})()
</script>
`
Expand Down