@aws-amplify/ui-react 2.15.4 → 2.15.5

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.
@@ -1 +1 @@
1
- import{__rest as r}from"../../../node_modules/tslib/tslib.es6.js";import{jsx as o}from"react/jsx-runtime";import e from"maplibre-gl";import{createAmplifyGeocoder as t}from"maplibre-gl-js-amplify";import{useRef as i,useEffect as m}from"react";import{useMap as s,useControl as l}from"react-map-gl";const n={maplibregl:e,marker:{color:"#3FB1CE"},popup:!0,showResultMarkers:{color:"#3FB1CE"},showResultsWhileTyping:!0},p=e=>{var t=r(e,["position"]);const{current:i}=s();return o(i?c:a,Object.assign({},n,t))},c=r=>(l((()=>t(r))),null),a=r=>{const e=i(!1);return m((()=>{e.current||(t(r).addTo("#geocoder-container"),e.current=!0)}),[r]),o("div",{id:"geocoder-container"})};export{p as Geocoder};
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 n}from"react";import{useMap as s,useControl as m}from"react-map-gl";const p={maplibregl:t,marker:{color:"#3FB1CE"},popup:!0,showResultMarkers:{color:"#3FB1CE"},showResultsWhileTyping:!0},l=r=>{const{current:t}=s();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 n((()=>{t.current||(e(r).addTo("#geocoder-container"),t.current=!0)}),[r]),o("div",{id:"geocoder-container"})};export{l as Geocoder};
@@ -7483,6 +7483,10 @@ export const PrimitiveCatalog = {
7483
7483
  "variation": {
7484
7484
  "type": "string"
7485
7485
  },
7486
+ "level": {
7487
+ "type": "number",
7488
+ "priority": true
7489
+ },
7486
7490
  "isTruncated": {
7487
7491
  "type": "boolean"
7488
7492
  }