@progress/kendo-react-gauges 8.3.0-develop.8 → 8.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/ArcCenter.mjs CHANGED
@@ -27,15 +27,7 @@ const o = class o extends a.Component {
27
27
  render() {
28
28
  const { render: t } = this.props, { arcCenterStyles: e, arcCenterValue: s } = this.state, n = e || { zIndex: -1 };
29
29
  let r = null;
30
- return t && (r = /* @__PURE__ */ a.createElement(
31
- "div",
32
- {
33
- className: "k-arcgauge-label",
34
- ref: (i) => this._element = i,
35
- style: n
36
- },
37
- t(s.value, s.color)
38
- )), r;
30
+ return t && (r = /* @__PURE__ */ a.createElement("div", { className: "k-arcgauge-label", ref: (i) => this._element = i, style: n }, t(s.value, s.color))), r;
39
31
  }
40
32
  onRender(t) {
41
33
  if (!this._element)
package/BaseGauge.mjs CHANGED
@@ -79,31 +79,18 @@ const n = class n extends c.Component {
79
79
  */
80
80
  render() {
81
81
  const { style: e = {}, className: t, children: r } = this.props, s = Object.assign({}, e, { position: "relative" });
82
- return /* @__PURE__ */ c.createElement(P.Provider, { value: this.contextValue }, /* @__PURE__ */ c.createElement(
83
- "div",
84
- {
85
- style: s,
86
- ref: (g) => this._element = g,
87
- className: t
88
- },
89
- r
90
- ));
82
+ return /* @__PURE__ */ c.createElement(P.Provider, { value: this.contextValue }, /* @__PURE__ */ c.createElement("div", { style: s, ref: (g) => this._element = g, className: t }, r));
91
83
  }
92
84
  /**
93
85
  * @hidden
94
86
  */
95
87
  instantiateCoreGauge() {
96
88
  const { dir: e, gaugeConstructor: t } = this.props, r = this.getGaugeOptions();
97
- this.gaugeInstance = new t(
98
- this.element,
99
- r,
100
- this.themeStore.getState(),
101
- {
102
- rtl: this.getDirection(e),
103
- intlService: d(this),
104
- sender: this
105
- }
106
- );
89
+ this.gaugeInstance = new t(this.element, r, this.themeStore.getState(), {
90
+ rtl: this.getDirection(e),
91
+ intlService: d(this),
92
+ sender: this
93
+ });
107
94
  }
108
95
  /**
109
96
  * @hidden
@@ -136,17 +123,11 @@ const n = class n extends c.Component {
136
123
  * @hidden
137
124
  */
138
125
  getGaugeOptions() {
139
- const {
126
+ const { renderAs: e, transitions: t, deriveOptionsFromParent: r } = this.props;
127
+ let s = Object.assign({
140
128
  renderAs: e,
141
- transitions: t,
142
- deriveOptionsFromParent: r
143
- } = this.props;
144
- let s = Object.assign(
145
- {
146
- renderAs: e,
147
- transitions: t
148
- }
149
- );
129
+ transitions: t
130
+ });
150
131
  return r && (s = r(s)), s;
151
132
  }
152
133
  /**
@@ -10,7 +10,7 @@ const e = {
10
10
  name: "@progress/kendo-react-gauges",
11
11
  productName: "KendoReact",
12
12
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
13
- publishDate: 1724400680,
13
+ publishDate: 1726561820,
14
14
  version: "",
15
15
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
16
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-gauges",
3
- "version": "8.3.0-develop.8",
3
+ "version": "8.3.0",
4
4
  "description": "React Gauges provide a set of React components for building beautiful and customizable gauges. KendoReact Gauges package",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -24,13 +24,13 @@
24
24
  "peerDependencies": {
25
25
  "@progress/kendo-drawing": "^1.20.1",
26
26
  "@progress/kendo-licensing": "^1.3.4",
27
- "@progress/kendo-react-common": "8.3.0-develop.8",
28
- "@progress/kendo-react-intl": "8.3.0-develop.8",
27
+ "@progress/kendo-react-common": "8.3.0",
28
+ "@progress/kendo-react-intl": "8.3.0",
29
29
  "react": "^16.8.2 || ^17.0.0 || ^18.0.0",
30
30
  "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
31
31
  },
32
32
  "dependencies": {
33
- "@progress/kendo-charts": "2.4.2",
33
+ "@progress/kendo-charts": "2.5.0",
34
34
  "prop-types": "^15.6.0"
35
35
  },
36
36
  "keywords": [