@widergy/energy-ui 3.171.2 → 3.171.3

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,9 +1,21 @@
1
- ## [3.171.2](https://github.com/widergy/energy-ui/compare/v3.171.1...v3.171.2) (2026-06-27)
1
+ ## [3.171.3](https://github.com/widergy/energy-ui/compare/v3.171.2...v3.171.3) (2026-06-29)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * [DIS-1103] mejoras ut select + ut date picker ([#804](https://github.com/widergy/energy-ui/issues/804)) ([d43e768](https://github.com/widergy/energy-ui/commit/d43e768a8d05c0983ea319ed6756c3ade4ebdacb))
6
+ * [CX-2712] selected marker z index google map ([#829](https://github.com/widergy/energy-ui/issues/829)) ([7a90960](https://github.com/widergy/energy-ui/commit/7a90960a618da21faf18f2e8d8fa3e3c09be321e))
7
+
8
+ ## [3.171.2](https://github.com/widergy/energy-ui/compare/v3.171.1...v3.171.2) (2026-06-27)
9
+
10
+ ### Novedades y Mejoras
11
+
12
+ * Los selectores de opciones y fechas en modo picker ahora solo permiten seleccionar valores desde la lista, ofreciendo una experiencia más consistente y predecible. [#804](https://github.com/widergy/Energy-UI/pull/804) [DIS-1103](https://widergy.atlassian.net/browse/DIS-1103)
13
+ * Se actualizó el espaciado visual de los componentes para lograr una presentación más uniforme en distintos tamaños de pantalla. [#804](https://github.com/widergy/Energy-UI/pull/804) [DIS-1103](https://widergy.atlassian.net/browse/DIS-1103)
14
+
15
+ ### Correcciones
16
+
17
+ * Se corrigió el espaciado entre líneas en los títulos para mejorar la legibilidad. [#804](https://github.com/widergy/Energy-UI/pull/804) [DIS-1103](https://widergy.atlassian.net/browse/DIS-1103)
18
+ * Mejoras internas de la plataforma. [`bd69f18`](https://github.com/widergy/Energy-UI/commit/bd69f18)
7
19
 
8
20
  ## [3.171.1](https://github.com/widergy/energy-ui/compare/v3.171.0...v3.171.1) (2026-06-23)
9
21
 
@@ -3,12 +3,16 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.polygonDefaultOptions = exports.googleMapDefaultOptions = void 0;
6
+ exports.polygonDefaultOptions = exports.googleMapDefaultOptions = exports.MARKER_Z_INDEX = void 0;
7
7
  var _colorsModule = _interopRequireDefault(require("../../../../scss/variables/colors.module.scss"));
8
8
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
9
  const googleMapDefaultOptions = exports.googleMapDefaultOptions = {
10
10
  mapTypeControl: false
11
11
  };
12
+ const MARKER_Z_INDEX = exports.MARKER_Z_INDEX = {
13
+ selected: 1000,
14
+ default: 1
15
+ };
12
16
  const polygonDefaultOptions = (colorPolygon, colorBorderPolygon) => ({
13
17
  strokeWeight: 2,
14
18
  strokeOpacity: 0.8,
@@ -79,7 +79,8 @@ class GoogleMaps extends _react.PureComponent {
79
79
  return /*#__PURE__*/_react.default.createElement(_reactGoogleMaps.Marker, _extends({}, marker, {
80
80
  key: marker.key,
81
81
  onRightClick: this.handleMarkerRightClick,
82
- onClick: markerData => this.handleMarkerClick(markerData, marker)
82
+ onClick: markerData => this.handleMarkerClick(markerData, marker),
83
+ zIndex: selected ? _constants.MARKER_Z_INDEX.selected : _constants.MARKER_Z_INDEX.default
83
84
  }, MultipleMarkersIcon && !singleMarker && {
84
85
  icon: MultipleMarkersIcon(label, selected),
85
86
  label: undefined
@@ -2,6 +2,10 @@ import Colors from '../../../../scss/variables/colors.module.scss';
2
2
  export const googleMapDefaultOptions = {
3
3
  mapTypeControl: false
4
4
  };
5
+ export const MARKER_Z_INDEX = {
6
+ selected: 1000,
7
+ default: 1
8
+ };
5
9
  export const polygonDefaultOptions = (colorPolygon, colorBorderPolygon) => ({
6
10
  strokeWeight: 2,
7
11
  strokeOpacity: 0.8,
@@ -7,7 +7,7 @@ import { withGoogleMap, GoogleMap, Marker, Polygon } from 'react-google-maps';
7
7
  import SearchBox from 'react-google-maps/lib/components/places/SearchBox';
8
8
  import { GoogleMapsPropTypes } from '../../types';
9
9
  import styles from './styles';
10
- import { googleMapDefaultOptions, polygonDefaultOptions } from './constants';
10
+ import { googleMapDefaultOptions, polygonDefaultOptions, MARKER_Z_INDEX } from './constants';
11
11
  class GoogleMaps extends PureComponent {
12
12
  constructor() {
13
13
  super(...arguments);
@@ -71,7 +71,8 @@ class GoogleMaps extends PureComponent {
71
71
  return /*#__PURE__*/React.createElement(Marker, _extends({}, marker, {
72
72
  key: marker.key,
73
73
  onRightClick: this.handleMarkerRightClick,
74
- onClick: markerData => this.handleMarkerClick(markerData, marker)
74
+ onClick: markerData => this.handleMarkerClick(markerData, marker),
75
+ zIndex: selected ? MARKER_Z_INDEX.selected : MARKER_Z_INDEX.default
75
76
  }, MultipleMarkersIcon && !singleMarker && {
76
77
  icon: MultipleMarkersIcon(label, selected),
77
78
  label: undefined
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widergy/energy-ui",
3
- "version": "3.171.2",
3
+ "version": "3.171.3",
4
4
  "description": "Widergy Web Components",
5
5
  "author": "widergy",
6
6
  "license": "MIT",