@gitlab/ui 102.0.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 (89) hide show
  1. package/CHANGELOG.md +12 -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 +8 -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 +7 -0
  31. package/dist/index.css.map +1 -0
  32. package/dist/index.js +115 -0
  33. package/dist/vendor/bootstrap-vue/src/components/collapse/collapse.js +1 -2
  34. package/dist/vendor/bootstrap-vue/src/constants/env.js +1 -10
  35. package/dist/vendor/bootstrap-vue/src/constants/key-codes.js +1 -2
  36. package/dist/vendor/bootstrap-vue/src/utils/plugins.js +1 -41
  37. package/package.json +2 -1
  38. package/src/components/experimental/duo/chat/components/duo_chat_context/constants.js +9 -0
  39. package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_details_modal/duo_chat_context_item_details_modal.vue +9 -0
  40. package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu.md +12 -3
  41. package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu.vue +9 -0
  42. 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
  43. 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
  44. 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
  45. 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
  46. package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_popover/duo_chat_context_item_popover.vue +9 -0
  47. package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_selections/duo_chat_context_item_selections.vue +9 -0
  48. package/src/components/experimental/duo/chat/components/duo_chat_context/mock_context_data.js +9 -0
  49. package/src/components/experimental/duo/chat/components/duo_chat_context/utils.js +9 -0
  50. package/src/components/experimental/duo/chat/components/duo_chat_conversation/duo_chat_conversation.md +9 -0
  51. package/src/components/experimental/duo/chat/components/duo_chat_conversation/duo_chat_conversation.vue +9 -0
  52. package/src/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.md +9 -0
  53. package/src/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.scss +9 -0
  54. package/src/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.vue +9 -0
  55. package/src/components/experimental/duo/chat/components/duo_chat_message/buttons_utils.js +9 -0
  56. package/src/components/experimental/duo/chat/components/duo_chat_message/constants.js +9 -0
  57. package/src/components/experimental/duo/chat/components/duo_chat_message/copy_code_element.js +9 -0
  58. package/src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.scss +9 -0
  59. package/src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.vue +9 -0
  60. package/src/components/experimental/duo/chat/components/duo_chat_message/insert_code_snippet_element.js +9 -0
  61. package/src/components/experimental/duo/chat/components/duo_chat_message/utils.js +9 -0
  62. package/src/components/experimental/duo/chat/components/duo_chat_message_sources/duo_chat_message_sources.md +9 -0
  63. package/src/components/experimental/duo/chat/components/duo_chat_message_sources/duo_chat_message_sources.vue +9 -0
  64. package/src/components/experimental/duo/chat/components/duo_chat_predefined_prompts/duo_chat_predefined_prompts.md +9 -0
  65. package/src/components/experimental/duo/chat/components/duo_chat_predefined_prompts/duo_chat_predefined_prompts.vue +9 -0
  66. package/src/components/experimental/duo/chat/constants.js +9 -0
  67. package/src/components/experimental/duo/chat/duo_chat.md +8 -0
  68. package/src/components/experimental/duo/chat/duo_chat.scss +9 -0
  69. package/src/components/experimental/duo/chat/duo_chat.vue +9 -0
  70. package/src/components/experimental/duo/chat/markdown_renderer.js +9 -0
  71. package/src/components/experimental/duo/chat/mock_data.js +9 -0
  72. package/src/components/experimental/duo/chat/variables.scss +9 -1
  73. package/src/components/experimental/duo/user_feedback/user_feedback.md +9 -0
  74. package/src/components/experimental/duo/user_feedback/user_feedback.vue +9 -0
  75. package/src/components/experimental/duo/user_feedback/user_feedback_modal.vue +6 -0
  76. package/src/components/experimental/duo/workflow/components/duo_workflow_panel/duo_workflow_panel.md +9 -0
  77. package/src/components/experimental/duo/workflow/components/duo_workflow_panel/duo_workflow_panel.vue +9 -0
  78. package/src/components/experimental/duo/workflow/components/duo_workflow_prompt/duo_workflow_prompt.md +9 -0
  79. package/src/components/experimental/duo/workflow/components/duo_workflow_prompt/duo_workflow_prompt.vue +9 -0
  80. package/src/index.js +130 -0
  81. package/src/vendor/bootstrap/scss/_reboot.scss +2 -5
  82. package/src/vendor/bootstrap-vue/src/components/collapse/collapse.js +1 -1
  83. package/src/vendor/bootstrap-vue/src/constants/env.js +0 -14
  84. package/src/vendor/bootstrap-vue/src/constants/key-codes.js +0 -1
  85. package/src/vendor/bootstrap-vue/src/utils/plugins.js +0 -33
  86. package/dist/vendor/bootstrap-vue/src/browser.js +0 -8
  87. package/dist/vendor/bootstrap-vue/src/constants/classes.js +0 -3
  88. package/src/vendor/bootstrap-vue/src/browser.js +0 -9
  89. 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 { 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';
package/src/index.js ADDED
@@ -0,0 +1,130 @@
1
+ // DO NOT REMOVE
2
+ /* auto-inject-styles */
3
+ // The line above serves as a token for rollup-plugin-replace to inject styles in production
4
+ // builds. We do this to avoid having the stylesheet included multiple times in Storybook.
5
+
6
+ // Components
7
+ // ADD COMPONENT EXPORTS - needed for yarn generate:component. Do not remove
8
+ export { default as GlDuoWorkflowPrompt } from './components/experimental/duo/workflow/components/duo_workflow_prompt/duo_workflow_prompt.vue';
9
+ export { default as GlDuoWorkflowPanel } from './components/experimental/duo/workflow/components/duo_workflow_panel/duo_workflow_panel.vue';
10
+ export { default as GlTableLite } from './components/base/table_lite/table_lite.vue';
11
+ export { default as GlDropdownForm } from './components/base/dropdown/dropdown_form.vue';
12
+ export { default as GlKeysetPagination } from './components/base/keyset_pagination/keyset_pagination.vue';
13
+ export { default as GlInputGroupText } from './components/base/form/input_group_text/input_group_text.vue';
14
+ export { default as GlFormCombobox } from './components/base/form/form_combobox/form_combobox.vue';
15
+ export { default as GlTokenSelector } from './components/base/token_selector/token_selector.vue';
16
+ export { default as GlNavItemDropdown } from './components/base/nav/nav_item_dropdown.vue';
17
+ export { default as GlNav } from './components/base/nav/nav.vue';
18
+ export { default as GlNavItem } from './components/base/nav/nav_item.vue';
19
+ export { default as GlFormCheckboxTree } from './components/base/form/form_checkbox_tree/form_checkbox_tree.vue';
20
+ export { default as GlMarkdown } from './components/base/markdown/markdown.vue';
21
+ export { default as GlIntersectionObserver } from './components/utilities/intersection_observer/intersection_observer.vue';
22
+ export { default as GlLink, default as GlDeprecatedLink } from './components/base/link/link.vue';
23
+ export { default as GlIcon } from './components/base/icon/icon.vue';
24
+ export { default as GlAnimatedChevronRightDownIcon } from './components/base/animated_icon/animated_chevron_right_down_icon.vue';
25
+ export { default as GlAnimatedDuoChatIcon } from './components/base/animated_icon/animated_duo_chat_icon.vue';
26
+ export { default as GlAnimatedLoaderIcon } from './components/base/animated_icon/animated_loader_icon.vue';
27
+ export { default as GlAnimatedNotificationIcon } from './components/base/animated_icon/animated_notifications_icon.vue';
28
+ export { default as GlAnimatedSidebarIcon } from './components/base/animated_icon/animated_sidebar_icon.vue';
29
+ export { default as GlAnimatedSmileIcon } from './components/base/animated_icon/animated_smile_icon.vue';
30
+ export { default as GlAnimatedSortIcon } from './components/base/animated_icon/animated_sort_icon.vue';
31
+ export { default as GlAnimatedStarIcon } from './components/base/animated_icon/animated_star_icon.vue';
32
+ export { default as GlAnimatedTodoIcon } from './components/base/animated_icon/animated_todo_icon.vue';
33
+ export { default as GlAnimatedUploadIcon } from './components/base/animated_icon/animated_upload_icon.vue';
34
+ export { default as GlLoadingIcon } from './components/base/loading_icon/loading_icon.vue';
35
+ export { default as GlModal } from './components/base/modal/modal.vue';
36
+ export { default as GlPagination } from './components/base/pagination/pagination.vue';
37
+ export { default as GlPaginatedList } from './components/base/paginated_list/paginated_list.vue';
38
+ export { default as GlPopover } from './components/base/popover/popover.vue';
39
+ export { default as GlProgressBar } from './components/base/progress_bar/progress_bar.vue';
40
+ export { default as GlToken } from './components/base/token/token.vue';
41
+ export { default as GlBadge } from './components/base/badge/badge.vue';
42
+ export { default as GlBanner } from './components/base/banner/banner.vue';
43
+ export { default as GlButton } from './components/base/button/button.vue';
44
+ export { default as GlTooltip } from './components/base/tooltip/tooltip.vue';
45
+ export { default as GlToast } from './components/base/toast/toast';
46
+ export { default as GlDashboardSkeleton } from './components/regions/dashboard_skeleton/dashboard_skeleton.vue';
47
+ export { default as GlEmptyState } from './components/regions/empty_state/empty_state.vue';
48
+ export { default as GlForm } from './components/base/form/form.vue';
49
+ export { default as GlFormCharacterCount } from './components/base/form/form_character_count/form_character_count.vue';
50
+ export { default as GlFormDate } from './components/base/form/form_date/form_date.vue';
51
+ export { default as GlFormInput } from './components/base/form/form_input/form_input.vue';
52
+ export { default as GlFormInputGroup } from './components/base/form/form_input_group/form_input_group.vue';
53
+ export { default as GlFormRadio } from './components/base/form/form_radio/form_radio.vue';
54
+ export { default as GlFormRadioGroup } from './components/base/form/form_radio_group/form_radio_group.vue';
55
+ export { default as GlFormSelect } from './components/base/form/form_select/form_select.vue';
56
+ export { default as GlFormTextarea } from './components/base/form/form_textarea/form_textarea.vue';
57
+ export { default as GlFormGroup } from './components/base/form/form_group/form_group.vue';
58
+ export { default as GlFormFields } from './components/base/form/form_fields/form_fields.vue';
59
+ export { default as GlSearchBoxByType } from './components/base/search_box_by_type/search_box_by_type.vue';
60
+ export { default as GlSearchBoxByClick } from './components/base/search_box_by_click/search_box_by_click.vue';
61
+ export { default as GlDropdownItem } from './components/base/dropdown/dropdown_item.vue';
62
+ export { default as GlDropdownSectionHeader } from './components/base/dropdown/dropdown_section_header.vue';
63
+ export { default as GlDropdownDivider } from './components/base/dropdown/dropdown_divider.vue';
64
+ export { default as GlDropdownText } from './components/base/dropdown/dropdown_text.vue';
65
+ export { default as GlDropdown } from './components/base/dropdown/dropdown.vue';
66
+ // new components aiming to replace GlDropdown - start
67
+ export { default as GlCollapsibleListbox } from './components/base/new_dropdowns/listbox/listbox.vue';
68
+ export { default as GlListboxItem } from './components/base/new_dropdowns/listbox/listbox_item.vue';
69
+ export { default as GlDisclosureDropdown } from './components/base/new_dropdowns/disclosure/disclosure_dropdown.vue';
70
+ export { default as GlDisclosureDropdownItem } from './components/base/new_dropdowns/disclosure/disclosure_dropdown_item.vue';
71
+ export { default as GlDisclosureDropdownGroup } from './components/base/new_dropdowns/disclosure/disclosure_dropdown_group.vue';
72
+ // new components aiming to replace GlDropdown - end
73
+ export { default as GlPath } from './components/base/path/path.vue';
74
+ export { default as GlTable } from './components/base/table/table.vue';
75
+ export { default as GlBreadcrumb } from './components/base/breadcrumb/breadcrumb.vue';
76
+ export { default as GlScrollableTabs } from './components/base/tabs/tabs/scrollable_tabs.vue';
77
+ export { default as GlTabs } from './components/base/tabs/tabs/tabs.vue';
78
+ export { default as GlTab } from './components/base/tabs/tab/tab.vue';
79
+ export { default as GlButtonGroup } from './components/base/button_group/button_group.vue';
80
+ export { default as GlFormCheckbox } from './components/base/form/form_checkbox/form_checkbox.vue';
81
+ export { default as GlFormCheckboxGroup } from './components/base/form/form_checkbox/form_checkbox_group.vue';
82
+ export { default as GlAvatar } from './components/base/avatar/avatar.vue';
83
+ export { default as GlAvatarsInline } from './components/base/avatars_inline/avatars_inline.vue';
84
+ export { default as GlAvatarLabeled } from './components/base/avatar_labeled/avatar_labeled.vue';
85
+ export { default as GlAvatarLink } from './components/base/avatar_link/avatar_link.vue';
86
+ export { default as GlLabel } from './components/base/label/label.vue';
87
+ export { default as GlDatepicker } from './components/base/datepicker/datepicker.vue';
88
+ export { default as GlDaterangePicker } from './components/base/daterange_picker/daterange_picker.vue';
89
+ export { default as GlToggle } from './components/base/toggle/toggle.vue';
90
+ export { default as GlSorting } from './components/base/sorting/sorting.vue';
91
+ export { default as GlInfiniteScroll } from './components/base/infinite_scroll/infinite_scroll.vue';
92
+ export { default as GlAlert } from './components/base/alert/alert.vue';
93
+ export { default as GlSegmentedControl } from './components/base/segmented_control/segmented_control.vue';
94
+ export { default as GlSkeletonLoader } from './components/base/skeleton_loader/skeleton_loader.vue';
95
+ export { default as GlDrawer } from './components/base/drawer/drawer.vue';
96
+ export { default as GlCard } from './components/base/card/card.vue';
97
+ export { default as GlFilteredSearchSuggestion } from './components/base/filtered_search/filtered_search_suggestion.vue';
98
+ export { default as GlFilteredSearchSuggestionList } from './components/base/filtered_search/filtered_search_suggestion_list.vue';
99
+ export { default as GlFilteredSearchTerm } from './components/base/filtered_search/filtered_search_term.vue';
100
+ export { default as GlFilteredSearchToken } from './components/base/filtered_search/filtered_search_token.vue';
101
+ export { default as GlFilteredSearchTokenSegment } from './components/base/filtered_search/filtered_search_token_segment.vue';
102
+ export { default as GlFilteredSearch } from './components/base/filtered_search/filtered_search.vue';
103
+ export { default as GlBroadcastMessage } from './components/base/broadcast_message/broadcast_message.vue';
104
+ export { default as GlCollapse } from './components/base/collapse/collapse.vue';
105
+ export { default as GlAccordion } from './components/base/accordion/accordion.vue';
106
+ export { default as GlAccordionItem } from './components/base/accordion/accordion_item.vue';
107
+
108
+ // Experimental
109
+ export { default as GlExperimentBadge } from './components/experimental/experiment_badge/experiment_badge.vue';
110
+ export { default as GlDuoUserFeedback } from './components/experimental/duo/user_feedback/user_feedback.vue';
111
+ export { default as GlDuoChat } from './components/experimental/duo/chat/duo_chat.vue';
112
+ export { default as GlDuoChatContextItemMenu } from './components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu.vue';
113
+
114
+ // Utilities
115
+ export { default as GlAnimatedNumber } from './components/utilities/animated_number/animated_number.vue';
116
+ export { default as GlFriendlyWrap } from './components/utilities/friendly_wrap/friendly_wrap.vue';
117
+ export { default as GlIntersperse } from './components/utilities/intersperse/intersperse.vue';
118
+ export { default as GlSprintf } from './components/utilities/sprintf/sprintf.vue';
119
+ export { default as GlTruncate } from './components/utilities/truncate/truncate.vue';
120
+ export { default as GlTruncateText } from './components/utilities/truncate_text/truncate_text.vue';
121
+
122
+ // Directives
123
+ export { GlModalDirective } from './directives/modal';
124
+ export { GlTooltipDirective } from './directives/tooltip';
125
+ export { GlResizeObserverDirective } from './directives/resize_observer/resize_observer';
126
+ export { GlCollapseToggleDirective } from './directives/collapse_toggle';
127
+ export { SafeLinkDirective as GlSafeLinkDirective } from './directives/safe_link/safe_link';
128
+ export { SafeHtmlDirective as GlSafeHtmlDirective } from './directives/safe_html/safe_html';
129
+ export { OutsideDirective as GlOutsideDirective } from './directives/outside/outside';
130
+ export { HoverLoadDirective as GlHoverLoadDirective } from './directives/hover_load/hover_load';
@@ -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
@@ -1,6 +1,5 @@
1
1
  import { extend } from '../../vue'
2
2
  import { NAME_COLLAPSE } from '../../constants/components'
3
- import { CLASS_NAME_SHOW } from '../../constants/classes'
4
3
  import {
5
4
  EVENT_NAME_HIDDEN,
6
5
  EVENT_NAME_HIDE,
@@ -20,6 +19,7 @@ import { normalizeSlotMixin } from '../../mixins/normalize-slot'
20
19
  import { BVCollapse } from './helpers/bv-collapse'
21
20
 
22
21
  // --- Constants ---
22
+ const CLASS_NAME_SHOW = 'show'
23
23
 
24
24
  const ROOT_ACTION_EVENT_NAME_TOGGLE = getRootActionEventName(NAME_COLLAPSE, 'toggle')
25
25
  const ROOT_ACTION_EVENT_NAME_REQUEST_STATE = getRootActionEventName(NAME_COLLAPSE, 'request-state')
@@ -15,7 +15,6 @@ export const NAVIGATOR = HAS_NAVIGATOR_SUPPORT ? navigator : {}
15
15
  export const USER_AGENT = (NAVIGATOR.userAgent || '').toLowerCase()
16
16
 
17
17
  export const IS_JSDOM = USER_AGENT.indexOf('jsdom') > 0
18
- export const IS_IE = /msie|trident/.test(USER_AGENT)
19
18
 
20
19
  // Determine if the browser supports the option passive for events
21
20
  export const HAS_PASSIVE_EVENT_SUPPORT = (() => {
@@ -39,16 +38,3 @@ export const HAS_PASSIVE_EVENT_SUPPORT = (() => {
39
38
  }
40
39
  return passiveEventSupported
41
40
  })()
42
-
43
- export const HAS_POINTER_EVENT_SUPPORT =
44
- IS_BROWSER && Boolean(WINDOW.PointerEvent || WINDOW.MSPointerEvent)
45
-
46
- /* istanbul ignore next: JSDOM only checks for 'IntersectionObserver' */
47
- export const HAS_INTERACTION_OBSERVER_SUPPORT =
48
- IS_BROWSER &&
49
- 'IntersectionObserver' in WINDOW &&
50
- 'IntersectionObserverEntry' in WINDOW &&
51
- // Edge 15 and UC Browser lack support for `isIntersecting`
52
- // but we an use `intersectionRatio > 0` instead
53
- // 'isIntersecting' in window.IntersectionObserverEntry.prototype &&
54
- 'intersectionRatio' in WINDOW.IntersectionObserverEntry.prototype
@@ -4,7 +4,6 @@ export const CODE_ENTER = 13
4
4
  export const CODE_ESC = 27
5
5
  export const CODE_HOME = 36
6
6
  export const CODE_LEFT = 37
7
- export const CODE_PAGEUP = 33
8
7
  export const CODE_RIGHT = 39
9
8
  export const CODE_SPACE = 32
10
9
  export const CODE_UP = 38
@@ -49,29 +49,6 @@ export const installFactory = ({ components, directives, plugins } = {}) => {
49
49
  return install
50
50
  }
51
51
 
52
- /**
53
- * Plugin install factory function (no plugin config option).
54
- * @param {object} { components, directives }
55
- * @returns {function} plugin install function
56
- */
57
- export const installFactoryNoConfig = ({ components, directives, plugins } = {}) => {
58
- const install = Vue => {
59
- if (install.installed) {
60
- /* istanbul ignore next */
61
- return
62
- }
63
- install.installed = true
64
- checkMultipleVue(Vue)
65
- registerComponents(Vue, components)
66
- registerDirectives(Vue, directives)
67
- registerPlugins(Vue, plugins)
68
- }
69
-
70
- install.installed = false
71
-
72
- return install
73
- }
74
-
75
52
  /**
76
53
  * Plugin object factory function.
77
54
  * @param {object} { components, directives, plugins }
@@ -82,16 +59,6 @@ export const pluginFactory = (options = {}, extend = {}) => ({
82
59
  install: installFactory(options)
83
60
  })
84
61
 
85
- /**
86
- * Plugin object factory function (no config option).
87
- * @param {object} { components, directives, plugins }
88
- * @returns {object} plugin install object
89
- */
90
- export const pluginFactoryNoConfig = (options = {}, extend = {}) => ({
91
- ...extend,
92
- install: installFactoryNoConfig(options)
93
- })
94
-
95
62
  /**
96
63
  * Load a group of plugins.
97
64
  * @param {object} Vue
@@ -1,8 +0,0 @@
1
- import { vueUse } from './utils/plugins';
2
- import { BootstrapVue } from './index';
3
- export { BootstrapVue as default } from './index';
4
-
5
- // Main entry point for the browser build
6
-
7
- // Auto installation only occurs if window.Vue exists
8
- vueUse(BootstrapVue);
@@ -1,3 +0,0 @@
1
- const CLASS_NAME_SHOW = 'show';
2
-
3
- export { CLASS_NAME_SHOW };
@@ -1,9 +0,0 @@
1
- // Main entry point for the browser build
2
- import { vueUse } from './utils/plugins'
3
-
4
- import { BootstrapVue } from './index'
5
-
6
- // Auto installation only occurs if window.Vue exists
7
- vueUse(BootstrapVue)
8
-
9
- export default BootstrapVue
@@ -1 +0,0 @@
1
- export const CLASS_NAME_SHOW = 'show'