@gitlab/ui 62.8.0 → 62.9.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [62.9.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v62.9.0...v62.9.1) (2023-05-08)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * make parameters for listbox configurable ([5dcd29b](https://gitlab.com/gitlab-org/gitlab-ui/commit/5dcd29b69a49a063ce4fbe0f1b63f8acd3e63469))
7
+
8
+ # [62.9.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v62.8.0...v62.9.0) (2023-05-05)
9
+
10
+
11
+ ### Features
12
+
13
+ * **GlBroadcastMessage:** Add hardcoded sr-only heading ([9cae3b1](https://gitlab.com/gitlab-org/gitlab-ui/commit/9cae3b19a54068197809cd28010fec85f93ed945))
14
+
1
15
  # [62.8.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v62.7.0...v62.8.0) (2023-05-03)
2
16
 
3
17
 
@@ -77,7 +77,7 @@ var script = {
77
77
  const __vue_script__ = script;
78
78
 
79
79
  /* template */
80
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"gl-broadcast-message",class:(_vm.theme + " " + _vm.type)},[_c('div',{staticClass:"gl-broadcast-message-content"},[_c('div',{staticClass:"gl-broadcast-message-icon gl-line-height-normal"},[_c('gl-icon',{attrs:{"name":_vm.iconName}})],1),_vm._v(" "),_c('div',{staticClass:"gl-my-n1"},[_vm._t("default")],2)]),_vm._v(" "),(_vm.showDismissButton)?_c('close-button',{ref:"dismiss",staticClass:"gl-close-btn-color-inherit gl-broadcast-message-dismiss",attrs:{"label":_vm.dismissLabel},on:{"click":_vm.onDismiss}}):_vm._e()],1)};
80
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"gl-broadcast-message",class:(_vm.theme + " " + _vm.type)},[_c('div',{staticClass:"gl-broadcast-message-content"},[_c('div',{staticClass:"gl-broadcast-message-icon gl-line-height-normal"},[_c('gl-icon',{attrs:{"name":_vm.iconName}})],1),_vm._v(" "),_c('div',{staticClass:"gl-my-n1"},[_c('h2',{staticClass:"gl-sr-only"},[_vm._v("Admin message")]),_vm._v(" "),_vm._t("default")],2)]),_vm._v(" "),(_vm.showDismissButton)?_c('close-button',{ref:"dismiss",staticClass:"gl-close-btn-color-inherit gl-broadcast-message-dismiss",attrs:{"label":_vm.dismissLabel},on:{"click":_vm.onDismiss}}):_vm._e()],1)};
81
81
  var __vue_staticRenderFns__ = [];
82
82
 
83
83
  /* style */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "62.8.0",
3
+ "version": "62.9.1",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -83,28 +83,28 @@
83
83
  },
