@gitlab/ui 101.16.0 → 102.1.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.
Files changed (115) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist/components/experimental/duo/chat/components/duo_chat_context/constants.js +9 -0
  3. package/dist/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_details_modal/duo_chat_context_item_details_modal.js +11 -0
  4. package/dist/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu.js +8 -0
  5. package/dist/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu_category_items.js +8 -0
  6. package/dist/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu_search_item.js +8 -0
  7. package/dist/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu_search_items.js +8 -0
  8. package/dist/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu_search_items_loading.js +8 -0
  9. package/dist/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_popover/duo_chat_context_item_popover.js +8 -0
  10. package/dist/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_selections/duo_chat_context_item_selections.js +8 -0
  11. package/dist/components/experimental/duo/chat/components/duo_chat_context/mock_context_data.js +8 -0
  12. package/dist/components/experimental/duo/chat/components/duo_chat_context/utils.js +8 -0
  13. package/dist/components/experimental/duo/chat/components/duo_chat_conversation/duo_chat_conversation.js +8 -0
  14. package/dist/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.js +8 -0
  15. package/dist/components/experimental/duo/chat/components/duo_chat_message/buttons_utils.js +8 -0
  16. package/dist/components/experimental/duo/chat/components/duo_chat_message/constants.js +9 -0
  17. package/dist/components/experimental/duo/chat/components/duo_chat_message/copy_code_element.js +8 -0
  18. package/dist/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.js +8 -0
  19. package/dist/components/experimental/duo/chat/components/duo_chat_message/utils.js +9 -0
  20. package/dist/components/experimental/duo/chat/components/duo_chat_message_sources/duo_chat_message_sources.js +8 -0
  21. package/dist/components/experimental/duo/chat/components/duo_chat_predefined_prompts/duo_chat_predefined_prompts.js +8 -0
  22. package/dist/components/experimental/duo/chat/constants.js +9 -0
  23. package/dist/components/experimental/duo/chat/duo_chat.js +8 -0
  24. package/dist/components/experimental/duo/chat/markdown_renderer.js +8 -1
  25. package/dist/components/experimental/duo/chat/mock_data.js +8 -0
  26. package/dist/components/experimental/duo/user_feedback/user_feedback.js +8 -0
  27. package/dist/components/experimental/duo/user_feedback/user_feedback_modal.js +1 -0
  28. package/dist/components/experimental/duo/workflow/components/duo_workflow_panel/duo_workflow_panel.js +8 -0
  29. package/dist/components/experimental/duo/workflow/components/duo_workflow_prompt/duo_workflow_prompt.js +8 -0
  30. package/dist/index.css +1 -1
  31. package/dist/index.css.map +1 -1
  32. package/dist/vendor/bootstrap-vue/src/components/button/button.js +0 -4
  33. package/dist/vendor/bootstrap-vue/src/components/collapse/collapse.js +1 -2
  34. package/dist/vendor/bootstrap-vue/src/components/nav/nav.js +6 -9
  35. package/dist/vendor/bootstrap-vue/src/components/tabs/tabs.js +6 -30
  36. package/dist/vendor/bootstrap-vue/src/constants/env.js +1 -10
  37. package/dist/vendor/bootstrap-vue/src/constants/key-codes.js +1 -2
  38. package/dist/vendor/bootstrap-vue/src/index.js +1 -11
  39. package/dist/vendor/bootstrap-vue/src/mixins/form-radio-check-group.js +2 -16
  40. package/dist/vendor/bootstrap-vue/src/mixins/form-radio-check.js +14 -104
  41. package/dist/vendor/bootstrap-vue/src/utils/plugins.js +1 -41
  42. package/package.json +1 -1
  43. package/src/components/experimental/duo/chat/components/duo_chat_context/constants.js +9 -0
  44. package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_details_modal/duo_chat_context_item_details_modal.vue +12 -0
  45. package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu.md +12 -3
  46. package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu.vue +9 -0
  47. package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu_category_items.vue +9 -0
  48. package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu_search_item.vue +9 -0
  49. package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu_search_items.vue +9 -0
  50. package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu_search_items_loading.vue +9 -0
  51. package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_popover/duo_chat_context_item_popover.vue +9 -0
  52. package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_selections/duo_chat_context_item_selections.vue +9 -0
  53. package/src/components/experimental/duo/chat/components/duo_chat_context/mock_context_data.js +9 -0
  54. package/src/components/experimental/duo/chat/components/duo_chat_context/utils.js +9 -0
  55. package/src/components/experimental/duo/chat/components/duo_chat_conversation/duo_chat_conversation.md +9 -0
  56. package/src/components/experimental/duo/chat/components/duo_chat_conversation/duo_chat_conversation.vue +9 -0
  57. package/src/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.md +9 -0
  58. package/src/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.scss +9 -0
  59. package/src/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.vue +9 -0
  60. package/src/components/experimental/duo/chat/components/duo_chat_message/buttons_utils.js +9 -0
  61. package/src/components/experimental/duo/chat/components/duo_chat_message/constants.js +9 -0
  62. package/src/components/experimental/duo/chat/components/duo_chat_message/copy_code_element.js +9 -0
  63. package/src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.scss +9 -0
  64. package/src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.vue +9 -0
  65. package/src/components/experimental/duo/chat/components/duo_chat_message/insert_code_snippet_element.js +9 -0
  66. package/src/components/experimental/duo/chat/components/duo_chat_message/utils.js +9 -0
  67. package/src/components/experimental/duo/chat/components/duo_chat_message_sources/duo_chat_message_sources.md +9 -0
  68. package/src/components/experimental/duo/chat/components/duo_chat_message_sources/duo_chat_message_sources.vue +9 -0
  69. package/src/components/experimental/duo/chat/components/duo_chat_predefined_prompts/duo_chat_predefined_prompts.md +9 -0
  70. package/src/components/experimental/duo/chat/components/duo_chat_predefined_prompts/duo_chat_predefined_prompts.vue +9 -0
  71. package/src/components/experimental/duo/chat/constants.js +9 -0
  72. package/src/components/experimental/duo/chat/duo_chat.md +8 -0
  73. package/src/components/experimental/duo/chat/duo_chat.scss +9 -0
  74. package/src/components/experimental/duo/chat/duo_chat.vue +9 -0
  75. package/src/components/experimental/duo/chat/markdown_renderer.js +9 -0
  76. package/src/components/experimental/duo/chat/mock_data.js +9 -0
  77. package/src/components/experimental/duo/chat/variables.scss +9 -1
  78. package/src/components/experimental/duo/user_feedback/user_feedback.md +9 -0
  79. package/src/components/experimental/duo/user_feedback/user_feedback.vue +9 -0
  80. package/src/components/experimental/duo/user_feedback/user_feedback_modal.vue +6 -0
  81. package/src/components/experimental/duo/workflow/components/duo_workflow_panel/duo_workflow_panel.md +9 -0
  82. package/src/components/experimental/duo/workflow/components/duo_workflow_panel/duo_workflow_panel.vue +9 -0
  83. package/src/components/experimental/duo/workflow/components/duo_workflow_prompt/duo_workflow_prompt.md +9 -0
  84. package/src/components/experimental/duo/workflow/components/duo_workflow_prompt/duo_workflow_prompt.vue +9 -0
  85. package/src/vendor/bootstrap/scss/_reboot.scss +2 -5
  86. package/src/vendor/bootstrap-vue/src/components/button/MODIFICATIONS.md +16 -0
  87. package/src/vendor/bootstrap-vue/src/components/button/README.md +0 -39
  88. package/src/vendor/bootstrap-vue/src/components/button/button.js +0 -4
  89. package/src/vendor/bootstrap-vue/src/components/button/button.spec.js +0 -36
  90. package/src/vendor/bootstrap-vue/src/components/collapse/collapse.js +1 -1
  91. package/src/vendor/bootstrap-vue/src/components/form-checkbox/README.md +3 -174
  92. package/src/vendor/bootstrap-vue/src/components/form-checkbox/form-checkbox-group.spec.js +0 -117
  93. package/src/vendor/bootstrap-vue/src/components/form-checkbox/form-checkbox.spec.js +0 -409
  94. package/src/vendor/bootstrap-vue/src/components/form-radio/README.md +0 -129
  95. package/src/vendor/bootstrap-vue/src/components/form-radio/form-radio-group.spec.js +0 -112
  96. package/src/vendor/bootstrap-vue/src/components/form-radio/form-radio.spec.js +0 -365
  97. package/src/vendor/bootstrap-vue/src/components/nav/README.md +0 -20
  98. package/src/vendor/bootstrap-vue/src/components/nav/nav.js +7 -9
  99. package/src/vendor/bootstrap-vue/src/components/nav/nav.spec.js +0 -67
  100. package/src/vendor/bootstrap-vue/src/components/tabs/README.md +45 -187
  101. package/src/vendor/bootstrap-vue/src/components/tabs/tabs.js +6 -29
  102. package/src/vendor/bootstrap-vue/src/components/tabs/tabs.spec.js +0 -58
  103. package/src/vendor/bootstrap-vue/src/constants/env.js +0 -14
  104. package/src/vendor/bootstrap-vue/src/constants/key-codes.js +0 -1
  105. package/src/vendor/bootstrap-vue/src/index.js +0 -17
  106. package/src/vendor/bootstrap-vue/src/mixins/form-radio-check-group.js +3 -20
  107. package/src/vendor/bootstrap-vue/src/mixins/form-radio-check.js +19 -114
  108. package/src/vendor/bootstrap-vue/src/utils/config.spec.js +0 -18
  109. package/src/vendor/bootstrap-vue/src/utils/plugins.js +0 -33
  110. package/dist/vendor/bootstrap-vue/src/browser.js +0 -8
  111. package/dist/vendor/bootstrap-vue/src/components/index.js +0 -11
  112. package/dist/vendor/bootstrap-vue/src/constants/classes.js +0 -3
  113. package/src/vendor/bootstrap-vue/src/browser.js +0 -9
  114. package/src/vendor/bootstrap-vue/src/components/index.js +0 -11
  115. package/src/vendor/bootstrap-vue/src/constants/classes.js +0 -1
