@gitlab/ui 89.0.1 → 89.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,10 @@
1
+ # [89.1.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v89.0.1...v89.1.0) (2024-08-15)
2
+
3
+
4
+ ### Features
5
+
6
+ * **Toggle:** Change icon size to xs ([da56600](https://gitlab.com/gitlab-org/gitlab-ui/commit/da566008f38afb4520bcb9e7458663676c75657d))
7
+
1
8
  ## [89.0.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v89.0.0...v89.0.1) (2024-08-14)
2
9
 
3
10
 
@@ -47,7 +47,7 @@ var script = {
47
47
  const __vue_script__ = script;
48
48
 
49
49
  /* template */
50
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-form-select',_vm._g(_vm._b({staticClass:"gl-form-select",class:_vm.cssClasses,scopedSlots:_vm._u([_vm._l((Object.keys(_vm.$slots)),function(slot){return {key:slot,fn:function(){return [_vm._t(slot)]},proxy:true}})],null,true)},'b-form-select',_vm.$attrs,false),_vm.$listeners))};
50
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"gl-form-select-wrapper",class:_vm.cssClasses},[_c('b-form-select',_vm._g(_vm._b({staticClass:"gl-form-select",scopedSlots:_vm._u([_vm._l((Object.keys(_vm.$slots)),function(slot){return {key:slot,fn:function(){return [_vm._t(slot)]},proxy:true}})],null,true)},'b-form-select',_vm.$attrs,false),_vm.$listeners))],1)};
51
51
  var __vue_staticRenderFns__ = [];
52
52
 
53
53
  /* style */
@@ -102,7 +102,7 @@ var script = {
102
102
  }, this.shouldRenderDescription ? 'gl-mb-2' : 'gl-mb-3'];
103
103
  },
104
104
  icon() {
105
- return this.value ? 'mobile-issue-close' : 'close';
105
+ return this.value ? 'check-xs' : 'close-xs';
106
106
  },
107
107
  helpId() {
108
108
  return this.shouldRenderHelp ? `toggle-help-${this.uuid}` : undefined;
@@ -145,7 +145,7 @@ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=
145
145
  'gl-toggle': true,
146
146
  'is-checked': _vm.value,
147
147
  'is-disabled': _vm.disabled,
148
- },attrs:{"role":"switch","aria-checked":_vm.isChecked,"aria-labelledby":_vm.labelId,"aria-describedby":_vm.helpId,"aria-disabled":_vm.disabled,"type":"button"},on:{"click":function($event){$event.preventDefault();return _vm.toggleFeature.apply(null, arguments)}}},[(_vm.isLoading)?_c('gl-loading-icon',{staticClass:"toggle-loading",attrs:{"color":"light"}}):_c('span',{class:{ 'toggle-icon': true, disabled: _vm.disabled }},[_c('gl-icon',{attrs:{"name":_vm.icon,"size":16}})],1)],1),_vm._v(" "),(_vm.shouldRenderHelp)?_c('span',{staticClass:"gl-help-label",attrs:{"id":_vm.helpId,"data-testid":"toggle-help"}},[_vm._t("help",function(){return [_vm._v(_vm._s(_vm.help))]})],2):_vm._e()])};
148
+ },attrs:{"role":"switch","aria-checked":_vm.isChecked,"aria-labelledby":_vm.labelId,"aria-describedby":_vm.helpId,"aria-disabled":_vm.disabled,"type":"button"},on:{"click":function($event){$event.preventDefault();return _vm.toggleFeature.apply(null, arguments)}}},[(_vm.isLoading)?_c('gl-loading-icon',{staticClass:"toggle-loading",attrs:{"color":"light"}}):_c('span',{class:{ 'toggle-icon': true, disabled: _vm.disabled }},[_c('gl-icon',{attrs:{"name":_vm.icon,"size":12}})],1)],1),_vm._v(" "),(_vm.shouldRenderHelp)?_c('span',{staticClass:"gl-help-label",attrs:{"id":_vm.helpId,"data-testid":"toggle-help"}},[_vm._t("help",function(){return [_vm._v(_vm._s(_vm.help))]})],2):_vm._e()])};
149
149
  var __vue_staticRenderFns__ = [];
150
150
 
151
151
  /* style */