@gitlab/ui 129.1.1 → 129.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "129.1.1",
3
+ "version": "129.1.2",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -1,6 +1,7 @@
1
1
  <script>
2
2
  import { BTable } from '../../../vendor/bootstrap-vue/src/components/table/table';
3
3
  import { logWarning, isDev } from '../../../utils/utils';
4
+ import GlLoadingIcon from '../loading_icon/loading_icon.vue';
4
5
  import { tableFullSlots, tableFullProps, glTableLiteWarning } from './constants';
5
6
 
6
7
  const shouldUseFullTable = ({ $attrs, $scopedSlots }) => {
@@ -16,6 +17,7 @@ export default {
16
17
  name: 'GlTable',
17
18
  components: {
18
19
  BTable,
20
+ GlLoadingIcon,
19
21
  },
20
22
  inheritAttrs: false,
21
23
  props: {
@@ -163,6 +165,11 @@ export default {
163
165
  </template>
164
166
  </div>
165
167
  </template>
168
+ <template #table-busy>
169
+ <slot name="table-busy">
170
+ <gl-loading-icon size="lg" />
171
+ </slot>
172
+ </template>
166
173
  <template #empty="scope">
167
174
  <slot name="empty" v-bind="scope">
168
175
  <p class="gl-mb-0 gl-py-2 gl-text-subtle">{{ scope.emptyText }}</p>
@@ -44,7 +44,7 @@ $b-custom-switch-indicator-size-sm: calc(
44
44
  // --- Tables ---
45
45
 
46
46
  // Table busy state
47
- $b-table-busy-opacity: 0.55 !default;
47
+ $b-table-busy-opacity: 1 !default;
48
48
 
49
49
  // Table sorting
50
50
  $b-table-sort-icon-bg-width: 0.65em !default;