@gitlab/duo-ui 15.4.0 → 15.4.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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [15.4.1](https://gitlab.com/gitlab-org/duo-ui/compare/v15.4.0...v15.4.1) (2026-01-06)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * migrate to npm trusted publishing ([c63fe65](https://gitlab.com/gitlab-org/duo-ui/commit/c63fe6575973c7e3d9cca7711be85c2836d47d26))
7
+
1
8
  # [15.4.0](https://gitlab.com/gitlab-org/duo-ui/compare/v15.3.0...v15.4.0) (2025-12-15)
2
9
 
3
10
 
@@ -2,7 +2,7 @@ import { GlButton, GlAvatar } from '@gitlab/ui';
2
2
  import { translate, sprintf } from '../../../../utils/i18n';
3
3
  import { formatLocalizedDate } from '../../../../utils/date';
4
4
  import DuoChatThreadsEmpty from './duo_chat_threads_empty';
5
- import DuoChatThreadsSkeleton from './duo_chat_threads_skeleton';
5
+ import DuoChatThreadsSkeleton from './duo_chat_threads_skeleton_loader';
6
6
  import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
7
7
 
8
8
  const i18n = {
@@ -6,14 +6,16 @@ const i18n = {
6
6
  };
7
7
  var script = {
8
8
  name: 'DuoChatThreadsSkeleton',
9
- i18n
9
+ i18n,
10
+ groups: 3,
11
+ threadItems: 2
10
12
  };
11
13
 
12
14
  /* script */
13
15
  const __vue_script__ = script;
14
16
 
15
17
  /* template */
16
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"gl-p-6"},[_c('span',{staticClass:"gl-sr-only",attrs:{"role":"status","aria-live":"polite","aria-atomic":"true"}},[_vm._v(_vm._s(_vm.$options.i18n.LOADING_THREADS))]),_vm._v(" "),_vm._l((3),function(groupIndex){return _c('div',{key:groupIndex,staticClass:"gl-mb-3"},[_c('div',{staticClass:"gl-animate-skeleton-loader gl-mb-3 gl-h-4 !gl-max-w-26 gl-rounded-default",staticStyle:{"animation-delay":"0ms"},attrs:{"data-testid":"chat-threads-skeleton-date-header"}}),_vm._v(" "),_vm._l((2),function(itemIndex){return _c('div',{key:("group" + groupIndex + "-item" + itemIndex),staticClass:"gl-mb-5 gl-flex gl-items-center gl-gap-3",staticStyle:{"animation-delay":"0ms"},attrs:{"data-testid":"chat-threads-skeleton-item"}},[_c('div',{staticClass:"gl-animate-skeleton-loader gl-h-8 gl-w-8 gl-shrink-0 gl-rounded-full"}),_vm._v(" "),_c('div',{staticClass:"gl-animate-skeleton-loader gl-h-5 !gl-max-w-48 gl-grow gl-rounded-default"})])})],2)})],2)};
18
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"gl-p-6"},[_c('span',{staticClass:"gl-sr-only",attrs:{"role":"status","aria-live":"polite","aria-atomic":"true"}},[_vm._v(_vm._s(_vm.$options.i18n.LOADING_THREADS))]),_vm._v(" "),_vm._l((_vm.$options.groups),function(groupIndex){return _c('div',{key:groupIndex,staticClass:"gl-mb-3"},[_c('div',{staticClass:"gl-animate-skeleton-loader gl-mb-3 gl-h-4 !gl-max-w-26 gl-rounded-default",attrs:{"data-testid":"chat-threads-skeleton-date-header"}}),_vm._v(" "),_vm._l((_vm.$options.threadItems),function(itemIndex){return _c('div',{key:("group" + groupIndex + "-item" + itemIndex),staticClass:"gl-mb-5 gl-flex gl-items-center gl-gap-3",attrs:{"data-testid":"chat-threads-skeleton-item"}},[_c('div',{staticClass:"gl-animate-skeleton-loader gl-h-8 gl-w-8 gl-shrink-0 gl-rounded-full"}),_vm._v(" "),_c('div',{staticClass:"gl-animate-skeleton-loader gl-h-5 !gl-max-w-48 gl-grow gl-rounded-default"})])})],2)})],2)};
17
19
  var __vue_staticRenderFns__ = [];
18
20
 
19
21
  /* style */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/duo-ui",
3
- "version": "15.4.0",
3
+ "version": "15.4.1",
4
4
  "description": "Duo UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -3,7 +3,7 @@ import { GlButton, GlAvatar } from '@gitlab/ui';
3
3
  import { sprintf, translate } from '../../../../utils/i18n';
4
4
  import { formatLocalizedDate } from '../../../../utils/date';
5
5
  import DuoChatThreadsEmpty from './duo_chat_threads_empty.vue';
6
- import DuoChatThreadsSkeleton from './duo_chat_threads_skeleton.vue';
6
+ import DuoChatThreadsSkeleton from './duo_chat_threads_skeleton_loader.vue';
7
7
 
8
8
  const i18n = {
9
9
  CHAT_HISTORY_INFO: translate(
@@ -8,6 +8,8 @@ const i18n = {
8
8
  export default {
9
9
  name: 'DuoChatThreadsSkeleton',
10
10
  i18n,
11
+ groups: 3,
12
+ threadItems: 2,
11
13
  };
12
14
  </script>
13
15
 
@@ -16,17 +18,15 @@ export default {
16
18
  <span class="gl-sr-only" role="status" aria-live="polite" aria-atomic="true">{{
17
19
  $options.i18n.LOADING_THREADS
18
20
  }}</span>
19
- <div v-for="groupIndex in 3" :key="groupIndex" class="gl-mb-3">
21
+ <div v-for="groupIndex in $options.groups" :key="groupIndex" class="gl-mb-3">
20
22
  <div
21
23
  class="gl-animate-skeleton-loader gl-mb-3 gl-h-4 !gl-max-w-26 gl-rounded-default"
22
- style="animation-delay: 0ms"
23
24
  data-testid="chat-threads-skeleton-date-header"
24
25
  ></div>
25
26
  <div
26
- v-for="itemIndex in 2"
27
+ v-for="itemIndex in $options.threadItems"
27
28
  :key="`group${groupIndex}-item${itemIndex}`"
28
29
  class="gl-mb-5 gl-flex gl-items-center gl-gap-3"
29
- style="animation-delay: 0ms"
30
30
  data-testid="chat-threads-skeleton-item"
31
31
  >
32
32
  <div class="gl-animate-skeleton-loader gl-h-8 gl-w-8 gl-shrink-0 gl-rounded-full"></div>