diff --git a/CHANGELOG.md b/CHANGELOG.md index 56b80aa97..df27959a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,13 +2,18 @@ Releases are recorded as git tags in the [Github releases](https://github.com/learningequality/kolibri-design-system/releases) page. -## Version 1.2.2 +## Version 1.3.0 - [#291] - When tracking input modality with `trackInputModality`, modality is set to keyboard only when the TAB key is pressed +- [#292] - Add `KBreadcrumbs` page to the components documentation +- [#292] - Optimize `KBreadcrumbs` to use all space available +- [#292] - Fix `KBreadcrumbs` items vertical alignment +- [#292] - Fix `KBreadcrumbs` items not collapsing when there are more instances on a page [#291]: https://github.com/learningequality/kolibri-design-system/pull/291 +[#292]: https://github.com/learningequality/kolibri-design-system/pull/292 ## Version 1.2.1 diff --git a/docs/pages/kbreadcrumbs.vue b/docs/pages/kbreadcrumbs.vue new file mode 100644 index 000000000..cd21fa1ac --- /dev/null +++ b/docs/pages/kbreadcrumbs.vue @@ -0,0 +1,67 @@ + diff --git a/docs/tableOfContents.js b/docs/tableOfContents.js index a007437e8..b7e3b0329 100644 --- a/docs/tableOfContents.js +++ b/docs/tableOfContents.js @@ -296,6 +296,11 @@ export default [ isCode: true, keywords: textRelatedKeywords, }), + new Page({ + path: '/kbreadcrumbs', + title: 'KBreadcrumbs', + isCode: true, + }), ], }), ]; diff --git a/lib/KBreadcrumbs.vue b/lib/KBreadcrumbs.vue index fc1377afa..0d99e0df6 100644 --- a/lib/KBreadcrumbs.vue +++ b/lib/KBreadcrumbs.vue @@ -13,7 +13,6 @@ size="small" :icon="showDropdown ? 'chevronUp' : 'chevronDown'" appearance="raised-button" - :style="{ verticalAlign: 'middle' }" @click="showDropdown = !showDropdown" />
{{ crumb.text }} @@ -101,7 +100,10 @@ :key="index" class="breadcrumb-visible-item-last breadcrumbs-visible-item" > - + {{ crumb.text }} @@ -115,7 +117,6 @@