@gitlab/ui 128.17.0 → 129.0.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 (113) hide show
  1. package/dist/components/base/form/form_checkbox/form_checkbox.js +4 -2
  2. package/dist/components/base/form/form_radio/form_radio.js +209 -11
  3. package/dist/components/base/tooltip/tooltip.js +1 -3
  4. package/dist/config.js +0 -37
  5. package/dist/utils/constants.js +1 -7
  6. package/dist/vendor/bootstrap-vue/src/components/button/button-close.js +3 -3
  7. package/dist/vendor/bootstrap-vue/src/components/button/button.js +3 -3
  8. package/dist/vendor/bootstrap-vue/src/components/dropdown/dropdown-divider.js +3 -3
  9. package/dist/vendor/bootstrap-vue/src/components/dropdown/dropdown-form.js +3 -3
  10. package/dist/vendor/bootstrap-vue/src/components/dropdown/dropdown-group.js +3 -3
  11. package/dist/vendor/bootstrap-vue/src/components/dropdown/dropdown-header.js +3 -3
  12. package/dist/vendor/bootstrap-vue/src/components/dropdown/dropdown-item-button.js +3 -3
  13. package/dist/vendor/bootstrap-vue/src/components/dropdown/dropdown-item.js +3 -3
  14. package/dist/vendor/bootstrap-vue/src/components/dropdown/dropdown-text.js +3 -3
  15. package/dist/vendor/bootstrap-vue/src/components/dropdown/dropdown.js +3 -3
  16. package/dist/vendor/bootstrap-vue/src/components/form/form-invalid-feedback.js +3 -3
  17. package/dist/vendor/bootstrap-vue/src/components/form/form-text.js +3 -3
  18. package/dist/vendor/bootstrap-vue/src/components/form/form-valid-feedback.js +3 -3
  19. package/dist/vendor/bootstrap-vue/src/components/form/form.js +3 -3
  20. package/dist/vendor/bootstrap-vue/src/components/form-group/form-group.js +3 -3
  21. package/dist/vendor/bootstrap-vue/src/components/form-radio/form-radio-group.js +1 -2
  22. package/dist/vendor/bootstrap-vue/src/components/form-radio/form-radio.js +1 -2
  23. package/dist/vendor/bootstrap-vue/src/components/form-select/form-select-option-group.js +3 -3
  24. package/dist/vendor/bootstrap-vue/src/components/form-select/form-select-option.js +3 -3
  25. package/dist/vendor/bootstrap-vue/src/components/form-select/form-select.js +3 -3
  26. package/dist/vendor/bootstrap-vue/src/components/form-select/helpers/mixin-options.js +3 -3
  27. package/dist/vendor/bootstrap-vue/src/components/form-textarea/form-textarea.js +3 -3
  28. package/dist/vendor/bootstrap-vue/src/components/layout/col.js +3 -3
  29. package/dist/vendor/bootstrap-vue/src/components/layout/form-row.js +3 -3
  30. package/dist/vendor/bootstrap-vue/src/components/modal/modal.js +3 -3
  31. package/dist/vendor/bootstrap-vue/src/components/popover/popover.js +8 -4
  32. package/dist/vendor/bootstrap-vue/src/components/table/table-lite.js +2 -3
  33. package/dist/vendor/bootstrap-vue/src/components/table/table-simple.js +2 -3
  34. package/dist/vendor/bootstrap-vue/src/components/table/table.js +2 -3
  35. package/dist/vendor/bootstrap-vue/src/components/table/tbody.js +3 -3
  36. package/dist/vendor/bootstrap-vue/src/components/table/td.js +3 -3
  37. package/dist/vendor/bootstrap-vue/src/components/table/tfoot.js +3 -3
  38. package/dist/vendor/bootstrap-vue/src/components/table/th.js +1 -2
  39. package/dist/vendor/bootstrap-vue/src/components/table/thead.js +3 -3
  40. package/dist/vendor/bootstrap-vue/src/components/table/tr.js +3 -3
  41. package/dist/vendor/bootstrap-vue/src/components/tabs/tab.js +3 -3
  42. package/dist/vendor/bootstrap-vue/src/components/tabs/tabs.js +3 -3
  43. package/dist/vendor/bootstrap-vue/src/components/toast/toast.js +3 -3
  44. package/dist/vendor/bootstrap-vue/src/components/toast/toaster.js +3 -3
  45. package/dist/vendor/bootstrap-vue/src/components/tooltip/tooltip.js +7 -6
  46. package/dist/vendor/bootstrap-vue/src/constants/config.js +7 -1
  47. package/dist/vendor/bootstrap-vue/src/directives/tooltip/tooltip.js +6 -7
  48. package/dist/vendor/bootstrap-vue/src/mixins/dropdown.js +3 -3
  49. package/dist/vendor/bootstrap-vue/src/mixins/form-control.js +3 -3
  50. package/dist/vendor/bootstrap-vue/src/mixins/form-custom.js +3 -3
  51. package/dist/vendor/bootstrap-vue/src/mixins/form-options.js +3 -3
  52. package/dist/vendor/bootstrap-vue/src/mixins/form-radio-check-group.js +3 -3
  53. package/dist/vendor/bootstrap-vue/src/mixins/form-radio-check.js +3 -3
  54. package/dist/vendor/bootstrap-vue/src/mixins/form-size.js +3 -3
  55. package/dist/vendor/bootstrap-vue/src/mixins/form-state.js +3 -3
  56. package/dist/vendor/bootstrap-vue/src/mixins/form-text.js +3 -3
  57. package/package.json +1 -1
  58. package/src/components/base/form/form_checkbox/form_checkbox.vue +4 -2
  59. package/src/components/base/form/form_radio/form_radio.vue +220 -31
  60. package/src/components/base/tooltip/tooltip.vue +0 -3
  61. package/src/config.js +0 -40
  62. package/src/utils/constants.js +0 -6
  63. package/src/vendor/bootstrap-vue/src/components/button/button-close.js +7 -10
  64. package/src/vendor/bootstrap-vue/src/components/button/button.js +13 -16
  65. package/src/vendor/bootstrap-vue/src/components/dropdown/dropdown-divider.js +4 -7
  66. package/src/vendor/bootstrap-vue/src/components/dropdown/dropdown-form.js +6 -9
  67. package/src/vendor/bootstrap-vue/src/components/dropdown/dropdown-group.js +9 -12
  68. package/src/vendor/bootstrap-vue/src/components/dropdown/dropdown-header.js +6 -9
  69. package/src/vendor/bootstrap-vue/src/components/dropdown/dropdown-item-button.js +9 -12
  70. package/src/vendor/bootstrap-vue/src/components/dropdown/dropdown-item.js +6 -9
  71. package/src/vendor/bootstrap-vue/src/components/dropdown/dropdown-text.js +6 -9
  72. package/src/vendor/bootstrap-vue/src/components/dropdown/dropdown.js +27 -30
  73. package/src/vendor/bootstrap-vue/src/components/form/form-invalid-feedback.js +11 -14
  74. package/src/vendor/bootstrap-vue/src/components/form/form-text.js +7 -10
  75. package/src/vendor/bootstrap-vue/src/components/form/form-valid-feedback.js +11 -14
  76. package/src/vendor/bootstrap-vue/src/components/form/form.js +7 -10
  77. package/src/vendor/bootstrap-vue/src/components/form-group/form-group.js +27 -30
  78. package/src/vendor/bootstrap-vue/src/components/form-radio/form-radio-group.js +1 -2
  79. package/src/vendor/bootstrap-vue/src/components/form-radio/form-radio.js +1 -2
  80. package/src/vendor/bootstrap-vue/src/components/form-select/form-select-option-group.js +5 -8
  81. package/src/vendor/bootstrap-vue/src/components/form-select/form-select-option.js +5 -8
  82. package/src/vendor/bootstrap-vue/src/components/form-select/form-select.js +14 -17
  83. package/src/vendor/bootstrap-vue/src/components/form-select/helpers/mixin-options.js +6 -9
  84. package/src/vendor/bootstrap-vue/src/components/form-textarea/form-textarea.js +17 -20
  85. package/src/vendor/bootstrap-vue/src/components/layout/col.js +16 -19
  86. package/src/vendor/bootstrap-vue/src/components/layout/form-row.js +4 -7
  87. package/src/vendor/bootstrap-vue/src/components/modal/modal.js +59 -62
  88. package/src/vendor/bootstrap-vue/src/components/popover/popover.js +13 -11
  89. package/src/vendor/bootstrap-vue/src/components/table/table-lite.js +11 -15
  90. package/src/vendor/bootstrap-vue/src/components/table/table-simple.js +5 -9
  91. package/src/vendor/bootstrap-vue/src/components/table/table.js +20 -24
  92. package/src/vendor/bootstrap-vue/src/components/table/tbody.js +5 -8
  93. package/src/vendor/bootstrap-vue/src/components/table/td.js +8 -11
  94. package/src/vendor/bootstrap-vue/src/components/table/tfoot.js +5 -8
  95. package/src/vendor/bootstrap-vue/src/components/table/th.js +1 -2
  96. package/src/vendor/bootstrap-vue/src/components/table/thead.js +6 -9
  97. package/src/vendor/bootstrap-vue/src/components/table/tr.js +4 -7
  98. package/src/vendor/bootstrap-vue/src/components/tabs/tab.js +16 -19
  99. package/src/vendor/bootstrap-vue/src/components/tabs/tabs.js +22 -25
  100. package/src/vendor/bootstrap-vue/src/components/toast/toast.js +23 -26
  101. package/src/vendor/bootstrap-vue/src/components/toast/toaster.js +9 -12
  102. package/src/vendor/bootstrap-vue/src/components/tooltip/tooltip.js +36 -38
  103. package/src/vendor/bootstrap-vue/src/constants/config.js +6 -0
  104. package/src/vendor/bootstrap-vue/src/directives/tooltip/tooltip.js +6 -7
  105. package/src/vendor/bootstrap-vue/src/mixins/dropdown.js +22 -25
  106. package/src/vendor/bootstrap-vue/src/mixins/form-control.js +9 -12
  107. package/src/vendor/bootstrap-vue/src/mixins/form-custom.js +4 -7
  108. package/src/vendor/bootstrap-vue/src/mixins/form-options.js +8 -11
  109. package/src/vendor/bootstrap-vue/src/mixins/form-radio-check-group.js +13 -16
  110. package/src/vendor/bootstrap-vue/src/mixins/form-radio-check.js +13 -16
  111. package/src/vendor/bootstrap-vue/src/mixins/form-size.js +4 -7
  112. package/src/vendor/bootstrap-vue/src/mixins/form-state.js +5 -8
  113. package/src/vendor/bootstrap-vue/src/mixins/form-text.js +17 -20
