@gitlab/ui 85.0.0 → 85.0.2

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,17 @@
1
+ ## [85.0.2](https://gitlab.com/gitlab-org/gitlab-ui/compare/v85.0.1...v85.0.2) (2024-06-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Sets no-sort-reset for all tables ([02fd84e](https://gitlab.com/gitlab-org/gitlab-ui/commit/02fd84e74306b60efdd71b3e880737f4c063856d))
7
+
8
+ ## [85.0.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v85.0.0...v85.0.1) (2024-06-24)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * textarea rows should accept strings ([691bb64](https://gitlab.com/gitlab-org/gitlab-ui/commit/691bb64f3797cdfbeec2c7924683f50e9ed83bc7))
14
+
1
15
  # [85.0.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v84.2.0...v85.0.0) (2024-06-24)
2
16
 
3
17
 
@@ -42,7 +42,7 @@ var script = {
42
42
  default: null
43
43
  },
44
44
  rows: {
45
- type: Number,
45
+ type: [Number, String],
46
46
  required: false,
47
47
  default: 4
48
48
  }
@@ -1,5 +1,5 @@
1
1
  const tableFullSlots = ['bottom-row', 'empty', 'emptyfiltered', 'table-busy', 'thead-top', 'top-row'];
2
- const tableFullProps = ['api-url', 'busy', 'current-page', 'empty-filtered-html', 'empty-filtered-text', 'empty-html', 'empty-text', 'filter', 'filter-debounce', 'filter-function', 'filter-ignored-fields', 'filter-included-fields', 'label-sort-asc', 'label-sort-clear', 'label-sort-desc', 'no-footer-sorting', 'no-local-sorting', 'no-provider-filtering', 'no-provider-paging', 'no-provider-sorting', 'no-select-on-click', 'no-sort-reset', 'per-page', 'select-mode', 'selectable', 'selected-variant', 'show-empty', 'sort-by', 'sort-compare', 'sort-compare-locale', 'sort-compare-options', 'sort-desc', 'sort-direction', 'sort-icon-left', 'sort-null-last'];
2
+ const tableFullProps = ['api-url', 'busy', 'current-page', 'empty-filtered-html', 'empty-filtered-text', 'empty-html', 'empty-text', 'filter', 'filter-debounce', 'filter-function', 'filter-ignored-fields', 'filter-included-fields', 'label-sort-asc', 'label-sort-clear', 'label-sort-desc', 'no-footer-sorting', 'no-local-sorting', 'no-provider-filtering', 'no-provider-paging', 'no-provider-sorting', 'no-select-on-click', 'per-page', 'select-mode', 'selectable', 'selected-variant', 'show-empty', 'sort-by', 'sort-compare', 'sort-compare-locale', 'sort-compare-options', 'sort-desc', 'sort-direction', 'sort-icon-left', 'sort-null-last'];
3
3
  const glTableLiteWarning = 'This GlTable could be a GlTableLite component, please consider using GlTableLite instead of GlTable to reduce the page bundlesize more about this here: https://gitlab-org.gitlab.io/gitlab-ui/?path=/docs/base-table-table-lite--default';
4
4
 
5
5
  export { glTableLiteWarning, tableFullProps, tableFullSlots };
