@gitlab/ui 124.4.1 → 124.4.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/dist/components/base/collapse/collapse.js +6 -0
- package/dist/components/base/form/form_group/form_group.js +12 -0
- package/dist/components/base/form/form_select/form_select.js +7 -1
- package/dist/components/base/form/form_textarea/form_textarea.js +10 -1
- package/dist/components/base/pagination/pagination.js +3 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/package.json +4 -4
- package/src/components/base/breadcrumb/breadcrumb.scss +2 -1
- package/src/components/base/collapse/collapse.vue +6 -0
- package/src/components/base/form/form_group/form_group.vue +12 -0
- package/src/components/base/form/form_select/form_select.vue +7 -1
- package/src/components/base/form/form_textarea/form_textarea.vue +10 -1
- package/src/components/base/pagination/pagination.vue +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/ui",
|
|
3
|
-
"version": "124.4.
|
|
3
|
+
"version": "124.4.2",
|
|
4
4
|
"description": "GitLab UI Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -120,9 +120,9 @@
|
|
|
120
120
|
"@storybook/vue3": "^7.6.20",
|
|
121
121
|
"@storybook/vue3-webpack5": "^7.6.20",
|
|
122
122
|
"@types/jest-image-snapshot": "^6.4.0",
|
|
123
|
-
"@vue/compat": "^3.5.
|
|
124
|
-
"@vue/compiler-sfc": "^3.5.
|
|
125
|
-
"@vue/server-renderer": "^3.5.
|
|
123
|
+
"@vue/compat": "^3.5.24",
|
|
124
|
+
"@vue/compiler-sfc": "^3.5.24",
|
|
125
|
+
"@vue/server-renderer": "^3.5.24",
|
|
126
126
|
"@vue/test-utils": "1.3.6",
|
|
127
127
|
"@vue/test-utils-vue3": "npm:@vue/test-utils@^2.4.6",
|
|
128
128
|
"@vue/vue2-jest": "29.2.6",
|
|
@@ -7,11 +7,17 @@ export default {
|
|
|
7
7
|
event: 'input',
|
|
8
8
|
},
|
|
9
9
|
props: {
|
|
10
|
+
/**
|
|
11
|
+
* Controls the visibility state of the collapse.
|
|
12
|
+
*/
|
|
10
13
|
visible: {
|
|
11
14
|
type: Boolean,
|
|
12
15
|
default: false,
|
|
13
16
|
required: false,
|
|
14
17
|
},
|
|
18
|
+
/**
|
|
19
|
+
* HTML tag to use for the collapse container element.
|
|
20
|
+
*/
|
|
15
21
|
tag: {
|
|
16
22
|
type: String,
|
|
17
23
|
required: false,
|
|
@@ -10,21 +10,33 @@ export default {
|
|
|
10
10
|
},
|
|
11
11
|
inheritAttrs: false,
|
|
12
12
|
props: {
|
|
13
|
+
/**
|
|
14
|
+
* Additional CSS class(es) to apply to the label element.
|
|
15
|
+
*/
|
|
13
16
|
labelClass: {
|
|
14
17
|
type: [String, Array, Object],
|
|
15
18
|
required: false,
|
|
16
19
|
default: null,
|
|
17
20
|
},
|
|
21
|
+
/**
|
|
22
|
+
* Descriptive text to display below the label.
|
|
23
|
+
*/
|
|
18
24
|
labelDescription: {
|
|
19
25
|
type: String,
|
|
20
26
|
required: false,
|
|
21
27
|
default: '',
|
|
22
28
|
},
|
|
29
|
+
/**
|
|
30
|
+
* When true, displays optional text next to the label.
|
|
31
|
+
*/
|
|
23
32
|
optional: {
|
|
24
33
|
type: Boolean,
|
|
25
34
|
required: false,
|
|
26
35
|
default: false,
|
|
27
36
|
},
|
|
37
|
+
/**
|
|
38
|
+
* Text to display when the field is optional.
|
|
39
|
+
*/
|
|
28
40
|
optionalText: {
|
|
29
41
|
type: String,
|
|
30
42
|
required: false,
|
|
@@ -11,7 +11,7 @@ export default {
|
|
|
11
11
|
inheritAttrs: false,
|
|
12
12
|
props: {
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Width of the select element.
|
|
15
15
|
*/
|
|
16
16
|
width: {
|
|
17
17
|
type: [String, Object],
|
|
@@ -23,11 +23,17 @@ export default {
|
|
|
23
23
|
return widths.every((width) => Object.values(formInputWidths).includes(width));
|
|
24
24
|
},
|
|
25
25
|
},
|
|
26
|
+
/**
|
|
27
|
+
* Additional CSS class(es) to apply to the select element.
|
|
28
|
+
*/
|
|
26
29
|
selectClass: {
|
|
27
30
|
type: [String, Object, Array],
|
|
28
31
|
required: false,
|
|
29
32
|
default: '',
|
|
30
33
|
},
|
|
34
|
+
/**
|
|
35
|
+
* Number of visible options in the select dropdown. When greater than 1, displays as a scrollable list box.
|
|
36
|
+
*/
|
|
31
37
|
selectSize: {
|
|
32
38
|
type: Number,
|
|
33
39
|
required: false,
|
|
@@ -24,11 +24,17 @@ export default {
|
|
|
24
24
|
required: false,
|
|
25
25
|
default: '',
|
|
26
26
|
},
|
|
27
|
+
/**
|
|
28
|
+
* When true, prevents the textarea from being resized by the user (hides the resize handle).
|
|
29
|
+
*/
|
|
27
30
|
noResize: {
|
|
28
31
|
type: Boolean,
|
|
29
32
|
required: false,
|
|
30
33
|
default: true,
|
|
31
34
|
},
|
|
35
|
+
/**
|
|
36
|
+
* When true, emits a submit event when Ctrl+Enter or Cmd+Enter is pressed.
|
|
37
|
+
*/
|
|
32
38
|
submitOnEnter: {
|
|
33
39
|
type: Boolean,
|
|
34
40
|
required: false,
|
|
@@ -43,13 +49,16 @@ export default {
|
|
|
43
49
|
default: null,
|
|
44
50
|
},
|
|
45
51
|
/**
|
|
46
|
-
*
|
|
52
|
+
* Additional CSS class(es) to apply to the textarea element.
|
|
47
53
|
*/
|
|
48
54
|
textareaClasses: {
|
|
49
55
|
type: [String, Object, Array],
|
|
50
56
|
required: false,
|
|
51
57
|
default: null,
|
|
52
58
|
},
|
|
59
|
+
/**
|
|
60
|
+
* Number of visible text rows in the textarea.
|
|
61
|
+
*/
|
|
53
62
|
rows: {
|
|
54
63
|
type: [Number, String],
|
|
55
64
|
required: false,
|