@gitlab/ui 112.3.3 → 113.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 CHANGED
@@ -1,3 +1,24 @@
1
+ # [113.1.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v113.0.0...v113.1.0) (2025-04-24)
2
+
3
+
4
+ ### Features
5
+
6
+ * **GlBadge:** pass listeners to badge ([9243c73](https://gitlab.com/gitlab-org/gitlab-ui/commit/9243c7362d2158141a392f84d3f20ae35c079aa6))
7
+
8
+ # [113.0.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v112.3.3...v113.0.0) (2025-04-22)
9
+
10
+
11
+ ### Features
12
+
13
+ * **GlForm:** remove BForm from GlForm ([5f2e51b](https://gitlab.com/gitlab-org/gitlab-ui/commit/5f2e51b5917c18268b82e51c7e808885ec82b2ae))
14
+
15
+
16
+ ### BREAKING CHANGES
17
+
18
+ * **GlForm:** `id` and `novalidate` should now be passed as
19
+ attributes, not props. `inline` and `validated` props are no
20
+ longer supported.
21
+
1
22
  ## [112.3.3](https://gitlab.com/gitlab-org/gitlab-ui/compare/v112.3.2...v112.3.3) (2025-04-22)
2
23
 
3
24
 
@@ -161,7 +161,7 @@ var script = {
161
161
  const __vue_script__ = script;
162
162
 
163
163
  /* template */
164
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.computedTag,_vm._b({tag:"component",class:_vm.classes,attrs:{"role":_vm.role,"aria-label":_vm.ariaLabel}},'component',_vm.computedProps,false),[(_vm.icon)?_c('gl-icon',{staticClass:"gl-badge-icon",class:{ '-gl-ml-2': _vm.isCircularIcon },attrs:{"size":_vm.iconSizeComputed,"name":_vm.icon}}):_vm._e(),_vm._v(" "),(_vm.$slots.default)?_c('span',{staticClass:"gl-badge-content"},[_vm._t("default")],2):_vm._e()],1)};
164
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.computedTag,_vm._g(_vm._b({tag:"component",class:_vm.classes,attrs:{"role":_vm.role,"aria-label":_vm.ariaLabel}},'component',_vm.computedProps,false),_vm.$listeners),[(_vm.icon)?_c('gl-icon',{staticClass:"gl-badge-icon",class:{ '-gl-ml-2': _vm.isCircularIcon },attrs:{"size":_vm.iconSizeComputed,"name":_vm.icon}}):_vm._e(),_vm._v(" "),(_vm.$slots.default)?_c('span',{staticClass:"gl-badge-content"},[_vm._t("default")],2):_vm._e()],1)};
165
165
  var __vue_staticRenderFns__ = [];
166
166
 
167
167
  /* style */
@@ -1,20 +1,16 @@
1
- import { BForm } from '../../../vendor/bootstrap-vue/src/components/form';
2
1
  import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
3
2
 
4
3
  //
4
+
5
5
  var script = {
6
- name: 'GlForm',
7
- components: {
8
- BForm
9
- },
10
- inheritAttrs: false
6
+ name: 'GlForm'
11
7
  };
12
8
 
13
9
  /* script */
14
10
  const __vue_script__ = script;
15
11
 
16
12
  /* template */
17
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-form',_vm._g(_vm._b({},'b-form',_vm.$attrs,false),_vm.$listeners),[_vm._t("default")],2)};
13
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('form',_vm._g({},_vm.$listeners),[_vm._t("default")],2)};
18
14
  var __vue_staticRenderFns__ = [];
19
15
 
20
16
  /* style */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "112.3.3",
3
+ "version": "113.1.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -163,6 +163,7 @@ export default {
163
163
  :class="classes"
164
164
  :role="role"
165
165
  :aria-label="ariaLabel"
166
+ v-on="$listeners"
166
167
  >
167
168
  <gl-icon
168
169
  v-if="icon"
@@ -1,2 +1,2 @@
1
- A wrapper element for `gl-form-*` input elements. Supports `@submit` and `@reset` events, as well as
2
- controlling validation settings for form inputs.
1
+ A wrapper element for `gl-form-*` input elements. Supports `@submit` and `@reset` events.
2
+ To disable native HTML validation pass the `novalidate` attribute.
@@ -1,17 +1,11 @@
1
1
  <!-- eslint-disable vue/multi-word-component-names -->
2
2
  <script>
3
- import { BForm } from '../../../vendor/bootstrap-vue/src/components/form';
4
-
5
3
  export default {
6
4
  name: 'GlForm',
7
- components: {
8
- BForm,
9
- },
10
- inheritAttrs: false,
11
5
  };
12
6
  </script>
13
7
  <template>
14
- <b-form v-bind="$attrs" v-on="$listeners">
8
+ <form v-on="$listeners">
15
9
  <slot></slot>
16
- </b-form>
10
+ </form>
17
11
  </template>