@@ -1,16 +1,16 @@
1
1
  import { extend, mergeData } from '../../vue';
2
2
  import { NAME_FORM } from '../../constants/components';
3
3
  import { PROP_TYPE_STRING, PROP_TYPE_BOOLEAN } from '../../constants/props';
4
- import { makePropsConfigurable, makeProp } from '../../utils/props';
4
+ import { makeProp } from '../../utils/props';
5
5
 
6
6
  // --- Props ---
7
7
 
8
- const props = makePropsConfigurable({
8
+ const props = {
9
9
  id: makeProp(PROP_TYPE_STRING),
10
10
  inline: makeProp(PROP_TYPE_BOOLEAN, false),
11
11
  novalidate: makeProp(PROP_TYPE_BOOLEAN, false),
12
12
  validated: makeProp(PROP_TYPE_BOOLEAN, false)
13
- }, NAME_FORM);
13
+ };
14
14
 
15
15
  // --- Main component ---
16
16
 
@@ -11,7 +11,7 @@ import { identity } from '../../utils/identity';
11
11
  import { isBoolean } from '../../utils/inspect';
12
12
  import { toInteger } from '../../utils/number';
13
13
  import { sortKeys, create, keys } from '../../utils/object';
14
- import { makePropsConfigurable, suffixPropName, makeProp } from '../../utils/props';
14
+ import { suffixPropName, makeProp } from '../../utils/props';
15
15
  import { props as props$1, formStateMixin } from '../../mixins/form-state';