@@ -1,4 +1,13 @@
1
1
  <script>
2
+ /**
3
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
4
+ *
5
+ * Please use the corresponding component in Duo-UI going forward.
6
+ * All future development and maintenance for Duo components should take place in Duo-UI.
7
+ *
8
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
9
+ */
10
+
2
11
  import { translate } from '../../../../../../../utils/i18n';
3
12
 
4
13
  export default {
@@ -1,4 +1,13 @@
1
1
  <script>
2
+ /**
3
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
4
+ *
5
+ * Please use the corresponding component in Duo-UI going forward.
6
+ * All future development and maintenance for Duo components should take place in Duo-UI.
7
+ *
8
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
9
+ */
10
+
2
11
  import GlAlert from '../../../../../../base/alert/alert.vue';
3
12
  import GlIcon from '../../../../../../base/icon/icon.vue';
4
13
  import GlPopover from '../../../../../../base/popover/popover.vue';
@@ -1,4 +1,13 @@
1
1
  <script>
2
+ /**
3
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
4
+ *
5
+ * Please use the corresponding component in Duo-UI going forward.
6
+ * All future development and maintenance for Duo components should take place in Duo-UI.
7
+ *
8
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
9
+ */
10
+
2
11
  import uniqueId from 'lodash/uniqueId';
3
12
  import GlIcon from '../../../../../../base/icon/icon.vue';
4
13
  import GlToken from '../../../../../../base/token/token.vue';
@@ -1,3 +1,12 @@
1
+ /**
2
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+ *
4
+ * Please use the corresponding component in Duo-UI going forward.
5
+ * All future development and maintenance for Duo components should take place in Duo-UI.
6
+ *
7
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ */
9
+
1
10
  import {
2
11
  CONTEXT_ITEM_CATEGORY_DEPENDENCY,
3
12
  CONTEXT_ITEM_CATEGORY_FILE,
@@ -1,3 +1,12 @@
1
+ /**
2
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+ *
4
+ * Please use the corresponding component in Duo-UI going forward.
5
+ * All future development and maintenance for Duo components should take place in Duo-UI.
6
+ *
7
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ */
9
+
1
10
  import { translate } from '../../../../../../utils/i18n';
2
11
  import {
3
12
  CONTEXT_ITEM_CATEGORY_FILE,
@@ -1,3 +1,12 @@
1
+ <!--
2
+ This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+
4
+ Please use the corresponding component in Duo-UI going forward.
5
+ All future development and maintenance for Duo components should take place in Duo-UI.
6
+
7
+ For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ -->
9
+
1
10
  A component that lists messages in a conversation, and presents an optional delimiter to
2
11
  mark the beginning of the conversation.
3
12
 
@@ -1,4 +1,13 @@
1
1
  <script>
2
+ /**
3
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
4
+ *
5
+ * Please use the corresponding component in Duo-UI going forward.
6
+ * All future development and maintenance for Duo components should take place in Duo-UI.
7
+ *
8
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
9
+ */
10
+
2
11
  import GlDuoChatMessage from '../duo_chat_message/duo_chat_message.vue';
3
12
  import { translate } from '../../../../../../utils/i18n';
4
13
 
@@ -1 +1,10 @@
1
+ <!--
2
+ This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+
4
+ Please use the corresponding component in Duo-UI going forward.
5
+ All future development and maintenance for Duo components should take place in Duo-UI.
6
+
7
+ For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ -->
9
+
1
10
  The Duo Chat loader. Is shown while waiting for the chat response.
@@ -1,3 +1,12 @@
1
+ /**
2
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+ *
4
+ * Please use the corresponding component in Duo-UI going forward.
5
+ * All future development and maintenance for Duo components should take place in Duo-UI.
6
+ *
7
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ */
9
+
1
10
  .duo-chat-loader {
2
11
  @apply gl-flex;
3
12
  @apply gl-text-gray-500;
@@ -1,4 +1,13 @@
1
1
  <script>
2
+ /**
3
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
4
+ *
5
+ * Please use the corresponding component in Duo-UI going forward.
6
+ * All future development and maintenance for Duo components should take place in Duo-UI.
7
+ *
8
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
9
+ */
10
+
2
11
  import { translate } from '../../../../../../utils/i18n';
3
12
  import GlSprintf from '../../../../../utilities/sprintf/sprintf.vue';
4
13
  import GlAnimatedLoaderIcon from '../../../../../base/animated_icon/animated_loader_icon.vue';
@@ -1,3 +1,12 @@
1
+ /**
2
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+ *
4
+ * Please use the corresponding component in Duo-UI going forward.
5
+ * All future development and maintenance for Duo components should take place in Duo-UI.
6
+ *
7
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ */
9
+
1
10
  import iconsPath from '@gitlab/svgs/dist/icons.svg';
2
11
 
3
12
  export const createButton = (title = 'Insert the code snippet', iconId = 'insert') => {
@@ -1,3 +1,12 @@
1
+ /**
2
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+ *
4
+ * Please use the corresponding component in Duo-UI going forward.
5
+ * All future development and maintenance for Duo components should take place in Duo-UI.
6
+ *
7
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ */
9
+
1
10
  export const DUO_CODE_SCRIM_TOP_CLASS = 'scrim-top';
2
11
  export const DUO_CODE_SCRIM_BOTTOM_CLASS = 'scrim-bottom';
3
12
  export const DUO_CODE_SCRIM_OFFSET = 16;
@@ -1,3 +1,12 @@
1
+ /**
2
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+ *
4
+ * Please use the corresponding component in Duo-UI going forward.
5
+ * All future development and maintenance for Duo components should take place in Duo-UI.
6
+ *
7
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ */
9
+
1
10
  import { createButton } from './buttons_utils';
2
11
 
3
12
  export class CopyCodeElement extends HTMLElement {
@@ -1,3 +1,12 @@
1
+ /**
2
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+ *
4
+ * Please use the corresponding component in Duo-UI going forward.
5
+ * All future development and maintenance for Duo components should take place in Duo-UI.
6
+ *
7
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ */
9
+
1
10
  @import '../../variables';
2
11
 
3
12
  .duo-chat-message {
@@ -1,4 +1,13 @@
1
1
  <script>
2
+ /**
3
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
4
+ *
5
+ * Please use the corresponding component in Duo-UI going forward.
6
+ * All future development and maintenance for Duo components should take place in Duo-UI.
7
+ *
8
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
9
+ */
10
+
2
11
  import throttle from 'lodash/throttle';
3
12
  import GlIcon from '../../../../../base/icon/icon.vue';
4
13
  import GlAnimatedLoaderIcon from '../../../../../base/animated_icon/animated_loader_icon.vue';
@@ -1,3 +1,12 @@
1
+ /**
2
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+ *
4
+ * Please use the corresponding component in Duo-UI going forward.
5
+ * All future development and maintenance for Duo components should take place in Duo-UI.
6
+ *
7
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ */
9
+
1
10
  import { createButton } from './buttons_utils';
2
11
 
3
12
  const CODE_MARKDOWN_CLASS = 'js-markdown-code';
@@ -1,3 +1,12 @@
1
+ /**
2
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+ *
4
+ * Please use the corresponding component in Duo-UI going forward.
5
+ * All future development and maintenance for Duo components should take place in Duo-UI.
6
+ *
7
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ */
9
+
1
10
  export const concatUntilEmpty = (arr) => {
2
11
  if (!arr) return '';
3
12
 
@@ -1 +1,10 @@
1
+ <!--
2
+ This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+
4
+ Please use the corresponding component in Duo-UI going forward.
5
+ All future development and maintenance for Duo components should take place in Duo-UI.
6
+
7
+ For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ -->
9
+
1
10
  A simple component to list documentation sources for a documentation-related AI response messages.
@@ -1,4 +1,13 @@
1
1
  <script>
2
+ /**
3
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
4
+ *
5
+ * Please use the corresponding component in Duo-UI going forward.
6
+ * All future development and maintenance for Duo components should take place in Duo-UI.
7
+ *
8
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
9
+ */
10
+
2
11
  import { translatePlural } from '../../../../../../utils/i18n';
3
12
  import GlIcon from '../../../../../base/icon/icon.vue';
4
13
  import GlLink from '../../../../../base/link/link.vue';
@@ -1 +1,10 @@
1
+ <!--
2
+ This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+
4
+ Please use the corresponding component in Duo-UI going forward.
5
+ All future development and maintenance for Duo components should take place in Duo-UI.
6
+
7
+ For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ -->
9
+
1
10
  The component is a simple list of strings representing possible prompts to AI.
@@ -1,4 +1,13 @@
1
1
  <script>
2
+ /**
3
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
4
+ *
5
+ * Please use the corresponding component in Duo-UI going forward.
6
+ * All future development and maintenance for Duo components should take place in Duo-UI.
7
+ *
8
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
9
+ */
10
+
2
11
  import GlButton from '../../../../../base/button/button.vue';
3
12
 
4
13
  export default {
@@ -1,3 +1,12 @@
1
+ /**
2
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+ *
4
+ * Please use the corresponding component in Duo-UI going forward.
5
+ * All future development and maintenance for Duo components should take place in Duo-UI.
6
+ *
7
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ */
9
+
1
10
  export const CHAT_RESET_MESSAGE = '/reset';
2
11
  export const CHAT_CLEAR_MESSAGE = '/clear';
3
12
  export const CHAT_INCLUDE_MESSAGE = '/include';
@@ -1,3 +1,11 @@
1
+ <!--
2
+ This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+
4
+ Please use the corresponding component in Duo-UI going forward.
5
+ All future development and maintenance for Duo components should take place in Duo-UI.
6
+
7
+ For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ -->
1
9
  The component represents the complete Duo Chat feature.
2
10
 
3
11
  The component provides a configurable chat UI interface. The primary use is communication with
@@ -1,3 +1,12 @@
1
+ /**
2
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+ *
4
+ * Please use the corresponding component in Duo-UI going forward.
5
+ * All future development and maintenance for Duo components should take place in Duo-UI.
6
+ *
7
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ */
9
+
1
10
  @import 'variables';
2
11
 
3
12
  .duo-chat {
@@ -1,4 +1,13 @@
1
1
  <script>
2
+ /**
3
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
4
+ *
5
+ * Please use the corresponding component in Duo-UI going forward.
6
+ * All future development and maintenance for Duo components should take place in Duo-UI.
7
+ *
8
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
9
+ */
10
+
2
11
  import throttle from 'lodash/throttle';
3
12
  import emptySvg from '@gitlab/svgs/dist/illustrations/empty-state/empty-activity-md.svg';
4
13
  import GlDropdownItem from '../../../base/dropdown/dropdown_item.vue';
@@ -1,3 +1,12 @@
1
+ /**
2
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+ *
4
+ * Please use the corresponding component in Duo-UI going forward.
5
+ * All future development and maintenance for Duo components should take place in Duo-UI.
6
+ *
7
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ */
9
+
1
10
  // eslint-disable-next-line no-restricted-imports
2
11
  import { Marked } from 'marked';
3
12
  import markedBidi from 'marked-bidi';
@@ -1,3 +1,12 @@
1
+ /**
2
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+ *
4
+ * Please use the corresponding component in Duo-UI going forward.
5
+ * All future development and maintenance for Duo components should take place in Duo-UI.
6
+ *
7
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ */
9
+
1
10
  import { setStoryTimeout } from '../../../../utils/test_utils';
2
11
  import {
3
12
  DOCUMENTATION_SOURCE_TYPES,
@@ -1 +1,9 @@
1
- $duo-chat-scrim-gradient: linear-gradient(to bottom, var(--gl-color-alpha-0), var(--gl-background-color-default));
1
+ /**
2
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+ *
4
+ * Please use the corresponding component in Duo-UI going forward.
5
+ * All future development and maintenance for Duo components should take place in Duo-UI.
6
+ *
7
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ */
9
+ $duo-chat-scrim-gradient: linear-gradient(to bottom, var(--gl-color-alpha-0), var(--gl-background-color-default));
@@ -1,3 +1,12 @@
1
+ <!--
2
+ This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+
4
+ Please use the corresponding component in Duo-UI going forward.
5
+ All future development and maintenance for Duo components should take place in Duo-UI.
6
+
7
+ For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ -->
9
+
1
10
  The main entry point component for gathering the user feedback for AI features.
2
11
 
3
12
  The component consists of a textual button and a connected modal with the actual form, emitting
@@ -1,4 +1,13 @@
1
1
  <script>
2
+ /**
3
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
4
+ *
5
+ * Please use the corresponding component in Duo-UI going forward.
6
+ * All future development and maintenance for Duo components should take place in Duo-UI.
7
+ *
8
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
9
+ */
10
+
2
11
  import GlAlert from '../../../base/alert/alert.vue';
3
12
  import GlButton from '../../../base/button/button.vue';
4
13
  import FeedbackModal from './user_feedback_modal.vue';
@@ -1,3 +1,9 @@
1
+ /** * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
2
+ * * Please use the corresponding component in Duo-UI going forward. * All future development and
3
+ maintenance for Duo components should take place in Duo-UI. * * For more details, see the migration
4
+ epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in
5
+ #g_duo_chat. */
6
+
1
7
  <script>
2
8
  import GlModal from '../../../base/modal/modal.vue';
3
9
  import GlAlert from '../../../base/alert/alert.vue';
@@ -1,3 +1,12 @@
1
+ <!--
2
+ This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+
4
+ Please use the corresponding component in Duo-UI going forward.
5
+ All future development and maintenance for Duo components should take place in Duo-UI.
6
+
7
+ For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ -->
9
+
1
10
  This is the main UI panel used in the larger Duo Workflow Plan UI for the IDE
2
11
  and WebUI.
3
12
 
@@ -1,4 +1,13 @@
1
1
  <script>
2
+ /**
3
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
4
+ *
5
+ * Please use the corresponding component in Duo-UI going forward.
6
+ * All future development and maintenance for Duo components should take place in Duo-UI.
7
+ *
8
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
9
+ */
10
+
2
11
  import GlIcon from '../../../../../base/icon/icon.vue';
3
12
  import GlCollapse from '../../../../../base/collapse/collapse.vue';
4
13
  import GlButton from '../../../../../base/button/button.vue';
@@ -1,3 +1,12 @@
1
+ <!--
2
+ This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
3
+
4
+ Please use the corresponding component in Duo-UI going forward.
5
+ All future development and maintenance for Duo components should take place in Duo-UI.
6
+
7
+ For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
8
+ -->
9
+
1
10
  This is the UI panel to capture the user's AI prompt for Duo Workflow. This
2
11
  prompt is emitted upwards so it may be sent to the Duo Workflow service.
3
12
 
@@ -1,4 +1,13 @@
1
1
  <script>
2
+ /**
3
+ * This component has been migrated to the Duo-UI library (https://gitlab.com/gitlab-org/duo-ui).
4
+ *
5
+ * Please use the corresponding component in Duo-UI going forward.
6
+ * All future development and maintenance for Duo components should take place in Duo-UI.
7
+ *
8
+ * For more details, see the migration epic: https://gitlab.com/groups/gitlab-org/-/epics/15344 or reach out to the Duo-Chat team in #g_duo_chat.
9
+ */
10
+
2
11
  import GlDuoWorkflowPanel from '../duo_workflow_panel/duo_workflow_panel.vue';
3
12
  import GlButton from '../../../../../base/button/button.vue';
4
13
  import GlFormGroup from '../../../../../base/form/form_group/form_group.vue';
@@ -39,8 +39,7 @@ article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
39
39
  // Body
40
40
  //
41
41
  // 1. Remove the margin in all browsers.
42
- // 2. As a best practice, apply a default `background-color`.
43
- // 3. Set an explicit initial text-align value so that we can later use
42
+ // 2. Set an explicit initial text-align value so that we can later use
44
43
  // the `inherit` value on things like `<th>` elements.
45
44
 
46
45
  body {
@@ -49,9 +48,7 @@ body {
49
48
  @include font-size($font-size-base);
50
49
  font-weight: $font-weight-base;
51
50
  line-height: $line-height-base;
52
- color: $body-color;
53
- text-align: left; // 3
54
- background-color: $body-bg; // 2
51
+ text-align: left; // 2
55
52
  }
56
53
 
57
54
  // Future-proof rule: in browsers that support :focus-visible, suppress the focus outline
@@ -0,0 +1,16 @@
1
+ # Modifications to Vendored Code
2
+
3
+ **Library**: BootstrapVue
4
+ **Version**: 2.23.1 **Link:** https://bootstrap-vue.org **Source:**
5
+ https://github.com/bootstrap-vue/bootstrap-vue **Copyright:** (c) 2016-2024 BootstrapVue
6
+ **License:** (c)
7
+ [2016-2024 BootstrapVue](https://github.com/bootstrap-vue/bootstrap-vue/blob/master/LICENSE)
8
+
9
+ This file documents modifications made to the original BootstrapVue component files.
10
+
11
+ ## Removed unnecessary properties
12
+
13
+ The following properties have been removed as they are no longer supported in our implementation:
14
+
15
+ - `pill`
16
+ - `squared`
@@ -134,45 +134,6 @@ prop.
134
134
  <!-- b-button-block.vue -->
135
135
  ```
136
136
 
137
- ## Pill style
138
-
139
- Prefer buttons with a more rounded-pill style? Just set the prop `pill` to true.
140
-
141
- ```html
142
- <div>
143
- <b-button pill>Button</b-button>
144
- <b-button pill variant="primary">Button</b-button>
145
- <b-button pill variant="outline-secondary">Button</b-button>
146
- <b-button pill variant="success">Button</b-button>
147
- <b-button pill variant="outline-danger">Button</b-button>
148
- <b-button pill variant="info">Button</b-button>
149
- </div>
150
-
151
- <!-- b-button-pill.vue -->
152
- ```
153
-
154
- This prop adds the Bootstrap v4.3 utility class `.rounded-pill` on the rendered button.
155
-
156
- ## Squared style
157
-
158
- Prefer buttons with a more square corner style? Just set the prop `squared` to true.
159
-
160
- ```html
161
- <div>
162
- <b-button squared>Button</b-button>
163
- <b-button squared variant="primary">Button</b-button>
164
- <b-button squared variant="outline-secondary">Button</b-button>
165
- <b-button squared variant="success">Button</b-button>
166
- <b-button squared variant="outline-danger">Button</b-button>
167
- <b-button squared variant="info">Button</b-button>
168
- </div>
169
-
170
- <!-- b-button-square.vue -->
171
- ```
172
-
173
- The `squared` prop adds the Bootstrap v4.3 utility class `.rounded-0` on the rendered button. The
174
- `pill` prop takes precedence over the `squared` prop.
175
-
176
137
  ## Disabled state
177
138
 
178
139
  Set the `disabled` prop to disable button default functionality. `disabled` also works with buttons
@@ -22,12 +22,10 @@ export const props = makePropsConfigurable(
22
22
  ...linkProps,
23
23
  block: makeProp(PROP_TYPE_BOOLEAN, false),
24
24
  disabled: makeProp(PROP_TYPE_BOOLEAN, false),
25
- pill: makeProp(PROP_TYPE_BOOLEAN, false),
26
25
  // Tri-state: `true`, `false` or `null`
27
26
  // => On, off, not a toggle
28
27
  pressed: makeProp(PROP_TYPE_BOOLEAN, null),
29
28
  size: makeProp(PROP_TYPE_STRING),
30
- squared: makeProp(PROP_TYPE_BOOLEAN, false),
31
29
  tag: makeProp(PROP_TYPE_STRING, 'button'),
32
30
  type: makeProp(PROP_TYPE_STRING, 'button'),
33
31
  variant: makeProp(PROP_TYPE_STRING, 'secondary')
@@ -66,8 +64,6 @@ const computeClass = props => [
66
64
  {
67
65
  [`btn-${props.size}`]: props.size,
68
66
  'btn-block': props.block,
69
- 'rounded-pill': props.pill,
70
- 'rounded-0': props.squared && !props.pill,
71
67
  disabled: props.disabled,
72
68
  active: props.pressed
73
69
  }