@gitlab/ui 98.1.1 → 98.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [98.1.2](https://gitlab.com/gitlab-org/gitlab-ui/compare/v98.1.1...v98.1.2) (2024-10-23)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **Breadcrumb:** Add key attribute to v-for loop ([b460ea3](https://gitlab.com/gitlab-org/gitlab-ui/commit/b460ea341ca329c62c8f9482958f79861af31e3b))
|
|
7
|
+
|
|
1
8
|
## [98.1.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v98.1.0...v98.1.1) (2024-10-22)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -194,7 +194,7 @@ var script = {
|
|
|
194
194
|
const __vue_script__ = script;
|
|
195
195
|
|
|
196
196
|
/* template */
|
|
197
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{staticClass:"gl-breadcrumbs",style:(_vm.breadcrumbStyle),attrs:{"aria-label":_vm.ariaLabel}},[_c('b-breadcrumb',_vm._g(_vm._b({staticClass:"gl-breadcrumb-list"},'b-breadcrumb',_vm.$attrs,false),_vm.$listeners),[(_vm.hasCollapsible)?_c('li',{staticClass:"gl-breadcrumb-item"},[_c('gl-disclosure-dropdown',{attrs:{"items":_vm.overflowingItems,"toggle-text":_vm.showMoreLabel,"fluid-width":"","text-sr-only":"","no-caret":"","icon":"ellipsis_h","size":"small"}})],1):_vm._e(),_vm._v(" "),_vm._l((_vm.fittingItems),function(item,index){return _c('gl-breadcrumb-item',{ref:"breadcrumbs",refInFor:true,style:(_vm.itemStyle),attrs:{"text":item.text,"href":item.href,"to":item.to,"aria-current":_vm.getAriaCurrentAttr(index)}},[(item.avatarPath)?_c('gl-avatar',{staticClass:"gl-breadcrumb-avatar-tile gl-border gl-mr-2 !gl-rounded-base",attrs:{"src":item.avatarPath,"size":16,"aria-hidden":"true","shape":"rect","data-testid":"avatar"}}):_vm._e(),_c('span',[_vm._v(_vm._s(item.text))])],1)})],2)],1)};
|
|
197
|
+
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{staticClass:"gl-breadcrumbs",style:(_vm.breadcrumbStyle),attrs:{"aria-label":_vm.ariaLabel}},[_c('b-breadcrumb',_vm._g(_vm._b({staticClass:"gl-breadcrumb-list"},'b-breadcrumb',_vm.$attrs,false),_vm.$listeners),[(_vm.hasCollapsible)?_c('li',{staticClass:"gl-breadcrumb-item"},[_c('gl-disclosure-dropdown',{attrs:{"items":_vm.overflowingItems,"toggle-text":_vm.showMoreLabel,"fluid-width":"","text-sr-only":"","no-caret":"","icon":"ellipsis_h","size":"small"}})],1):_vm._e(),_vm._v(" "),_vm._l((_vm.fittingItems),function(item,index){return _c('gl-breadcrumb-item',{key:index,ref:"breadcrumbs",refInFor:true,style:(_vm.itemStyle),attrs:{"text":item.text,"href":item.href,"to":item.to,"aria-current":_vm.getAriaCurrentAttr(index)}},[(item.avatarPath)?_c('gl-avatar',{staticClass:"gl-breadcrumb-avatar-tile gl-border gl-mr-2 !gl-rounded-base",attrs:{"src":item.avatarPath,"size":16,"aria-hidden":"true","shape":"rect","data-testid":"avatar"}}):_vm._e(),_c('span',[_vm._v(_vm._s(item.text))])],1)})],2)],1)};
|
|
198
198
|
var __vue_staticRenderFns__ = [];
|
|
199
199
|
|
|
200
200
|
/* style */
|
package/package.json
CHANGED
|
@@ -205,10 +205,10 @@ export default {
|
|
|
205
205
|
/>
|
|
206
206
|
</li>
|
|
207
207
|
|
|
208
|
-
<!-- eslint-disable-next-line vue/valid-v-for (for @vue/compat) -->
|
|
209
208
|
<gl-breadcrumb-item
|
|
210
209
|
v-for="(item, index) in fittingItems"
|
|
211
210
|
ref="breadcrumbs"
|
|
211
|
+
:key="index"
|
|
212
212
|
:text="item.text"
|
|
213
213
|
:href="item.href"
|
|
214
214
|
:style="itemStyle"
|