@redus/georedus-ui 0.20.1 → 0.20.2

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,5 +1,11 @@
1
1
  # @orioro/template-react
2
2
 
3
+ ## 0.20.2
4
+
5
+ ### Patch Changes
6
+
7
+ - fix react-qr-code import compat with next
8
+
3
9
  ## 0.20.1
4
10
 
5
11
  ### Patch Changes
package/dist/main.js CHANGED
@@ -37,7 +37,7 @@ import Highlighter from 'react-highlight-words';
37
37
  import { LinkedinShareButton, LinkedinIcon, EmailShareButton, EmailIcon, FacebookShareButton, FacebookIcon, TwitterShareButton, TwitterIcon, WhatsappShareButton, WhatsappIcon } from 'react-share';
38
38
  import CopyToClipboard from 'react-copy-to-clipboard';
39
39
  import { Legend } from '@orioro/react-chart-util';
40
- import QRCode from 'react-qr-code';
40
+ import { QRCode } from 'react-qr-code';
41
41
  import { useMap, useControl, AttributionControl, ScaleControl, GeolocateControl, FullscreenControl, NavigationControl } from 'react-map-gl/maplibre';
42
42
  import { createPortal } from 'react-dom';
43
43
  import { toBlob } from 'html-to-image';
@@ -11438,7 +11438,7 @@ var _getPaperDimensions = getPaperDimensions(PREVIEW_WIDTH_PX),
11438
11438
  MAP_HEIGHT = _getPaperDimensions.MAP_HEIGHT,
11439
11439
  BOTTOM_HEIGHT = _getPaperDimensions.BOTTOM_HEIGHT,
11440
11440
  DESCRIPTION_WIDTH = _getPaperDimensions.DESCRIPTION_WIDTH;
11441
- var ExportImage = /*#__PURE__*/forwardRef(function ExportImage(_ref, ref) {
11441
+ var ExportImage = /*#__PURE__*/forwardRef(function ExportImageInner(_ref, ref) {
11442
11442
  var _resolvedLayout$, _resolvedLayout$2, _layeredMapRef$curren, _resolvedLayout$3;
11443
11443
  var resolvedLayout = _ref.resolvedLayout,
11444
11444
  commitedViewState = _ref.commitedViewState,
@@ -11446,7 +11446,6 @@ var ExportImage = /*#__PURE__*/forwardRef(function ExportImage(_ref, ref) {
11446
11446
  METADATA_API_ENDPOINT = _ref.METADATA_API_ENDPOINT,
11447
11447
  baseMapStyle = _ref.baseMapStyle,
11448
11448
  topViews = _ref.topViews;
11449
- ExportImage.displayName = 'ExportImage';
11450
11449
  var dialogs = useDialogs();
11451
11450
  var rootRef = useRef(null);
11452
11451
  var layeredMapRef = useRef(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redus/georedus-ui",
3
- "version": "0.20.1",
3
+ "version": "0.20.2",
4
4
  "packageManager": "yarn@4.0.2",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",