@@ -104,7 +104,7 @@ var script = {
104
104
  const __vue_script__ = script;
105
105
 
106
106
  /* template */
107
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-table',_vm._g(_vm._b({attrs:{"table-class":_vm.localTableClass,"fields":_vm.fields,"sort-by":_vm.localSortBy,"sort-desc":_vm.localSortDesc},on:{"update:sortBy":function($event){_vm.localSortBy=$event;},"update:sort-by":function($event){_vm.localSortBy=$event;},"update:sortDesc":function($event){_vm.localSortDesc=$event;},"update:sort-desc":function($event){_vm.localSortDesc=$event;}},scopedSlots:_vm._u([_vm._l((Object.keys(_vm.$scopedSlots)),function(slotName){return {key:slotName,fn:function(scope){return [_vm._t(slotName,null,null,scope)]}}}),_vm._l((_vm.headSlots),function(headSlotName){return {key:headSlotName,fn:function(scope){return [_c('div',{key:headSlotName,staticClass:"gl-display-flex"},[_vm._t(headSlotName,function(){return [_c('span',[_vm._v(_vm._s(scope.label))])]},null,scope),(_vm.isSortable(scope))?[_c('div',{staticClass:"gl-ml-2 gl-w-5 gl-text-gray-900 gl-display-flex gl-justify-content-center"},[_c('span',{class:{ 'gl-display-none': !_vm.activeSortingColumn(scope) },attrs:{"name":"sort-icon","data-testid":"sort-icon"}},[_vm._v("\n "+_vm._s(_vm.getSortingIcon(scope))+"\n ")])])]:_vm._e()],2)]}}})],null,true)},'b-table',_vm.$attrs,false),_vm.$listeners))};
107
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-table',_vm._g(_vm._b({attrs:{"table-class":_vm.localTableClass,"fields":_vm.fields,"sort-by":_vm.localSortBy,"sort-desc":_vm.localSortDesc,"no-sort-reset":""},on:{"update:sortBy":function($event){_vm.localSortBy=$event;},"update:sort-by":function($event){_vm.localSortBy=$event;},"update:sortDesc":function($event){_vm.localSortDesc=$event;},"update:sort-desc":function($event){_vm.localSortDesc=$event;}},scopedSlots:_vm._u([_vm._l((Object.keys(_vm.$scopedSlots)),function(slotName){return {key:slotName,fn:function(scope){return [_vm._t(slotName,null,null,scope)]}}}),_vm._l((_vm.headSlots),function(headSlotName){return {key:headSlotName,fn:function(scope){return [_c('div',{key:headSlotName,staticClass:"gl-display-flex"},[_vm._t(headSlotName,function(){return [_c('span',[_vm._v(_vm._s(scope.label))])]},null,scope),(_vm.isSortable(scope))?[_c('div',{staticClass:"gl-ml-2 gl-w-5 gl-text-gray-900 gl-display-flex gl-justify-content-center"},[_c('span',{class:{ 'gl-display-none': !_vm.activeSortingColumn(scope) },attrs:{"name":"sort-icon","data-testid":"sort-icon"}},[_vm._v("\n "+_vm._s(_vm.getSortingIcon(scope))+"\n ")])])]:_vm._e()],2)]}}})],null,true)},'b-table',_vm.$attrs,false),_vm.$listeners))};
108
108
  var __vue_staticRenderFns__ = [];
109
109
 
110
110
  /* style */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "85.0.0",
3
+ "version": "85.0.2",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -43,7 +43,7 @@ export default {
43
43
  default: null,
44
44
  },
45
45
  rows: {
46
- type: Number,
46
+ type: [Number, String],
47
47
  required: false,
48
48
  default: 4,
49
49
  },
@@ -29,7 +29,6 @@ export const tableFullProps = [
29
29
  'no-provider-paging',
30
30
  'no-provider-sorting',
31
31
  'no-select-on-click',
32
- 'no-sort-reset',
33
32
  'per-page',
34
33
  'select-mode',
35
34
  'selectable',
@@ -100,6 +100,7 @@ export default {
100
100
  :fields="fields"
101
101
  :sort-by.sync="localSortBy"
102
102
  :sort-desc.sync="localSortDesc"
103
+ no-sort-reset
103
104
  v-bind="$attrs"
104
105
  v-on="$listeners"
105
106
  >
@@ -50,7 +50,5 @@ export default {
50
50
 
51
51
  ## Caveats
52
52
 
53
- - If a click event is stopped (e.g., via `event.stopPropagation()`) before it
54
- bubbles up to the `document`, it cannot be detected by `GlOutsideDirective`.
55
53
  - Clicks cannot be detected across document boundaries (e.g., across an
56
54
  `iframe` boundary), in either direction.