@gitlab/ui 109.0.0 → 109.1.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,10 @@
1
+ # [109.1.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v109.0.0...v109.1.0) (2025-03-05)
2
+
3
+
4
+ ### Features
5
+
6
+ * **GlChart:** Remove deprecated "disable-theme" prop ([64c8f57](https://gitlab.com/gitlab-org/gitlab-ui/commit/64c8f572d06cf5606a9f6dc4cd6a079f0c6137e0))
7
+
1
8
  # [109.0.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v108.10.0...v109.0.0) (2025-03-03)
2
9
 
3
10
 
@@ -40,16 +40,6 @@ var script = {
40
40
  type: Object,
41
41
  required: true
42
42
  },
43
- /**
44
- * Warning: this prop is deprecated and will soon be removed
45
- * Please do not utilize `disableTheme` for formatting
46
- * Use the `options` prop to set desired echarts formatting
47
- */
48
- disableTheme: {
49
- type: Boolean,
50
- required: false,
51
- default: false
52
- },
53
43
  width: {
54
44
  type: [Number, String],
55
45
  required: false,
@@ -117,13 +107,11 @@ var script = {
117
107
  }
118
108
  },
119
109
  created() {
120
- if (!this.disableTheme) {
121
- echarts.registerTheme(themeName, createTheme(this.options));
122
- }
110
+ echarts.registerTheme(themeName, createTheme(this.options));
123
111
  },
124
112
  async mounted() {
125
113
  await this.$nextTick();
126
- const chart = echarts.init(this.$refs.chart, this.disableTheme ? null : themeName, {
114
+ const chart = echarts.init(this.$refs.chart, themeName, {
127
115
  renderer: this.renderer,
128
116
  width: defaultWidth,
129
117
  height: defaultHeight
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "109.0.0",
3
+ "version": "109.1.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -144,7 +144,7 @@
144
144
  "axe-playwright": "^2.1.0",
145
145
  "babel-jest": "29.0.1",
146
146
  "babel-loader": "^8.0.5",
147
- "cypress": "14.0.2",
147
+ "cypress": "14.1.0",
148
148
  "cypress-axe": "^1.4.0",
149
149
  "cypress-real-events": "^1.11.0",
150
150
  "dompurify": "^3.1.2",
@@ -41,16 +41,6 @@ export default {
41
41
  type: Object,
42
42
  required: true,
43
43
  },
44
- /**
45
- * Warning: this prop is deprecated and will soon be removed
46
- * Please do not utilize `disableTheme` for formatting
47
- * Use the `options` prop to set desired echarts formatting
48
- */
49
- disableTheme: {
50
- type: Boolean,
51
- required: false,
52
- default: false,
53
- },
54
44
  width: {
55
45
  type: [Number, String],
56
46
  required: false,
@@ -120,14 +110,12 @@ export default {
120
110
  },
121
111
  },
122
112
  created() {
123
- if (!this.disableTheme) {
124
- echarts.registerTheme(themeName, createTheme(this.options));
125
- }
113
+ echarts.registerTheme(themeName, createTheme(this.options));
126
114
  },
127
115
  async mounted() {
128
116
  await this.$nextTick();
129
117
 
130
- const chart = echarts.init(this.$refs.chart, this.disableTheme ? null : themeName, {
118
+ const chart = echarts.init(this.$refs.chart, themeName, {
131
119
  renderer: this.renderer,
132
120
  width: defaultWidth,
133
121
  height: defaultHeight,