@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.
- package/CHANGELOG.md +44 -0
- package/dist/components/experimental/duo/chat/components/duo_chat_context/constants.js +9 -0
- 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
- package/dist/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu.js +8 -0
- 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
- 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
- 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
- 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
- package/dist/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_popover/duo_chat_context_item_popover.js +8 -0
- package/dist/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_selections/duo_chat_context_item_selections.js +8 -0
- package/dist/components/experimental/duo/chat/components/duo_chat_context/mock_context_data.js +8 -0
- package/dist/components/experimental/duo/chat/components/duo_chat_context/utils.js +8 -0
- package/dist/components/experimental/duo/chat/components/duo_chat_conversation/duo_chat_conversation.js +8 -0
- package/dist/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.js +8 -0
- package/dist/components/experimental/duo/chat/components/duo_chat_message/buttons_utils.js +8 -0
- package/dist/components/experimental/duo/chat/components/duo_chat_message/constants.js +9 -0
- package/dist/components/experimental/duo/chat/components/duo_chat_message/copy_code_element.js +8 -0
- package/dist/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.js +8 -0
- package/dist/components/experimental/duo/chat/components/duo_chat_message/utils.js +9 -0
- package/dist/components/experimental/duo/chat/components/duo_chat_message_sources/duo_chat_message_sources.js +8 -0
- package/dist/components/experimental/duo/chat/components/duo_chat_predefined_prompts/duo_chat_predefined_prompts.js +8 -0
- package/dist/components/experimental/duo/chat/constants.js +9 -0
- package/dist/components/experimental/duo/chat/duo_chat.js +8 -0
- package/dist/components/experimental/duo/chat/markdown_renderer.js +8 -1
- package/dist/components/experimental/duo/chat/mock_data.js +8 -0
- package/dist/components/experimental/duo/user_feedback/user_feedback.js +8 -0
- package/dist/components/experimental/duo/user_feedback/user_feedback_modal.js +1 -0
- package/dist/components/experimental/duo/workflow/components/duo_workflow_panel/duo_workflow_panel.js +8 -0
- package/dist/components/experimental/duo/workflow/components/duo_workflow_prompt/duo_workflow_prompt.js +8 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/vendor/bootstrap-vue/src/components/button/button.js +0 -4
- package/dist/vendor/bootstrap-vue/src/components/collapse/collapse.js +1 -2
- package/dist/vendor/bootstrap-vue/src/components/nav/nav.js +6 -9
- package/dist/vendor/bootstrap-vue/src/components/tabs/tabs.js +6 -30
- package/dist/vendor/bootstrap-vue/src/constants/env.js +1 -10
- package/dist/vendor/bootstrap-vue/src/constants/key-codes.js +1 -2
- package/dist/vendor/bootstrap-vue/src/index.js +1 -11
- package/dist/vendor/bootstrap-vue/src/mixins/form-radio-check-group.js +2 -16
- package/dist/vendor/bootstrap-vue/src/mixins/form-radio-check.js +14 -104
- package/dist/vendor/bootstrap-vue/src/utils/plugins.js +1 -41
- package/package.json +1 -1
- package/src/components/experimental/duo/chat/components/duo_chat_context/constants.js +9 -0
- 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
- package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu.md +12 -3
- package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu.vue +9 -0
- 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
- 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
- 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
- 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
- package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_popover/duo_chat_context_item_popover.vue +9 -0
- package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_selections/duo_chat_context_item_selections.vue +9 -0
- package/src/components/experimental/duo/chat/components/duo_chat_context/mock_context_data.js +9 -0
- package/src/components/experimental/duo/chat/components/duo_chat_context/utils.js +9 -0
- package/src/components/experimental/duo/chat/components/duo_chat_conversation/duo_chat_conversation.md +9 -0
- package/src/components/experimental/duo/chat/components/duo_chat_conversation/duo_chat_conversation.vue +9 -0
- package/src/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.md +9 -0
- package/src/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.scss +9 -0
- package/src/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.vue +9 -0
- package/src/components/experimental/duo/chat/components/duo_chat_message/buttons_utils.js +9 -0
- package/src/components/experimental/duo/chat/components/duo_chat_message/constants.js +9 -0
- package/src/components/experimental/duo/chat/components/duo_chat_message/copy_code_element.js +9 -0
- package/src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.scss +9 -0
- package/src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.vue +9 -0
- package/src/components/experimental/duo/chat/components/duo_chat_message/insert_code_snippet_element.js +9 -0
- package/src/components/experimental/duo/chat/components/duo_chat_message/utils.js +9 -0
- package/src/components/experimental/duo/chat/components/duo_chat_message_sources/duo_chat_message_sources.md +9 -0
- package/src/components/experimental/duo/chat/components/duo_chat_message_sources/duo_chat_message_sources.vue +9 -0
- package/src/components/experimental/duo/chat/components/duo_chat_predefined_prompts/duo_chat_predefined_prompts.md +9 -0
- package/src/components/experimental/duo/chat/components/duo_chat_predefined_prompts/duo_chat_predefined_prompts.vue +9 -0
- package/src/components/experimental/duo/chat/constants.js +9 -0
- package/src/components/experimental/duo/chat/duo_chat.md +8 -0
- package/src/components/experimental/duo/chat/duo_chat.scss +9 -0
- package/src/components/experimental/duo/chat/duo_chat.vue +9 -0
- package/src/components/experimental/duo/chat/markdown_renderer.js +9 -0
- package/src/components/experimental/duo/chat/mock_data.js +9 -0
- package/src/components/experimental/duo/chat/variables.scss +9 -1
- package/src/components/experimental/duo/user_feedback/user_feedback.md +9 -0
- package/src/components/experimental/duo/user_feedback/user_feedback.vue +9 -0
- package/src/components/experimental/duo/user_feedback/user_feedback_modal.vue +6 -0
- package/src/components/experimental/duo/workflow/components/duo_workflow_panel/duo_workflow_panel.md +9 -0
- package/src/components/experimental/duo/workflow/components/duo_workflow_panel/duo_workflow_panel.vue +9 -0
- package/src/components/experimental/duo/workflow/components/duo_workflow_prompt/duo_workflow_prompt.md +9 -0
- package/src/components/experimental/duo/workflow/components/duo_workflow_prompt/duo_workflow_prompt.vue +9 -0
- package/src/vendor/bootstrap/scss/_reboot.scss +2 -5
- package/src/vendor/bootstrap-vue/src/components/button/MODIFICATIONS.md +16 -0
- package/src/vendor/bootstrap-vue/src/components/button/README.md +0 -39
- package/src/vendor/bootstrap-vue/src/components/button/button.js +0 -4
- package/src/vendor/bootstrap-vue/src/components/button/button.spec.js +0 -36
- package/src/vendor/bootstrap-vue/src/components/collapse/collapse.js +1 -1
- package/src/vendor/bootstrap-vue/src/components/form-checkbox/README.md +3 -174
- package/src/vendor/bootstrap-vue/src/components/form-checkbox/form-checkbox-group.spec.js +0 -117
- package/src/vendor/bootstrap-vue/src/components/form-checkbox/form-checkbox.spec.js +0 -409
- package/src/vendor/bootstrap-vue/src/components/form-radio/README.md +0 -129
- package/src/vendor/bootstrap-vue/src/components/form-radio/form-radio-group.spec.js +0 -112
- package/src/vendor/bootstrap-vue/src/components/form-radio/form-radio.spec.js +0 -365
- package/src/vendor/bootstrap-vue/src/components/nav/README.md +0 -20
- package/src/vendor/bootstrap-vue/src/components/nav/nav.js +7 -9
- package/src/vendor/bootstrap-vue/src/components/nav/nav.spec.js +0 -67
- package/src/vendor/bootstrap-vue/src/components/tabs/README.md +45 -187
- package/src/vendor/bootstrap-vue/src/components/tabs/tabs.js +6 -29
- package/src/vendor/bootstrap-vue/src/components/tabs/tabs.spec.js +0 -58
- package/src/vendor/bootstrap-vue/src/constants/env.js +0 -14
- package/src/vendor/bootstrap-vue/src/constants/key-codes.js +0 -1
- package/src/vendor/bootstrap-vue/src/index.js +0 -17
- package/src/vendor/bootstrap-vue/src/mixins/form-radio-check-group.js +3 -20
- package/src/vendor/bootstrap-vue/src/mixins/form-radio-check.js +19 -114
- package/src/vendor/bootstrap-vue/src/utils/config.spec.js +0 -18
- package/src/vendor/bootstrap-vue/src/utils/plugins.js +0 -33
- package/dist/vendor/bootstrap-vue/src/browser.js +0 -8
- package/dist/vendor/bootstrap-vue/src/components/index.js +0 -11
- package/dist/vendor/bootstrap-vue/src/constants/classes.js +0 -3
- package/src/vendor/bootstrap-vue/src/browser.js +0 -9
- package/src/vendor/bootstrap-vue/src/components/index.js +0 -11
- 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';
|
package/src/components/experimental/duo/chat/components/duo_chat_context/mock_context_data.js
CHANGED
|
@@ -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.
|
package/src/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.scss
CHANGED
|
@@ -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;
|
package/src/components/experimental/duo/chat/components/duo_chat_message/copy_code_element.js
CHANGED
|
@@ -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 {
|
package/src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.scss
CHANGED
|
@@ -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 {
|
package/src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.vue
CHANGED
|
@@ -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
|
-
|
|
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';
|
package/src/components/experimental/duo/workflow/components/duo_workflow_panel/duo_workflow_panel.md
CHANGED
|
@@ -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.
|
|
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
|
-
|
|
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
|
}
|