@gitlab/ui 115.9.3 → 115.11.0

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.
@@ -41,6 +41,14 @@ var script = {
41
41
  required: false,
42
42
  default: null
43
43
  },
44
+ /**
45
+ * Classes for textarea component when `characterCountLimit` is set.
46
+ */
47
+ textareaClasses: {
48
+ type: [String, Object, Array],
49
+ required: false,
50
+ default: null
51
+ },
44
52
  rows: {
45
53
  type: [Number, String],
46
54
  required: false,
@@ -90,7 +98,7 @@ var script = {
90
98
  bFormTextareaProps() {
91
99
  return {
92
100
  ...this.$attrs,
93
- class: 'gl-form-input gl-form-textarea',
101
+ class: ['gl-form-input gl-form-textarea', this.textareaClasses],
94
102
  noResize: this.noResize,
95
103
  value: this.value,
96
104
  rows: this.rows