@gitlab/ui 138.4.0 → 138.5.1

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.
@@ -72,7 +72,7 @@ var script = {
72
72
  const __vue_script__ = script;
73
73
 
74
74
  /* template */
75
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"gl-series-label-container"},[(_vm.color.length)?_c('div',{staticClass:"gl-series-label-color"},[_c('svg',{style:(_vm.svgStyles),attrs:{"width":_vm.formatPixelDimension(_vm.$options.svgWidth),"height":_vm.formatPixelDimension(_vm.$options.svgHeight)}},[_c('path',{attrs:{"d":_vm.pathContent}})])]):_vm._e(),_vm._v(" "),_c('div',{ref:"label",staticClass:"gl-series-label-text"},[_vm._t("default")],2)])};
75
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"gl-series-label-container"},[(_vm.color.length)?_c('div',{staticClass:"gl-series-label-color"},[_c('svg',{style:(_vm.svgStyles),attrs:{"width":_vm.formatPixelDimension(_vm.$options.svgWidth),"height":_vm.formatPixelDimension(_vm.$options.svgHeight),"aria-hidden":"true"}},[_c('path',{attrs:{"d":_vm.pathContent}})])]):_vm._e(),_vm._v(" "),_c('div',{ref:"label",staticClass:"gl-series-label-text"},[_vm._t("default")],2)])};
76
76
  var __vue_staticRenderFns__ = [];
77
77
 
78
78
  /* style */
@@ -203,7 +203,7 @@ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=
203
203
  var content = ref.content;
204
204
  return [_c('gl-link',{staticClass:"gl-text-sm",attrs:{"href":_vm.titlePopover.descriptionLink}},[_vm._v(_vm._s(content))])]}}],null,false,3051540671)}):[_vm._v(" "+_vm._s(_vm.titlePopover.description)+" ")]]:_vm._e()],2)]:_vm._e()],2),_vm._v(" "),(_vm.subtitle)?_c('p',{staticClass:"gl-mb-0 gl-mt-1 gl-text-sm gl-text-subtle",attrs:{"data-testid":"panel-subtitle"}},[_vm._v("\n "+_vm._s(_vm.subtitle)+"\n ")]):_vm._e()])],1),_vm._v(" "),(_vm.shouldShowActions || _vm.$scopedSlots.filters)?_c('div',{staticClass:"gl-flex gl-flex-col gl-items-end gl-gap-2",attrs:{"data-testid":"panel-actions-filters-container"}},[(_vm.shouldShowActions)?_c('gl-disclosure-dropdown',{attrs:{"items":_vm.actions,"icon":"ellipsis_v","toggle-text":_vm.actionsToggleText,"text-sr-only":"","no-caret":"","placement":"bottom-end","fluid-width":"","toggle-class":"gl-ml-1","category":"tertiary","positioning-strategy":"fixed","size":"small"},on:{"shown":function($event){return _vm.$emit('dropdown-open')},"hidden":function($event){return _vm.$emit('dropdown-closed')}},scopedSlots:_vm._u([{key:"list-item",fn:function(ref){
205
205
  var item = ref.item;
206
- return [_c('span',[_vm._v(_vm._s(item.text))])]}}],null,false,3418607560)}):_vm._e(),_vm._v(" "),(_vm.$scopedSlots.filters)?_c('div',{staticClass:"gl-flex gl-items-center gl-justify-end",attrs:{"data-testid":"panel-filters-container"}},[_vm._t("filters")],2):_vm._e()],1):_vm._e()],1),_vm._v(" "),_c('div',{class:_vm.bodyClasses},[(_vm.loading)?[_c('gl-loading-icon',{staticClass:"gl-min-h-8 gl-w-full",attrs:{"size":"lg"}}),_vm._v(" "),(_vm.isLoadingDelayed)?_c('div',{staticClass:"gl-w-full gl-text-subtle",attrs:{"data-testId":"panel-loading-delayed-indicator"}},[_vm._v("\n "+_vm._s(_vm.loadingDelayedText)+"\n ")]):_vm._e()]:_vm._t("body")],2),_vm._v(" "),_vm._t("alert-message",null,{"panelId":_vm.panelId})],2)])};
206
+ return [_c('span',[_vm._v(_vm._s(item.text))])]}}],null,false,3418607560)}):_vm._e(),_vm._v(" "),(_vm.$scopedSlots.filters)?_c('div',{staticClass:"gl-flex gl-items-center gl-justify-end",attrs:{"data-testid":"panel-filters-container"}},[_vm._t("filters")],2):_vm._e()],1):_vm._e()],1),_vm._v(" "),_c('div',{class:_vm.bodyClasses},[(_vm.loading)?[_c('gl-loading-icon',{staticClass:"gl-min-h-8 gl-w-full",attrs:{"size":"lg"}}),_vm._v(" "),(_vm.isLoadingDelayed)?_c('div',{staticClass:"gl-w-full gl-text-subtle",attrs:{"data-testId":"panel-loading-delayed-indicator"}},[_vm._v("\n "+_vm._s(_vm.loadingDelayedText)+"\n ")]):_vm._e()]:_vm._t("body")],2),_vm._v(" "),(_vm.$scopedSlots.footer && !_vm.loading)?_c('div',{staticClass:"gl-mt-3 gl-shrink-0",attrs:{"data-testid":"panel-footer"}},[_vm._t("footer")],2):_vm._e(),_vm._v(" "),_vm._t("alert-message",null,{"panelId":_vm.panelId})],2)])};
207
207
  var __vue_staticRenderFns__ = [];
208
208
 
209
209
  /* style */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "138.4.0",
3
+ "version": "138.5.1",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -149,8 +149,8 @@
149
149
  "mockdate": "^3.0.5",
150
150
  "module-alias": "^2.3.4",
151
151
  "pikaday": "^1.8.0",
152
- "playwright": "^1.63.0",
153
- "playwright-core": "^1.63.0",
152
+ "playwright": "^1.64.0",
153
+ "playwright-core": "^1.64.0",
154
154
  "postcss": "8.5.29",
155
155
  "postcss-loader": "8.2.1",
156
156
  "postcss-scss": "4.0.9",
@@ -168,7 +168,7 @@
168
168
  "start-server-and-test": "^2.1.5",
169
169
  "storybook": "^7.6.24",
170
170
  "storybook-dark-mode": "4.0.2",
171
- "style-dictionary": "^5.6.0",
171
+ "style-dictionary": "^5.6.1",
172
172
  "style-loader": "^4",
173
173
  "tailwindcss": "3.4.19",
174
174
  "vue": "2.7.16",
@@ -80,6 +80,7 @@ export default {
80
80
  :style="svgStyles"
81
81
  :width="formatPixelDimension($options.svgWidth)"
82
82
  :height="formatPixelDimension($options.svgHeight)"
83
+ aria-hidden="true"
83
84
  >
84
85
  <path :d="pathContent" />
85
86
  </svg>
@@ -322,6 +322,14 @@ export default {
322
322
  <!-- @slot The panel body to display when not loading. -->
323
323
  <slot v-else name="body"></slot>
324
324
  </div>
325
+ <div
326
+ v-if="$scopedSlots.footer && !loading"
327
+ class="gl-mt-3 gl-shrink-0"
328
+ data-testid="panel-footer"
329
+ >
330
+ <!-- @slot Content pinned below the panel body, such as a link. Hidden while loading. -->
331
+ <slot name="footer"></slot>
332
+ </div>
325
333
  <slot name="alert-message" :panel-id="panelId"></slot>
326
334
  </div>
327
335
  </div>