84
84
  "devDependencies": {
85
85
  "@arkweid/lefthook": "0.7.7",
86
- "@babel/core": "^7.21.5",
86
+ "@babel/core": "^7.21.8",
87
87
  "@babel/preset-env": "^7.21.5",
88
88
  "@babel/preset-react": "^7.18.6",
89
89
  "@gitlab/eslint-plugin": "19.0.0",
90
90
  "@gitlab/fonts": "^1.2.0",
91
91
  "@gitlab/stylelint-config": "4.1.0",
92
- "@gitlab/svgs": "3.42.0",
92
+ "@gitlab/svgs": "3.43.0",
93
93
  "@rollup/plugin-commonjs": "^11.1.0",
94
94
  "@rollup/plugin-node-resolve": "^7.1.3",
95
95
  "@rollup/plugin-replace": "^2.3.2",
96
- "@storybook/addon-a11y": "7.0.7",
97
- "@storybook/addon-docs": "7.0.7",
98
- "@storybook/addon-essentials": "7.0.7",
99
- "@storybook/addon-storyshots": "7.0.7",
100
- "@storybook/addon-storyshots-puppeteer": "7.0.7",
101
- "@storybook/addon-viewport": "7.0.7",
102
- "@storybook/builder-webpack5": "7.0.7",
103
- "@storybook/theming": "7.0.7",
104
- "@storybook/vue": "7.0.7",
105
- "@storybook/vue-webpack5": "7.0.7",
106
- "@storybook/vue3": "7.0.7",
107
- "@storybook/vue3-webpack5": "7.0.7",
96
+ "@storybook/addon-a11y": "7.0.9",
97
+ "@storybook/addon-docs": "7.0.9",
98
+ "@storybook/addon-essentials": "7.0.9",
99
+ "@storybook/addon-storyshots": "7.0.9",
100
+ "@storybook/addon-storyshots-puppeteer": "7.0.9",
101
+ "@storybook/addon-viewport": "7.0.9",
102
+ "@storybook/builder-webpack5": "7.0.9",
103
+ "@storybook/theming": "7.0.9",
104
+ "@storybook/vue": "7.0.9",
105
+ "@storybook/vue-webpack5": "7.0.9",
106
+ "@storybook/vue3": "7.0.9",
107
+ "@storybook/vue3-webpack5": "7.0.9",
108
108
  "@vue/compat": "^3.2.40",
109
109
  "@vue/compiler-sfc": "^3.2.40",
110
110
  "@vue/test-utils": "1.3.0",
@@ -81,6 +81,7 @@ export default {
81
81
  <gl-icon :name="iconName" />
82
82
  </div>
83
83
  <div class="gl-my-n1">
84
+ <h2 class="gl-sr-only">Admin message</h2>
84
85
  <!-- @slot The broadcast message's text -->
85
86
  <slot></slot>
86
87
  </div>
@@ -18,7 +18,8 @@ const template = `
18
18
  </template>
19
19
  </gl-card>`;
20
20
 
21
- const Template = () => ({
21
+ const Template = (args, { argTypes }) => ({
22
+ props: Object.keys(argTypes),
22
23
  components,
23
24
  template,
24
25
  });
@@ -29,7 +29,8 @@ const template = `
29
29
  </gl-carousel>
30
30
  `;
31
31
 
32
- const Template = () => ({
32
+ const Template = (args, { argTypes }) => ({
33
+ props: Object.keys(argTypes),
33
34
  components: { GlCarousel, GlCarouselSlide },
34
35
  template,
35
36
  });
@@ -32,7 +32,8 @@ const template = `
32
32
  </div>
33
33
  `;
34
34
 
35
- const Template = () => ({
35
+ const Template = (args, { argTypes }) => ({
36
+ props: Object.keys(argTypes),
36
37
  components,
37
38
  data,
38
39
  template,
@@ -418,28 +418,22 @@ export default {
418
418
  },
419
419
  argTypes: {
420
420
  category: {
421
- control: {
422
- type: 'select',
423
- options: buttonCategoryOptions,
424
- },
421
+ control: 'select',
422
+ options: buttonCategoryOptions,
425
423
  table: {
426
424
  subcategory: ARG_TYPE_SUBCATEGORY_LOOK_AND_FEEL,
427
425
  },
428
426
  },
429
427
  variant: {
430
- control: {
431
- type: 'select',
432
- options: buttonVariantOptions,
433
- },
428
+ control: 'select',
429
+ options: buttonVariantOptions,
434
430
  table: {
435
431
  subcategory: ARG_TYPE_SUBCATEGORY_LOOK_AND_FEEL,
436
432
  },
437
433
  },
438
434
  size: {
439
- control: {
440
- type: 'select',
441
- options: Object.keys(buttonSizeOptions),
442
- },
435
+ control: 'select',
436
+ options: Object.keys(buttonSizeOptions),
443
437
  table: {
444
438
  subcategory: ARG_TYPE_SUBCATEGORY_LOOK_AND_FEEL,
445
439
  },
@@ -455,10 +449,8 @@ export default {
455
449
  },
456
450
  },
457
451
  placement: {
458
- control: {
459
- type: 'select',
460
- options: Object.keys(dropdownPlacements),
461
- },
452
+ control: 'select',
453
+ options: Object.keys(dropdownPlacements),
462
454
  table: {
463
455
  subcategory: ARG_TYPE_SUBCATEGORY_LOOK_AND_FEEL,
464
456
  },
@@ -7,7 +7,8 @@ Vue.use(GlToast);
7
7
 
8
8
  const components = { GlToast, GlButton };
9
9
 
10
- const Template = () => ({
10
+ const Template = (args, { argTypes }) => ({
11
+ props: Object.keys(argTypes),
11
12
  components,
12
13
  template: `
13
14
  <gl-button @click="showToast()">