@gitlab/ui 42.0.1 → 42.3.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,24 @@
1
+ # [42.3.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v42.2.0...v42.3.0) (2022-06-17)
2
+
3
+
4
+ ### Features
5
+
6
+ * **color:** Update $gray-10 ([0ae72df](https://gitlab.com/gitlab-org/gitlab-ui/commit/0ae72df606bf75601dc2a2b772c986d92b10c99d)), closes [#f5f5f5](https://gitlab.com/gitlab-org/gitlab-ui/issues/f5f5f5)
7
+
8
+ # [42.2.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v42.1.0...v42.2.0) (2022-06-16)
9
+
10
+
11
+ ### Features
12
+
13
+ * **GlAccordionItem:** expose visible state as v-model ([617c438](https://gitlab.com/gitlab-org/gitlab-ui/commit/617c4386955bf5218bb9199a1ad7c93e13745bef))
14
+
15
+ # [42.1.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v42.0.1...v42.1.0) (2022-06-16)
16
+
17
+
18
+ ### Features
19
+
20
+ * **css:** Add new lg-breakpoint spacing & sizing utilities ([b82169f](https://gitlab.com/gitlab-org/gitlab-ui/commit/b82169f6a0f0176410bfd779ffbcfde03100725e))
21
+
1
22
  ## [42.0.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v42.0.0...v42.0.1) (2022-06-16)
2
23
 
3
24
 
@@ -15,6 +15,10 @@ var script = {
15
15
  },
16
16
  inject: ['accordionSetId', 'defaultHeaderLevel'],
17
17
  inheritAttrs: false,
18
+ model: {
19
+ prop: 'visible',
20
+ event: 'input'
21
+ },
18
22
  props: {
19
23
  /*
20
24
  Used to set the title of accordion link
@@ -82,6 +86,16 @@ var script = {
82
86
  return this.isVisible && this.titleVisible ? this.titleVisible : this.title;
83
87
  }
84
88
 
89
+ },
90
+ watch: {
91
+ isVisible: {
92
+ immediate: true,
93
+
94
+ handler(isVisible) {
95
+ this.$emit('input', isVisible);
96
+ }
97
+
98
+ }
85
99
  }
86
100
  };
87
101