@gitlab/ui 39.0.0 → 39.2.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 +22 -0
- package/dist/components/base/alert/alert.js +11 -1
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/package.json +3 -3
- package/src/components/base/alert/alert.scss +4 -0
- package/src/components/base/alert/alert.spec.js +11 -0
- package/src/components/base/alert/alert.stories.js +14 -0
- package/src/components/base/alert/alert.vue +10 -0
- package/src/components/base/dropdown/dropdown.scss +8 -0
- package/src/components/base/table/table.scss +4 -4
- package/src/components/base/table/table.stories.js +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
## [39.2.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v39.2.0...v39.2.1) (2022-04-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **GlDropdown:** correct small button spacing ([bfed939](https://gitlab.com/gitlab-org/gitlab-ui/commit/bfed939fb34acf25162f6ef5b42591d00071886b))
|
|
7
|
+
|
|
8
|
+
# [39.2.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v39.1.0...v39.2.0) (2022-04-25)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **GlAlert:** Add support for hiding variant icon ([2c5f3a6](https://gitlab.com/gitlab-org/gitlab-ui/commit/2c5f3a67babfc3ddd6f1b5940e11154fdef5902d))
|
|
14
|
+
|
|
15
|
+
# [39.1.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v39.0.0...v39.1.0) (2022-04-22)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* **GlTable:** Add vertical-align: top to table th and td ([4dc5c31](https://gitlab.com/gitlab-org/gitlab-ui/commit/4dc5c318a9c6693e393dce6d12073ad296db928e)), closes [/gitlab.com/gitlab-org/gitlab-ui/-/issues/1759#note_900275198](https://gitlab.com//gitlab.com/gitlab-org/gitlab-ui/-/issues/1759/issues/note_900275198)
|
|
21
|
+
* **GlTable:** Update text color and borders ([1379638](https://gitlab.com/gitlab-org/gitlab-ui/commit/137963838f99427ddb271bd7e4204a92dd438fae))
|
|
22
|
+
|
|
1
23
|
# [39.0.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v38.12.0...v39.0.0) (2022-04-21)
|
|
2
24
|
|
|
3
25
|
|
|
@@ -26,6 +26,15 @@ var script = {
|
|
|
26
26
|
default: true
|
|
27
27
|
},
|
|
28
28
|
|
|
29
|
+
/**
|
|
30
|
+
* Shows icon based on variant.
|
|
31
|
+
*/
|
|
32
|
+
showIcon: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
required: false,
|
|
35
|
+
default: true
|
|
36
|
+
},
|
|
37
|
+
|
|
29
38
|
/**
|
|
30
39
|
* Dismiss button's aria-label.
|
|
31
40
|
*/
|
|
@@ -175,7 +184,8 @@ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=
|
|
|
175
184
|
'gl-alert',
|
|
176
185
|
{ 'gl-alert-sticky': _vm.sticky },
|
|
177
186
|
{ 'gl-alert-not-dismissible': !_vm.dismissible },
|
|
178
|
-
|
|
187
|
+
{ 'gl-alert-no-icon': !_vm.showIcon },
|
|
188
|
+
_vm.variantClass ]},[(_vm.showIcon)?_c('gl-icon',{class:{ 'gl-alert-icon': true, 'gl-alert-icon-no-title': !_vm.title },attrs:{"name":_vm.iconName}}):_vm._e(),_vm._v(" "),_c('div',{staticClass:"gl-alert-content",attrs:{"role":"alert"}},[(_vm.title)?_c('h4',{staticClass:"gl-alert-title"},[_vm._v(_vm._s(_vm.title))]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"gl-alert-body"},[_vm._t("default")],2),_vm._v(" "),(_vm.shouldRenderActions)?_c('div',{staticClass:"gl-alert-actions"},[_vm._t("actions",_vm._l((_vm.actionButtons),function(actionButton,index){return _c('gl-button',_vm._g(_vm._b({key:index,staticClass:"gl-alert-action"},'gl-button',actionButton.attrs,false),actionButton.listeners),[_vm._v("\n "+_vm._s(actionButton.text)+"\n ")])}))],2):_vm._e()]),_vm._v(" "),(_vm.dismissible)?_c('close-button',{ref:"dismiss",staticClass:"gl-dismiss-btn",attrs:{"label":_vm.dismissLabel},on:{"click":_vm.onDismiss}}):_vm._e()],1)};
|
|
179
189
|
var __vue_staticRenderFns__ = [];
|
|
180
190
|
|
|
181
191
|
/* style */
|