@gitlab/duo-ui 10.14.0 → 10.15.0

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
+ # [10.15.0](https://gitlab.com/gitlab-org/duo-ui/compare/v10.14.0...v10.15.0) (2025-08-06)
2
+
3
+
4
+ ### Features
5
+
6
+ * add styles prop to message-map ([dd0ebf0](https://gitlab.com/gitlab-org/duo-ui/commit/dd0ebf009df46005e88e757737dc6cb737547afa))
7
+
1
8
  # [10.14.0](https://gitlab.com/gitlab-org/duo-ui/compare/v10.13.2...v10.14.0) (2025-08-06)
2
9
 
3
10
 
@@ -71,10 +71,9 @@ var script = {
71
71
  const __vue_script__ = script;
72
72
 
73
73
  /* template */
74
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"duo-chat-message gl-leading-20 gl-break-anywhere",class:[
75
- {
76
- 'gl-items-top gl-flex': _vm.hasError,
77
- } ]},[(_vm.hasError)?_c('gl-icon',{staticClass:"error-icon gl-border gl-mr-3 gl-mt-2 gl-shrink-0 gl-rounded-full gl-border-red-500 gl-text-red-600",attrs:{"name":"status_warning_borderless","size":16,"data-testid":"error"}}):_vm._e(),_vm._v(" "),_c('div',{ref:"content-wrapper",class:{ 'has-error': _vm.hasError }},[(_vm.hasError)?_c('div',{directives:[{name:"safe-html",rawName:"v-safe-html",value:(_vm.renderedError),expression:"renderedError"}],ref:"error-message"}):_c('div',[_vm._t("message",function(){return [_c('div',{directives:[{name:"safe-html",rawName:"v-safe-html",value:(_vm.messageContent),expression:"messageContent"}],ref:"content"})]},null,{ content: _vm.message.content, htmlContent: _vm.messageContent })],2)])],1)};
74
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"duo-chat-message gl-leading-20 gl-break-anywhere",class:{
75
+ 'gl-items-top gl-flex': _vm.hasError,
76
+ }},[(_vm.hasError)?_c('gl-icon',{staticClass:"error-icon gl-border gl-mr-3 gl-mt-2 gl-shrink-0 gl-rounded-full gl-border-red-500 gl-text-red-600",attrs:{"name":"status_warning_borderless","size":16,"data-testid":"error"}}):_vm._e(),_vm._v(" "),_c('div',{ref:"content-wrapper",class:{ 'has-error': _vm.hasError }},[(_vm.hasError)?_c('div',{directives:[{name:"safe-html",rawName:"v-safe-html",value:(_vm.renderedError),expression:"renderedError"}],ref:"error-message"}):_c('div',[_vm._t("message",function(){return [_c('div',{directives:[{name:"safe-html",rawName:"v-safe-html",value:(_vm.messageContent),expression:"messageContent"}],ref:"content"})]},null,{ content: _vm.message.content, htmlContent: _vm.messageContent })],2)])],1)};
78
77
  var __vue_staticRenderFns__ = [];
79
78
 
80
79
  /* style */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/duo-ui",
3
- "version": "10.14.0",
3
+ "version": "10.15.0",
4
4
  "description": "Duo UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -69,11 +69,9 @@ export default {
69
69
  <template>
70
70
  <div
71
71
  class="duo-chat-message gl-leading-20 gl-break-anywhere"
72
- :class="[
73
- {
74
- 'gl-items-top gl-flex': hasError,
75
- },
76
- ]"
72
+ :class="{
73
+ 'gl-items-top gl-flex': hasError,
74
+ }"
77
75
  >
78
76
  <gl-icon
79
77
  v-if="hasError"