@gitlab/duo-ui 6.0.0 → 6.0.1
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 +7 -0
- package/dist/components/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu_search_item.js +1 -1
- package/package.json +1 -1
- package/src/components/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu_search_item.vue +6 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [6.0.1](https://gitlab.com/gitlab-org/duo-ui/compare/v6.0.0...v6.0.1) (2025-01-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* tidy up context icon search popover target ([9e0cbf6](https://gitlab.com/gitlab-org/duo-ui/commit/9e0cbf64adec45a98450d652ad7335a182f24fc7))
|
|
7
|
+
|
|
1
8
|
# [6.0.0](https://gitlab.com/gitlab-org/duo-ui/compare/v5.0.1...v6.0.0) (2024-12-21)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -33,7 +33,7 @@ var script = {
|
|
|
33
33
|
const __vue_script__ = script;
|
|
34
34
|
|
|
35
35
|
/* template */
|
|
36
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"gl-flex gl-flex-col"},[_c('div',{staticClass:"gl-flex gl-items-center"},[_c('gl-icon',{staticClass:"gl-mr-2 gl-shrink-0",attrs:{"name":_vm.contextItem.metadata.icon,"data-testid":"category-icon"}}),_vm._v(" "),_c('gl-truncate',{staticClass:"gl-min-w-0",attrs:{"text":_vm.contextItem.metadata.title,"position":"middle","data-testid":"item-title"}}),_vm._v(" "),_c('
|
|
36
|
+
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"gl-flex gl-flex-col"},[_c('div',{staticClass:"gl-flex gl-items-center"},[_c('gl-icon',{staticClass:"gl-mr-2 gl-shrink-0",attrs:{"name":_vm.contextItem.metadata.icon,"data-testid":"category-icon"}}),_vm._v(" "),_c('gl-truncate',{staticClass:"gl-min-w-0",attrs:{"text":_vm.contextItem.metadata.title,"position":"middle","data-testid":"item-title"}})],1),_vm._v(" "),(_vm.contextItem.metadata.secondaryText)?_c('div',{staticClass:"gl-align-items-center gl-mt-1 gl-flex gl-shrink-0 gl-whitespace-nowrap gl-text-secondary",attrs:{"data-testid":"item-secondary-text"}},[_c('gl-truncate',{staticClass:"gl-min-w-0",attrs:{"id":("context-icon-secondary-text-" + (_vm.contextItem.id)),"position":"middle","text":_vm.contextItem.metadata.secondaryText}}),_vm._v(" "),_c('duo-chat-context-item-popover',{attrs:{"context-item":_vm.contextItem,"target":("context-icon-secondary-text-" + (_vm.contextItem.id)),"placement":"left"}})],1):_vm._e()])};
|
|
37
37
|
var __vue_staticRenderFns__ = [];
|
|
38
38
|
|
|
39
39
|
/* style */
|
package/package.json
CHANGED
|
@@ -40,17 +40,6 @@ export default {
|
|
|
40
40
|
class="gl-min-w-0"
|
|
41
41
|
data-testid="item-title"
|
|
42
42
|
/>
|
|
43
|
-
<gl-icon
|
|
44
|
-
:id="`info-icon-${contextItem.id}`"
|
|
45
|
-
name="information-o"
|
|
46
|
-
class="gl-ml-2 gl-shrink-0 gl-cursor-pointer gl-text-secondary"
|
|
47
|
-
:size="12"
|
|
48
|
-
/>
|
|
49
|
-
<duo-chat-context-item-popover
|
|
50
|
-
:context-item="contextItem"
|
|
51
|
-
:target="`info-icon-${contextItem.id}`"
|
|
52
|
-
placement="left"
|
|
53
|
-
/>
|
|
54
43
|
</div>
|
|
55
44
|
<div
|
|
56
45
|
v-if="contextItem.metadata.secondaryText"
|
|
@@ -58,10 +47,16 @@ export default {
|
|
|
58
47
|
data-testid="item-secondary-text"
|
|
59
48
|
>
|
|
60
49
|
<gl-truncate
|
|
50
|
+
:id="`context-icon-secondary-text-${contextItem.id}`"
|
|
61
51
|
class="gl-min-w-0"
|
|
62
52
|
position="middle"
|
|
63
53
|
:text="contextItem.metadata.secondaryText"
|
|
64
54
|
/>
|
|
55
|
+
<duo-chat-context-item-popover
|
|
56
|
+
:context-item="contextItem"
|
|
57
|
+
:target="`context-icon-secondary-text-${contextItem.id}`"
|
|
58
|
+
placement="left"
|
|
59
|
+
/>
|
|
65
60
|
</div>
|
|
66
61
|
</div>
|
|
67
62
|
</template>
|