16
16
  import { props, idMixin } from '../../mixins/id';
17
17
  import { normalizeSlotMixin } from '../../mixins/normalize-slot';
@@ -34,7 +34,7 @@ const LEGEND_INTERACTIVE_ELEMENTS = [...INPUTS, 'a', 'button', 'label'];
34
34
  // --- Props ---
35
35
 
36
36
  // Prop generator for lazy generation of props
37
- const generateProps = () => makePropsConfigurable(sortKeys({
37
+ const generateProps = () => sortKeys({
38
38
  ...props,
39
39
  ...props$1,
40
40
  ...getBreakpointsUpCached().reduce((props, breakpoint) => {
@@ -59,7 +59,7 @@ const generateProps = () => makePropsConfigurable(sortKeys({
59
59
  tooltip: makeProp(PROP_TYPE_BOOLEAN, false),
60
60
  validFeedback: makeProp(PROP_TYPE_STRING),
61
61
  validated: makeProp(PROP_TYPE_BOOLEAN, false)
62
- }), NAME_FORM_GROUP);
62
+ });
63
63
 
64
64
  // --- Main component ---
65
65
 
@@ -1,11 +1,10 @@
1
1
  import { extend } from '../../vue';
2
2
  import { NAME_FORM_RADIO_GROUP } from '../../constants/components';
3
- import { makePropsConfigurable } from '../../utils/props';
4
3
  import { props as props$1, formRadioCheckGroupMixin } from '../../mixins/form-radio-check-group';
5
4
 
6
5
  // --- Props ---
7
6
 
8
- const props = makePropsConfigurable(props$1, NAME_FORM_RADIO_GROUP);
7
+ const props = props$1;
9
8
 
10
9
  // --- Main component ---
11
10
 
@@ -1,11 +1,10 @@
1
1
  import { extend } from '../../vue';
2
2
  import { NAME_FORM_RADIO } from '../../constants/components';
3
- import { makePropsConfigurable } from '../../utils/props';
4
3
  import { props as props$1, formRadioCheckMixin } from '../../mixins/form-radio-check';
5
4
 
6
5
  // --- Props ---
7
6
 
8
- const props = makePropsConfigurable(props$1, NAME_FORM_RADIO);
7
+ const props = props$1;
9
8
 
10
9
  // --- Main component ---
11
10
 
@@ -4,17 +4,17 @@ import { PROP_TYPE_STRING } from '../../constants/props';
4
4
  import { SLOT_NAME_FIRST } from '../../constants/slots';
5
5
  import { htmlOrText } from '../../utils/html';
6
6
  import { sortKeys } from '../../utils/object';
7
- import { makePropsConfigurable, makeProp } from '../../utils/props';
7
+ import { makeProp } from '../../utils/props';
8
8
  import { props as props$1, formOptionsMixin } from '../../mixins/form-options';
9
9
  import { normalizeSlotMixin } from '../../mixins/normalize-slot';
10
10
  import { BFormSelectOption } from './form-select-option';
11
11
 
12
12
  // --- Props ---
13
13
 
14
- const props = makePropsConfigurable(sortKeys({
14
+ const props = sortKeys({
15
15
  ...props$1,
16
16
  label: makeProp(PROP_TYPE_STRING, undefined, true) // Required
17
- }), NAME_FORM_SELECT_OPTION_GROUP);
17
+ });
18
18
 
19
19
  // --- Main component ---
20
20
 
@@ -1,14 +1,14 @@
1
1
  import { extend, mergeData } from '../../vue';
2
2
  import { NAME_FORM_SELECT_OPTION } from '../../constants/components';
3
3
  import { PROP_TYPE_BOOLEAN, PROP_TYPE_ANY } from '../../constants/props';
4
- import { makePropsConfigurable, makeProp } from '../../utils/props';
4
+ import { makeProp } from '../../utils/props';
5
5
 
6
6
  // --- Props ---
7
7
 
8
- const props = makePropsConfigurable({
8
+ const props = {
9
9
  disabled: makeProp(PROP_TYPE_BOOLEAN, false),
10
10
  value: makeProp(PROP_TYPE_ANY, undefined, true) // Required
11
- }, NAME_FORM_SELECT_OPTION);
11
+ };
12
12
 
13
13
  // --- Main component ---
14
14
 
@@ -8,7 +8,7 @@ import { attemptFocus, attemptBlur } from '../../utils/dom';
8
8
  import { htmlOrText } from '../../utils/html';
9
9
  import { isArray } from '../../utils/inspect';
10
10
  import { sortKeys } from '../../utils/object';
11
- import { makePropsConfigurable, makeProp } from '../../utils/props';
11
+ import { makeProp } from '../../utils/props';
12
12
  import { props as props$3, formControlMixin } from '../../mixins/form-control';
13
13
  import { props as props$4, formCustomMixin } from '../../mixins/form-custom';
14
14
  import { props as props$5, formSizeMixin } from '../../mixins/form-size';
@@ -22,7 +22,7 @@ import { BFormSelectOptionGroup } from './form-select-option-group';
22
22
 
23
23
  // --- Props ---
24
24
 
25
- const props = makePropsConfigurable(sortKeys({
25
+ const props = sortKeys({
26
26
  ...props$1,
27
27
  ...props$2,
28
28
  ...props$3,
@@ -34,7 +34,7 @@ const props = makePropsConfigurable(sortKeys({
34
34
  // Browsers default size to `0`, which shows 4 rows in most browsers in multiple mode
35
35
  // Size of `1` can bork out Firefox
36
36
  selectSize: makeProp(PROP_TYPE_NUMBER, 0)
37
- }), NAME_FORM_SELECT);
37
+ });
38
38
 
39
39
  // --- Main component ---
40
40
 
@@ -3,16 +3,16 @@ import { PROP_TYPE_STRING } from '../../../constants/props';
3
3
  import { get } from '../../../utils/get';
4
4
  import { isPlainObject, isNull, isUndefined } from '../../../utils/inspect';
5
5
  import { sortKeys } from '../../../utils/object';
6
- import { makePropsConfigurable, makeProp } from '../../../utils/props';
6
+ import { makeProp } from '../../../utils/props';
7
7
  import { props as props$1, formOptionsMixin } from '../../../mixins/form-options';
8
8
 
9
9
  // --- Props ---
10
10
 
11
- const props = makePropsConfigurable(sortKeys({
11
+ const props = sortKeys({
12
12
  ...props$1,
13
13
  labelField: makeProp(PROP_TYPE_STRING, 'label'),
14
14
  optionsField: makeProp(PROP_TYPE_STRING, 'options')
15
- }), 'formOptions');
15
+ });
16
16
 
17
17
  // --- Mixin ---
18
18
 
@@ -6,7 +6,7 @@ import { isNull } from '../../utils/inspect';
6
6
  import { mathMax, mathMin, mathCeil } from '../../utils/math';
7
7
  import { toInteger, toFloat } from '../../utils/number';
8
8
  import { sortKeys } from '../../utils/object';
9
- import { makePropsConfigurable, makeProp } from '../../utils/props';
9
+ import { makeProp } from '../../utils/props';
10
10
  import { props as props$2, formControlMixin } from '../../mixins/form-control';
11
11
  import { formSelectionMixin } from '../../mixins/form-selection';
12
12
  import { props as props$3, formSizeMixin } from '../../mixins/form-size';
@@ -20,7 +20,7 @@ import { VBVisible } from '../../directives/visible/visible';
20
20
 
21
21
  // --- Props ---
22
22
 
23
- const props = makePropsConfigurable(sortKeys({
23
+ const props = sortKeys({
24
24
  ...props$1,
25
25
  ...props$2,
26
26
  ...props$3,
@@ -35,7 +35,7 @@ const props = makePropsConfigurable(sortKeys({
35
35
  // 'soft', 'hard' or 'off'
36
36
  // Browser default is 'soft'
37
37
  wrap: makeProp(PROP_TYPE_STRING, 'soft')
38
- }), NAME_FORM_TEXTAREA);
38
+ });
39
39
 
40
40
  // --- Main component ---
41
41
 
@@ -8,7 +8,7 @@ import { identity } from '../../utils/identity';
8
8
  import { isUndefinedOrNull } from '../../utils/inspect';
9
9
  import { memoize } from '../../utils/memoize';
10
10
  import { create, assign, keys, sortKeys } from '../../utils/object';
11
- import { makeProp, suffixPropName, makePropsConfigurable } from '../../utils/props';
11
+ import { makeProp, suffixPropName } from '../../utils/props';
12
12
  import { lowerCase } from '../../utils/string';
13
13
 
14
14
  // --- Constants ---
@@ -78,7 +78,7 @@ const generateProps = () => {
78
78
  });
79
79
 
80
80
  // Return the generated props
81
- return makePropsConfigurable(sortKeys({
81
+ return sortKeys({
82
82
  ...breakpointCol,
83
83
  ...breakpointOffset,
84
84
  ...breakpointOrder,
@@ -93,7 +93,7 @@ const generateProps = () => {
93
93
  offset: makeProp(PROP_TYPE_NUMBER_STRING),
94
94
  order: makeProp(PROP_TYPE_NUMBER_STRING),
95
95
  tag: makeProp(PROP_TYPE_STRING, 'div')
96
- }), NAME_COL);
96
+ });
97
97
  };
98
98
 
99
99
  // --- Main component ---
@@ -1,13 +1,13 @@
1
1
  import { extend, mergeData } from '../../vue';
2
2
  import { NAME_FORM_ROW } from '../../constants/components';
3
3
  import { PROP_TYPE_STRING } from '../../constants/props';
4
- import { makePropsConfigurable, makeProp } from '../../utils/props';
4
+ import { makeProp } from '../../utils/props';
5
5
 
6
6
  // --- Props ---
7
7
 
8
- const props = makePropsConfigurable({
8
+ const props = {
9
9
  tag: makeProp(PROP_TYPE_STRING, 'div')
10
- }, NAME_FORM_ROW);
10
+ };
11
11
 
12
12
  // --- Main component ---
13
13
 
@@ -15,7 +15,7 @@ import { isUndefinedOrNull, isString } from '../../utils/inspect';
15
15
  import { makeModelMixin } from '../../utils/model';
16
16
  import { sortKeys } from '../../utils/object';
17
17
  import { observeDom } from '../../utils/observe-dom';
18
- import { makePropsConfigurable, makeProp } from '../../utils/props';
18
+ import { makeProp } from '../../utils/props';
19
19
  import { attrsMixin } from '../../mixins/attrs';
20
20
  import { props as props$1, idMixin } from '../../mixins/id';
21
21
  import { listenOnDocumentMixin } from '../../mixins/listen-on-document';
@@ -64,7 +64,7 @@ const OBSERVER_CONFIG = {
64
64
 
65
65
  // --- Props ---
66
66
 
67
- const props = makePropsConfigurable(sortKeys({
67
+ const props = sortKeys({
68
68
  ...props$1,
69
69
  ...modelProps,
70
70
  ariaLabel: makeProp(PROP_TYPE_STRING),
@@ -117,7 +117,7 @@ const props = makePropsConfigurable(sortKeys({
117
117
  titleClass: makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),
118
118
  titleHtml: makeProp(PROP_TYPE_STRING),
119
119
  titleTag: makeProp(PROP_TYPE_STRING, 'h5')
120
- }), NAME_MODAL);
120
+ });
121
121
 
122
122
  // --- Main component ---
123
123
 
@@ -1,21 +1,25 @@
1
1
  import { extend } from '../../vue';
2
2
  import { NAME_POPOVER } from '../../constants/components';
3
3
  import { EVENT_NAME_CLICK } from '../../constants/events';
4
- import { PROP_TYPE_STRING, PROP_TYPE_ARRAY_STRING } from '../../constants/props';
4
+ import { PROP_TYPE_STRING, PROP_TYPE_NUMBER_OBJECT_STRING, PROP_TYPE_ARRAY_STRING } from '../../constants/props';
5
5
  import { SLOT_NAME_TITLE } from '../../constants/slots';
6
- import { makePropsConfigurable, makeProp } from '../../utils/props';
6
+ import { makeProp } from '../../utils/props';
7
7
  import { props as props$1, BTooltip } from '../tooltip/tooltip';
8
8
  import { BVPopover } from './helpers/bv-popover';
9
9
  import { sortKeys } from '../../utils/object';
10
10
 
11
11
  // --- Props ---
12
12
 
13
- const props = makePropsConfigurable(sortKeys({
13
+ const props = sortKeys({
14
14
  ...props$1,
15
15
  content: makeProp(PROP_TYPE_STRING),
16
+ delay: makeProp(PROP_TYPE_NUMBER_OBJECT_STRING, {
17
+ show: 50,
18
+ hide: 150
19
+ }),
16
20
  placement: makeProp(PROP_TYPE_STRING, 'right'),
17
21
  triggers: makeProp(PROP_TYPE_ARRAY_STRING, EVENT_NAME_CLICK)
18
- }), NAME_POPOVER);
22
+ });
19
23
 
20
24
  // --- Main component ---
21
25
 
@@ -1,7 +1,6 @@
1
1
  import { extend } from '../../vue';
2
2
  import { NAME_TABLE_LITE } from '../../constants/components';
3
3
  import { sortKeys } from '../../utils/object';
4
- import { makePropsConfigurable } from '../../utils/props';
5
4
  import { attrsMixin } from '../../mixins/attrs';
6
5
  import { hasListenerMixin } from '../../mixins/has-listener';
7
6
  import { props as props$1, idMixin } from '../../mixins/id';
@@ -17,7 +16,7 @@ import { props as props$9, theadMixin } from './helpers/mixin-thead';
17
16
 
18
17
  // --- Props ---
19
18
 
20
- const props = makePropsConfigurable(sortKeys({
19
+ const props = sortKeys({
21
20
  ...props$1,
22
21
  ...props$2,
23
22
  ...props$3,
@@ -27,7 +26,7 @@ const props = makePropsConfigurable(sortKeys({
27
26
  ...props$7,
28
27
  ...props$8,
29
28
  ...props$9
30
- }), NAME_TABLE_LITE);
29
+ });
31
30
 
32
31
  // --- Main component ---
33
32
 
@@ -1,7 +1,6 @@
1
1
  import { extend } from '../../vue';
2
2
  import { NAME_TABLE_SIMPLE } from '../../constants/components';
3
3
  import { sortKeys } from '../../utils/object';
4
- import { makePropsConfigurable } from '../../utils/props';
5
4
  import { attrsMixin } from '../../mixins/attrs';
6
5
  import { hasListenerMixin } from '../../mixins/has-listener';
7
6
  import { props as props$1, idMixin } from '../../mixins/id';
@@ -11,11 +10,11 @@ import { props as props$3, tableRendererMixin } from './helpers/mixin-table-rend
11
10
 
12
11
  // --- Props ---
13
12
 
14
- const props = makePropsConfigurable(sortKeys({
13
+ const props = sortKeys({
15
14
  ...props$1,
16
15
  ...props$2,
17
16
  ...props$3
18
- }), NAME_TABLE_SIMPLE);
17
+ });
19
18
 
20
19
  // --- Main component ---
21
20
 
@@ -1,7 +1,6 @@
1
1
  import { extend } from '../../vue';
2
2
  import { NAME_TABLE } from '../../constants/components';
3
3
  import { sortKeys } from '../../utils/object';
4
- import { makePropsConfigurable } from '../../utils/props';
5
4
  import { attrsMixin } from '../../mixins/attrs';
6
5
  import { hasListenerMixin } from '../../mixins/has-listener';
7
6
  import { props as props$1, idMixin } from '../../mixins/id';
@@ -26,7 +25,7 @@ import { props as props$i, topRowMixin } from './helpers/mixin-top-row';
26
25
 
27
26
  // --- Props ---
28
27
 
29
- const props = makePropsConfigurable(sortKeys({
28
+ const props = sortKeys({
30
29
  ...props$1,
31
30
  ...props$2,
32
31
  ...props$3,
@@ -45,7 +44,7 @@ const props = makePropsConfigurable(sortKeys({
45
44
  ...props$g,
46
45
  ...props$h,
47
46
  ...props$i
48
- }), NAME_TABLE);
47
+ });
49
48
 
50
49
  // --- Main component ---
51
50
 
@@ -1,17 +1,17 @@
1
1
  import { extend } from '../../vue';
2
2
  import { NAME_TBODY } from '../../constants/components';
3
3
  import { PROP_TYPE_OBJECT } from '../../constants/props';
4
- import { makePropsConfigurable, makeProp } from '../../utils/props';
4
+ import { makeProp } from '../../utils/props';
5
5
  import { attrsMixin } from '../../mixins/attrs';
6
6
  import { listenersMixin } from '../../mixins/listeners';
7
7
  import { normalizeSlotMixin } from '../../mixins/normalize-slot';
8
8
 
9
9
  // --- Props ---
10
10
 
11
- const props = makePropsConfigurable({
11
+ const props = {
12
12
  tbodyTransitionHandlers: makeProp(PROP_TYPE_OBJECT),
13
13
  tbodyTransitionProps: makeProp(PROP_TYPE_OBJECT)
14
- }, NAME_TBODY);
14
+ };
15
15
 
16
16
  // --- Main component ---
17
17
 
@@ -4,7 +4,7 @@ import { PROP_TYPE_NUMBER_STRING, PROP_TYPE_STRING, PROP_TYPE_BOOLEAN } from '..
4
4
  import { isTag } from '../../utils/dom';
5
5
  import { isUndefinedOrNull } from '../../utils/inspect';
6
6
  import { toInteger } from '../../utils/number';
7
- import { makePropsConfigurable, makeProp } from '../../utils/props';
7
+ import { makeProp } from '../../utils/props';
8
8
  import { toString } from '../../utils/string';
9
9
  import { attrsMixin } from '../../mixins/attrs';
10
10
  import { listenersMixin } from '../../mixins/listeners';
@@ -23,13 +23,13 @@ const spanValidator = value => isUndefinedOrNull(value) || parseSpan(value) > 0;
23
23
 
24
24
  // --- Props ---
25
25
 
26
- const props = makePropsConfigurable({
26
+ const props = {
27
27
  colspan: makeProp(PROP_TYPE_NUMBER_STRING, null, spanValidator),
28
28
  rowspan: makeProp(PROP_TYPE_NUMBER_STRING, null, spanValidator),
29
29
  stackedHeading: makeProp(PROP_TYPE_STRING),
30
30
  stickyColumn: makeProp(PROP_TYPE_BOOLEAN, false),
31
31
  variant: makeProp(PROP_TYPE_STRING)
32
- }, NAME_TABLE_CELL);
32
+ };
33
33
 
34
34
  // --- Main component ---
35
35
 
@@ -1,17 +1,17 @@
1
1
  import { extend } from '../../vue';
2
2
  import { NAME_TFOOT } from '../../constants/components';
3
3
  import { PROP_TYPE_STRING } from '../../constants/props';
4
- import { makePropsConfigurable, makeProp } from '../../utils/props';
4
+ import { makeProp } from '../../utils/props';
5
5
  import { attrsMixin } from '../../mixins/attrs';
6
6
  import { listenersMixin } from '../../mixins/listeners';
7
7
  import { normalizeSlotMixin } from '../../mixins/normalize-slot';
8
8
 
9
9
  // --- Props ---
10
10
 
11
- const props = makePropsConfigurable({
11
+ const props = {
12
12
  // Supported values: 'lite', 'dark', or null
13
13
  footVariant: makeProp(PROP_TYPE_STRING)
14
- }, NAME_TFOOT);
14
+ };
15
15
 
16
16
  // --- Main component ---
17
17
 
@@ -1,11 +1,10 @@
1
1
  import { extend } from '../../vue';
2
2
  import { NAME_TH } from '../../constants/components';
3
- import { makePropsConfigurable } from '../../utils/props';
4
3
  import { props as props$1, BTd } from './td';
5
4
 
6
5
  // --- Props ---
7
6
 
8
- const props = makePropsConfigurable(props$1, NAME_TH);
7
+ const props = props$1;
9
8
 
10
9
  // --- Main component ---
11
10
 
@@ -1,18 +1,18 @@
1
1
  import { extend } from '../../vue';
2
2
  import { NAME_THEAD } from '../../constants/components';
3
3
  import { PROP_TYPE_STRING } from '../../constants/props';
4
- import { makePropsConfigurable, makeProp } from '../../utils/props';
4
+ import { makeProp } from '../../utils/props';
5
5
  import { attrsMixin } from '../../mixins/attrs';
6
6
  import { listenersMixin } from '../../mixins/listeners';
7
7
  import { normalizeSlotMixin } from '../../mixins/normalize-slot';
8
8
 
9
9
  // --- Props ---
10
10
 
11
- const props = makePropsConfigurable({
11
+ const props = {
12
12
  // Also sniffed by `<b-tr>` / `<b-td>` / `<b-th>`
13
13
  // Supported values: 'lite', 'dark', or `null`
14
14
  headVariant: makeProp(PROP_TYPE_STRING)
15
- }, NAME_THEAD);
15
+ };
16
16
 
17
17
  // --- Main component ---
18
18
 
@@ -1,7 +1,7 @@
1
1
  import { extend } from '../../vue';
2
2
  import { NAME_TR } from '../../constants/components';
3
3
  import { PROP_TYPE_STRING } from '../../constants/props';
4
- import { makePropsConfigurable, makeProp } from '../../utils/props';
4
+ import { makeProp } from '../../utils/props';
5
5
  import { attrsMixin } from '../../mixins/attrs';
6
6
  import { listenersMixin } from '../../mixins/listeners';
7
7
  import { normalizeSlotMixin } from '../../mixins/normalize-slot';
@@ -13,9 +13,9 @@ const DARK = 'dark';
13
13
 
14
14
  // --- Props ---
15
15
 
16
- const props = makePropsConfigurable({
16
+ const props = {
17
17
  variant: makeProp(PROP_TYPE_STRING)
18
- }, NAME_TR);
18
+ };
19
19
 
20
20
  // --- Main component ---
21
21
 
@@ -4,7 +4,7 @@ import { MODEL_EVENT_NAME_PREFIX } from '../../constants/events';
4
4
  import { PROP_TYPE_BOOLEAN, PROP_TYPE_STRING, PROP_TYPE_ARRAY_OBJECT_STRING, PROP_TYPE_OBJECT } from '../../constants/props';
5
5
  import { SLOT_NAME_TITLE } from '../../constants/slots';
6
6
  import { sortKeys } from '../../utils/object';
7
- import { makePropsConfigurable, makeProp } from '../../utils/props';
7
+ import { makeProp } from '../../utils/props';
8
8
  import { props as props$1, idMixin } from '../../mixins/id';
9
9
  import { normalizeSlotMixin } from '../../mixins/normalize-slot';
10
10
  import { BVTransition } from '../transition/bv-transition';
@@ -16,7 +16,7 @@ const MODEL_EVENT_NAME_ACTIVE = MODEL_EVENT_NAME_PREFIX + MODEL_PROP_NAME_ACTIVE
16
16
 
17
17
  // --- Props ---
18
18
 
19
- const props = makePropsConfigurable(sortKeys({
19
+ const props = sortKeys({
20
20
  ...props$1,
21
21
  [MODEL_PROP_NAME_ACTIVE]: makeProp(PROP_TYPE_BOOLEAN, false),
22
22
  buttonId: makeProp(PROP_TYPE_STRING),
@@ -30,7 +30,7 @@ const props = makePropsConfigurable(sortKeys({
30
30
  titleLinkAttributes: makeProp(PROP_TYPE_OBJECT),
31
31
  // Sniffed by `<b-tabs>` and added to nav `a.nav-link`
32
32
  titleLinkClass: makeProp(PROP_TYPE_ARRAY_OBJECT_STRING)
33
- }), NAME_TAB);
33
+ });
34
34
 
35
35
  // --- Main component ---
36
36
 
@@ -17,7 +17,7 @@ import { makeModelMixin } from '../../utils/model';
17
17
  import { toInteger } from '../../utils/number';
18
18
  import { sortKeys } from '../../utils/object';
19
19
  import { observeDom } from '../../utils/observe-dom';
20
- import { makeProp, makePropsConfigurable } from '../../utils/props';
20
+ import { makeProp } from '../../utils/props';
21
21
  import { stableSort } from '../../utils/stable-sort';
22
22
  import { props as props$1, idMixin } from '../../mixins/id';
23
23
  import { normalizeSlotMixin } from '../../mixins/normalize-slot';
@@ -170,7 +170,7 @@ const navProps = {
170
170
  pills: makeProp(PROP_TYPE_BOOLEAN, false),
171
171
  small: makeProp(PROP_TYPE_BOOLEAN, false)
172
172
  };
173
- const props = makePropsConfigurable(sortKeys({
173
+ const props = sortKeys({
174
174
  ...props$1,
175
175
  ...modelProps,
176
176
  ...navProps,
@@ -190,7 +190,7 @@ const props = makePropsConfigurable(sortKeys({
190
190
  noKeyNav: makeProp(PROP_TYPE_BOOLEAN, false),
191
191
  noNavStyle: makeProp(PROP_TYPE_BOOLEAN, false),
192
192
  tag: makeProp(PROP_TYPE_STRING, 'div')
193
- }), NAME_TABS);
193
+ });
194
194
 
195
195
  // --- Main component ---
196
196
 
@@ -11,7 +11,7 @@ import { mathMax } from '../../utils/math';
11
11
  import { makeModelMixin } from '../../utils/model';
12
12
  import { toInteger } from '../../utils/number';
13
13
  import { pick, sortKeys } from '../../utils/object';
14
- import { makePropsConfigurable, makeProp, pluckProps } from '../../utils/props';
14
+ import { makeProp, pluckProps } from '../../utils/props';
15
15
  import { isLink } from '../../utils/router';
16
16
  import { createNewChildComponent } from '../../utils/create-new-child-component';
17
17
  import { attrsMixin } from '../../mixins/attrs';
@@ -40,7 +40,7 @@ const MIN_DURATION = 1000;
40
40
  // --- Props ---
41
41
 
42
42
  const linkProps = pick(props$1, ['href', 'to']);
43
- const props = makePropsConfigurable(sortKeys({
43
+ const props = sortKeys({
44
44
  ...props$2,
45
45
  ...modelProps,
46
46
  ...linkProps,
@@ -61,7 +61,7 @@ const props = makePropsConfigurable(sortKeys({
61
61
  toastClass: makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),
62
62
  toaster: makeProp(PROP_TYPE_STRING, 'b-toaster-top-right'),
63
63
  variant: makeProp(PROP_TYPE_STRING)
64
- }), NAME_TOAST);
64
+ });
65
65
 
66
66
  // --- Main component ---
67
67
 
@@ -5,7 +5,7 @@ import { EVENT_NAME_DESTROYED } from '../../constants/events';
5
5
  import { PROP_TYPE_STRING } from '../../constants/props';
6
6
  import { requestAF, removeClass } from '../../utils/dom';
7
7
  import { getRootEventName } from '../../utils/events';
8
- import { makePropsConfigurable, makeProp } from '../../utils/props';
8
+ import { makeProp } from '../../utils/props';
9
9
  import { warn } from '../../utils/warn';
10
10
  import { listenOnRootMixin } from '../../mixins/listen-on-root';
11
11
  import { normalizeSlotMixin } from '../../mixins/normalize-slot';
@@ -48,7 +48,7 @@ const DefaultTransition = /*#__PURE__*/extend({
48
48
 
49
49
  // --- Props ---
50
50
 
51
- const props = makePropsConfigurable({
51
+ const props = {
52
52
  // Allowed: 'true' or 'false' or `null`
53
53
  ariaAtomic: makeProp(PROP_TYPE_STRING),
54
54
  ariaLive: makeProp(PROP_TYPE_STRING),
@@ -56,7 +56,7 @@ const props = makePropsConfigurable({
56
56
  // Required
57
57
  // Aria role
58
58
  role: makeProp(PROP_TYPE_STRING)
59
- }, NAME_TOASTER);
59
+ };
60
60
 
61
61
  // --- Main component ---
62
62
 
@@ -7,7 +7,8 @@ import { useParentMixin } from '../../mixins/use-parent';
7
7
  import { getScopeId } from '../../utils/get-scope-id';
8
8
  import { isUndefinedOrNull } from '../../utils/inspect';
9
9
  import { pick } from '../../utils/object';
10
- import { makePropsConfigurable, makeProp } from '../../utils/props';
10
+ import { TOOLTIP_DELAY } from '../../constants/config';
11
+ import { makeProp } from '../../utils/props';
11
12
  import { createNewChildComponent, eventProp } from '../../utils/create-new-child-component';
12
13
  import { normalizeSlotMixin } from '../../mixins/normalize-slot';
13
14
  import { BVTooltip } from './helpers/bv-tooltip';
@@ -21,18 +22,18 @@ const MODEL_EVENT_NAME_SHOW = MODEL_EVENT_NAME_PREFIX + MODEL_PROP_NAME_SHOW;
21
22
 
22
23
  // --- Props ---
23
24
 
24
- const props = makePropsConfigurable({
25
+ const props = {
25
26
  // String: scrollParent, window, or viewport
26
27
  // Element: element reference
27
28
  // Object: Vue component
28
29
  boundary: makeProp([HTMLElement, PROP_TYPE_OBJECT, PROP_TYPE_STRING], 'scrollParent'),
29
- boundaryPadding: makeProp(PROP_TYPE_NUMBER_STRING, 50),
30
+ boundaryPadding: makeProp(PROP_TYPE_NUMBER_STRING, 5),
30
31
  // String: HTML ID of container, if null body is used (default)
31
32
  // HTMLElement: element reference reference
32
33
  // Object: Vue Component
33
34
  container: makeProp([HTMLElement, PROP_TYPE_OBJECT, PROP_TYPE_STRING]),
34
- customClass: makeProp(PROP_TYPE_STRING),
35
- delay: makeProp(PROP_TYPE_NUMBER_OBJECT_STRING, 50),
35
+ customClass: makeProp(PROP_TYPE_STRING, 'gl-tooltip'),
36
+ delay: makeProp(PROP_TYPE_NUMBER_OBJECT_STRING, TOOLTIP_DELAY),
36
37
  [MODEL_PROP_NAME_ENABLED]: makeProp(PROP_TYPE_BOOLEAN, false),
37
38
  fallbackPlacement: makeProp(PROP_TYPE_ARRAY_STRING, 'flip'),
38
39
  // ID to use for tooltip element
@@ -50,7 +51,7 @@ const props = makePropsConfigurable({
50
51
  title: makeProp(PROP_TYPE_STRING),
51
52
  triggers: makeProp(PROP_TYPE_ARRAY_STRING, 'hover focus'),
52
53
  variant: makeProp(PROP_TYPE_STRING)
53
- }, NAME_TOOLTIP);
54
+ };
54
55
 
55
56
  // --- Main component ---
56
57