@aws-amplify/ui-react 2.17.1 → 2.18.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui-react",
3
- "version": "2.17.1",
3
+ "version": "2.18.2",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "exports": {
@@ -58,7 +58,7 @@
58
58
  "size": "yarn run size-limit"
59
59
  },
60
60
  "dependencies": {
61
- "@aws-amplify/ui": "3.8.3",
61
+ "@aws-amplify/ui": "3.9.2",
62
62
  "@aws-amplify/ui-react-v1": "npm:@aws-amplify/ui-react@1.2.9",
63
63
  "@radix-ui/react-accordion": "0.1.6",
64
64
  "@radix-ui/react-dropdown-menu": "0.1.6",
@@ -73,7 +73,7 @@
73
73
  "maplibre-gl-js-amplify": "1.5.0",
74
74
  "qrcode": "1.5.0",
75
75
  "react-generate-context": "1.0.1",
76
- "react-map-gl": "7.0.10"
76
+ "react-map-gl": "7.0.15"
77
77
  },
78
78
  "peerDependencies": {
79
79
  "aws-amplify": "3.x.x || 4.x.x",
@@ -132,7 +132,7 @@
132
132
  {
133
133
  "name": "Geo",
134
134
  "path": "dist/esm/index.js",
135
- "import": "{ MapView, Geocoder }",
135
+ "import": "{ MapView, LocationSearch }",
136
136
  "limit": "300 kB"
137
137
  }
138
138
  ]
@@ -1 +0,0 @@
1
- import{__rest as r}from"../../../node_modules/tslib/tslib.es6.js";import{jsx as o}from"react/jsx-runtime";import t from"maplibre-gl";import{createAmplifyGeocoder as e}from"maplibre-gl-js-amplify";import{useRef as i,useEffect as s}from"react";import{useMap as n,useControl as m}from"react-map-gl/dist/es5";const p={maplibregl:t,marker:{color:"#3FB1CE"},popup:!0,showResultMarkers:{color:"#3FB1CE"},showResultsWhileTyping:!0},l=r=>{const{current:t}=n();return o(t?c:a,Object.assign({},p,r))},c=o=>{var{position:t="top-right"}=o,i=r(o,["position"]);return m((()=>e(i)),{position:t}),null},a=r=>{const t=i(!1);return s((()=>{t.current||(e(r).addTo("#geocoder-container"),t.current=!0)}),[r]),o("div",{id:"geocoder-container"})};export{l as Geocoder};