@gitlab/ui 111.10.2 → 112.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# [112.0.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v111.10.2...v112.0.0) (2025-04-02)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### chore
|
|
5
|
+
|
|
6
|
+
* **GlNavItemDropdown:** Remove component ([b948f97](https://gitlab.com/gitlab-org/gitlab-ui/commit/b948f97142242fd870b4bc60f6d970d9e41d0c20))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### BREAKING CHANGES
|
|
10
|
+
|
|
11
|
+
* **GlNavItemDropdown:** This commit removes the GlNavItemDropdown component.
|
|
12
|
+
|
|
13
|
+
It is not used by any of our projects. Removing it will allow us to
|
|
14
|
+
drop another Bootstrap dependency, BNavItemDropdown.
|
|
15
|
+
|
|
1
16
|
## [111.10.2](https://gitlab.com/gitlab-org/gitlab-ui/compare/v111.10.1...v111.10.2) (2025-04-01)
|
|
2
17
|
|
|
3
18
|
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,6 @@ export { default as GlKeysetPagination } from './components/base/keyset_paginati
|
|
|
4
4
|
export { default as GlInputGroupText } from './components/base/form/input_group_text/input_group_text';
|
|
5
5
|
export { default as GlFormCombobox } from './components/base/form/form_combobox/form_combobox';
|
|
6
6
|
export { default as GlTokenSelector } from './components/base/token_selector/token_selector';
|
|
7
|
-
export { default as GlNavItemDropdown } from './components/base/nav/nav_item_dropdown';
|
|
8
7
|
export { default as GlNav } from './components/base/nav/nav';
|
|
9
8
|
export { default as GlNavItem } from './components/base/nav/nav_item';
|
|
10
9
|
export { default as GlFormCheckboxTree } from './components/base/form/form_checkbox_tree/form_checkbox_tree';
|
package/package.json
CHANGED
|
@@ -4,8 +4,3 @@ types of navigation components.
|
|
|
4
4
|
## `GlNavItem`
|
|
5
5
|
|
|
6
6
|
Use `GlNavItem` to add actionable links (or router links) to your nav. `GlNavItem` wraps [`BNavItem`](https://bootstrap-vue.org/docs/components/navbar#b-nav-item).
|
|
7
|
-
|
|
8
|
-
## `GlNavItemDropdown`
|
|
9
|
-
|
|
10
|
-
Use `GlNavItemDropdown` to place dropdown items within your nav.
|
|
11
|
-
`GlNavItemDropdown` wraps [`BNavItemDropdown`](https://bootstrap-vue.org/docs/components/navbar#b-nav-item-dropdown).
|
package/src/index.js
CHANGED
|
@@ -10,7 +10,6 @@ export { default as GlKeysetPagination } from './components/base/keyset_paginati
|
|
|
10
10
|
export { default as GlInputGroupText } from './components/base/form/input_group_text/input_group_text.vue';
|
|
11
11
|
export { default as GlFormCombobox } from './components/base/form/form_combobox/form_combobox.vue';
|
|
12
12
|
export { default as GlTokenSelector } from './components/base/token_selector/token_selector.vue';
|
|
13
|
-
export { default as GlNavItemDropdown } from './components/base/nav/nav_item_dropdown.vue';
|
|
14
13
|
export { default as GlNav } from './components/base/nav/nav.vue';
|
|
15
14
|
export { default as GlNavItem } from './components/base/nav/nav_item.vue';
|
|
16
15
|
export { default as GlFormCheckboxTree } from './components/base/form/form_checkbox_tree/form_checkbox_tree.vue';
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { BNavItemDropdown } from '../../../vendor/bootstrap-vue/src/components/nav/nav-item-dropdown';
|
|
2
|
-
import GlIcon from '../icon/icon';
|
|
3
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
4
|
-
|
|
5
|
-
var script = {
|
|
6
|
-
name: 'GlNavItemDropdown',
|
|
7
|
-
components: {
|
|
8
|
-
BNavItemDropdown,
|
|
9
|
-
GlIcon
|
|
10
|
-
},
|
|
11
|
-
inheritAttrs: false,
|
|
12
|
-
props: {
|
|
13
|
-
text: {
|
|
14
|
-
type: String,
|
|
15
|
-
required: false,
|
|
16
|
-
default: ''
|
|
17
|
-
},
|
|
18
|
-
icon: {
|
|
19
|
-
type: String,
|
|
20
|
-
required: false,
|
|
21
|
-
default: ''
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
/* script */
|
|
27
|
-
const __vue_script__ = script;
|
|
28
|
-
|
|
29
|
-
/* template */
|
|
30
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-nav-item-dropdown',_vm._g(_vm._b({staticClass:"gl-dropdown",scopedSlots:_vm._u([{key:"default",fn:function(){return [_vm._t("default")]},proxy:true},{key:"button-content",fn:function(){return [_vm._t("button-content",function(){return [(_vm.icon)?_c('gl-icon',{staticClass:"dropdown-icon",attrs:{"name":_vm.icon}}):_vm._e(),_vm._v("\n "+_vm._s(_vm.text)+"\n "),_c('gl-icon',{staticClass:"dropdown-chevron",attrs:{"name":"chevron-down"}})]})]},proxy:true}],null,true)},'b-nav-item-dropdown',_vm.$attrs,false),_vm.$listeners))};
|
|
31
|
-
var __vue_staticRenderFns__ = [];
|
|
32
|
-
|
|
33
|
-
/* style */
|
|
34
|
-
const __vue_inject_styles__ = undefined;
|
|
35
|
-
/* scoped */
|
|
36
|
-
const __vue_scope_id__ = undefined;
|
|
37
|
-
/* module identifier */
|
|
38
|
-
const __vue_module_identifier__ = undefined;
|
|
39
|
-
/* functional template */
|
|
40
|
-
const __vue_is_functional_template__ = false;
|
|
41
|
-
/* style inject */
|
|
42
|
-
|
|
43
|
-
/* style inject SSR */
|
|
44
|
-
|
|
45
|
-
/* style inject shadow dom */
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
const __vue_component__ = __vue_normalize__(
|
|
50
|
-
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
|
|
51
|
-
__vue_inject_styles__,
|
|
52
|
-
__vue_script__,
|
|
53
|
-
__vue_scope_id__,
|
|
54
|
-
__vue_is_functional_template__,
|
|
55
|
-
__vue_module_identifier__,
|
|
56
|
-
false,
|
|
57
|
-
undefined,
|
|
58
|
-
undefined,
|
|
59
|
-
undefined
|
|
60
|
-
);
|
|
61
|
-
|
|
62
|
-
export default __vue_component__;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
import { BNavItemDropdown } from '../../../vendor/bootstrap-vue/src/components/nav/nav-item-dropdown';
|
|
3
|
-
import GlIcon from '../icon/icon.vue';
|
|
4
|
-
|
|
5
|
-
export default {
|
|
6
|
-
name: 'GlNavItemDropdown',
|
|
7
|
-
components: {
|
|
8
|
-
BNavItemDropdown,
|
|
9
|
-
GlIcon,
|
|
10
|
-
},
|
|
11
|
-
inheritAttrs: false,
|
|
12
|
-
props: {
|
|
13
|
-
text: {
|
|
14
|
-
type: String,
|
|
15
|
-
required: false,
|
|
16
|
-
default: '',
|
|
17
|
-
},
|
|
18
|
-
icon: {
|
|
19
|
-
type: String,
|
|
20
|
-
required: false,
|
|
21
|
-
default: '',
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
};
|
|
25
|
-
</script>
|
|
26
|
-
|
|
27
|
-
<template>
|
|
28
|
-
<b-nav-item-dropdown class="gl-dropdown" v-bind="$attrs" v-on="$listeners">
|
|
29
|
-
<template #default>
|
|
30
|
-
<slot></slot>
|
|
31
|
-
</template>
|
|
32
|
-
<template #button-content>
|
|
33
|
-
<slot name="button-content">
|
|
34
|
-
<gl-icon v-if="icon" class="dropdown-icon" :name="icon" />
|
|
35
|
-
{{ text }}
|
|
36
|
-
<gl-icon class="dropdown-chevron" name="chevron-down" />
|
|
37
|
-
</slot>
|
|
38
|
-
</template>
|
|
39
|
-
</b-nav-item-dropdown>
|
|
40
|
-
</template>
|