{"_id":"@aws/address-form-sdk-js","_rev":"11-cd3ba42797de0c088190e169a0c8059a","name":"@aws/address-form-sdk-js","dist-tags":{"latest":"1.6.0"},"versions":{"1.0.0":{"name":"@aws/address-form-sdk-js","version":"1.0.0","_id":"@aws/address-form-sdk-js@1.0.0","maintainers":[{"name":"easonhuangama","email":"yuxuanh@amazon.com"},{"name":"annanyas","email":"annanyas@amazon.com"},{"name":"neelmurt","email":"neelmurt@amazon.com"},{"name":"chgalvan","email":"chgalvan@amazon.com"},{"name":"waypoint-dev","email":"location-dev@amazon.com"},{"name":"imraylee","email":"imraylee@amazon.com"}],"homepage":"https://github.com/aws-geospatial/address-form-sdk-js#readme","bugs":{"url":"https://github.com/aws-geospatial/address-form-sdk-js/issues"},"dist":{"shasum":"c8a8ffd01f08458f6f7aee2f5c3591aed87f5676","tarball":"https://registry.npmjs.org/@aws/address-form-sdk-js/-/address-form-sdk-js-1.0.0.tgz","fileCount":49,"integrity":"sha512-wlTGfYcjc513hV8oT/n5qtkFaIKJ4K3K2MI4BOyYT1Sw6f84H3Srhd+vfTEzrmDvqlNaYaEkgH/ezntULrJ4pg==","signatures":[{"sig":"MEQCIBN0ejxY7ipNUGy0vw3+JefQLrvac2cRL+LxMXLy0PHkAiBhj36FlTFWvyBGFOcRxAfX2xIVO7vdK/+ucr5tvToWPA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1898734},"main":"./dist/lib/address-form-sdk.cjs.js","types":"dist/lib/main.d.ts","gitHead":"b4ee3142f050c11ae5ae40aec1858afcc7878ecb","scripts":{"dev":"vite","lint":"eslint . && prettier --check .","test":"vitest run --coverage","build":"npm run build:lib && npm run build:standalone","format":"prettier --write .","prepare":"vite build","preview":"vite preview","build:lib":"tsc -b && vite build","storybook":"storybook dev -p 6006","prepublishOnly":"npm run build","build:storybook":"storybook build","build:standalone":"tsc -b && vite build --config ./vite.config.standalone.ts"},"_npmUser":{"name":"waypoint-dev","email":"location-dev@amazon.com"},"repository":{"url":"git+https://github.com/aws-geospatial/address-form-sdk-js.git","type":"git"},"_npmVersion":"10.7.0","description":"Address Form SDK for Javascript","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"18.20.4","dependencies":{"clsx":"^2.1.1","maplibre-gl":"^5.4.0","react-map-gl":"^8.0.4","react-hook-form":"^7.57.0","@headlessui/react":"^2.2.2","@vanilla-extract/css":"^1.17.1","@tanstack/react-query":"^5.81.5","@aws-sdk/client-geo-places":"^3.799.0","@aws/amazon-location-utilities-auth-helper":"^1.2.1"},"eslintConfig":{"extends":["plugin:storybook/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"glob":"^10.4.5","vite":"^6.4.1","jsdom":"^26.1.0","react":"^19.1.0","eslint":"^9.22.0","vitest":"^3.1.0","globals":"^16.0.0","prettier":"^3.5.3","react-dom":"^19.1.0","storybook":"^8.6.12","@eslint/js":"^9.22.0","typescript":"~5.7.2","@types/node":"^22.15.0","@types/react":"^19.1.0","@types/lodash":"^4.17.20","@storybook/test":"^8.6.12","vite-plugin-dts":"^4.5.3","@storybook/react":"^8.6.12","@types/react-dom":"^19.1.0","@storybook/blocks":"^8.6.12","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.2.3","jsdom-testing-mocks":"^1.13.1","@testing-library/dom":"^10.4.0","@vitejs/plugin-react":"^4.3.4","@storybook/react-vite":"^8.6.12","@testing-library/react":"^16.3.0","eslint-plugin-storybook":"^0.12.0","rollup-plugin-visualizer":"^5.14.0","@testing-library/jest-dom":"^6.6.3","eslint-plugin-react-hooks":"^5.2.0","@storybook/addon-essentials":"^8.6.12","@storybook/addon-onboarding":"^8.6.12","eslint-plugin-react-refresh":"^0.4.19","@vanilla-extract/vite-plugin":"^5.0.1","@storybook/addon-interactions":"^8.6.12"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/address-form-sdk-js_1.0.0_1762211598346_0.4148924944563317","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@aws/address-form-sdk-js","version":"1.1.0","_id":"@aws/address-form-sdk-js@1.1.0","maintainers":[{"name":"easonhuangama","email":"yuxuanh@amazon.com"},{"name":"annanyas","email":"annanyas@amazon.com"},{"name":"neelmurt","email":"neelmurt@amazon.com"},{"name":"chgalvan","email":"chgalvan@amazon.com"},{"name":"waypoint-dev","email":"location-dev@amazon.com"},{"name":"imraylee","email":"imraylee@amazon.com"}],"homepage":"https://github.com/aws-geospatial/address-form-sdk-js#readme","bugs":{"url":"https://github.com/aws-geospatial/address-form-sdk-js/issues"},"dist":{"shasum":"80885eb486dbd52d1f7d09cb94b75402645b67c4","tarball":"https://registry.npmjs.org/@aws/address-form-sdk-js/-/address-form-sdk-js-1.1.0.tgz","fileCount":52,"integrity":"sha512-oUm6juc7hFgDFBuWAxv1ambOvWg/qeExRPbIn/Ppy5UroQfO1bF1OozOEFv89vOzmPLjoFuemsRoA+05LYjZCg==","signatures":[{"sig":"MEYCIQDuuuByMRg7eWVODFYAAdnInZPlYI4B+gNrcPLSmEoZhAIhANylne4cN4S1+BmnkBtrCT+2Td2fCWnGqRi1kDNYtvIe","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aws%2faddress-form-sdk-js@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1912277},"main":"./dist/lib/address-form-sdk.cjs.js","types":"dist/lib/main.d.ts","gitHead":"0f0806abb5e8fad6211ef2b9a2160389baf023f0","scripts":{"dev":"vite","lint":"eslint . && prettier --check .","test":"vitest run --coverage","build":"npm run build:lib && npm run build:standalone","format":"prettier --write .","prepare":"vite build","preview":"vite preview","build:lib":"tsc -b && vite build","storybook":"storybook dev -p 6006","prepublishOnly":"npm run build","build:storybook":"storybook build","build:standalone":"tsc -b && vite build --config ./vite.config.standalone.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e74a132a-8dba-4466-bd0e-286ae2058ac2"}},"repository":{"url":"git+https://github.com/aws-geospatial/address-form-sdk-js.git","type":"git"},"_npmVersion":"11.6.2","description":"Address Form SDK for Javascript","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"20.19.5","dependencies":{"clsx":"^2.1.1","maplibre-gl":"^5.4.0","react-map-gl":"^8.0.4","react-hook-form":"^7.57.0","@headlessui/react":"^2.2.2","@vanilla-extract/css":"^1.17.1","@tanstack/react-query":"^5.81.5","@aws-sdk/client-geo-places":"^3.799.0","@aws/amazon-location-utilities-auth-helper":"^1.2.1"},"eslintConfig":{"extends":["plugin:storybook/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"glob":"^10.4.5","vite":"^6.4.1","jsdom":"^26.1.0","react":"^19.1.0","eslint":"^9.22.0","vitest":"^3.1.0","globals":"^16.0.0","prettier":"^3.5.3","react-dom":"^19.1.0","storybook":"^8.6.12","@eslint/js":"^9.22.0","typescript":"~5.7.2","@types/node":"^22.15.0","@types/react":"^19.1.0","@types/lodash":"^4.17.20","@storybook/test":"^8.6.12","vite-plugin-dts":"^4.5.3","@storybook/react":"^8.6.12","@types/react-dom":"^19.1.0","@storybook/blocks":"^8.6.12","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.2.3","jsdom-testing-mocks":"^1.13.1","@testing-library/dom":"^10.4.0","@vitejs/plugin-react":"^4.3.4","@storybook/react-vite":"^8.6.12","@testing-library/react":"^16.3.0","eslint-plugin-storybook":"^0.12.0","rollup-plugin-visualizer":"^5.14.0","@testing-library/jest-dom":"^6.6.3","eslint-plugin-react-hooks":"^5.2.0","@storybook/addon-essentials":"^8.6.12","@storybook/addon-onboarding":"^8.6.12","eslint-plugin-react-refresh":"^0.4.19","@vanilla-extract/vite-plugin":"^5.0.1","@storybook/addon-interactions":"^8.6.12"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/address-form-sdk-js_1.1.0_1763163722212_0.5771832252064293","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@aws/address-form-sdk-js","version":"1.2.0","_id":"@aws/address-form-sdk-js@1.2.0","maintainers":[{"name":"easonhuangama","email":"yuxuanh@amazon.com"},{"name":"annanyas","email":"annanyas@amazon.com"},{"name":"neelmurt","email":"neelmurt@amazon.com"},{"name":"chgalvan","email":"chgalvan@amazon.com"},{"name":"waypoint-dev","email":"location-dev@amazon.com"},{"name":"imraylee","email":"imraylee@amazon.com"}],"homepage":"https://github.com/aws-geospatial/address-form-sdk-js#readme","bugs":{"url":"https://github.com/aws-geospatial/address-form-sdk-js/issues"},"dist":{"shasum":"cc256252e03435c0af78bbaec4e507959e52119b","tarball":"https://registry.npmjs.org/@aws/address-form-sdk-js/-/address-form-sdk-js-1.2.0.tgz","fileCount":52,"integrity":"sha512-WmxXi9j2WznMgp3SDE5t1fvf0ZpNNYnav8qUIj2Q/8OpkLJ/Gf3xueR1MitcdCaVvRPEGxw59yjeePr629g3xA==","signatures":[{"sig":"MEQCIGnzKqQsUFYcPaL0LBb+NA8gwp6hd4qHH9COdS6E6gfaAiAQ5xNrx11SuYMLuo1gQX951T4067JU1z1jHQAJ5Y37zQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aws%2faddress-form-sdk-js@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1918110},"main":"./dist/lib/address-form-sdk.cjs.js","types":"dist/lib/main.d.ts","gitHead":"de713c4f2eb05e37e3a41ae5c5af5b30ef7005f2","scripts":{"dev":"vite","lint":"eslint . && prettier --check .","test":"vitest run --coverage","build":"npm run build:lib && npm run build:standalone","format":"prettier --write .","prepare":"vite build","preview":"vite preview","build:lib":"tsc -b && vite build","storybook":"storybook dev -p 6006","prepublishOnly":"npm run build","build:storybook":"storybook build","build:standalone":"tsc -b && vite build --config ./vite.config.standalone.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e74a132a-8dba-4466-bd0e-286ae2058ac2"}},"repository":{"url":"git+https://github.com/aws-geospatial/address-form-sdk-js.git","type":"git"},"_npmVersion":"11.6.3","description":"Address Form SDK for Javascript","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"20.19.5","dependencies":{"clsx":"^2.1.1","maplibre-gl":"^5.4.0","react-map-gl":"^8.0.4","react-hook-form":"^7.57.0","@headlessui/react":"^2.2.2","@vanilla-extract/css":"^1.17.1","@tanstack/react-query":"^5.81.5","@aws-sdk/client-geo-places":"^3.799.0","@aws/amazon-location-utilities-auth-helper":"^1.2.1"},"eslintConfig":{"extends":["plugin:storybook/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"glob":"^10.4.5","vite":"^6.4.1","jsdom":"^26.1.0","react":"^19.1.0","eslint":"^9.22.0","vitest":"^3.1.0","globals":"^16.0.0","prettier":"^3.5.3","react-dom":"^19.1.0","storybook":"^8.6.12","@eslint/js":"^9.22.0","typescript":"~5.7.2","@types/node":"^22.15.0","@types/react":"^19.1.0","@types/lodash":"^4.17.20","@storybook/test":"^8.6.12","vite-plugin-dts":"^4.5.3","@storybook/react":"^8.6.12","@types/react-dom":"^19.1.0","@storybook/blocks":"^8.6.12","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.2.3","jsdom-testing-mocks":"^1.13.1","@testing-library/dom":"^10.4.0","@vitejs/plugin-react":"^4.3.4","@storybook/react-vite":"^8.6.12","@testing-library/react":"^16.3.0","eslint-plugin-storybook":"^0.12.0","rollup-plugin-visualizer":"^5.14.0","@testing-library/jest-dom":"^6.6.3","eslint-plugin-react-hooks":"^5.2.0","@storybook/addon-essentials":"^8.6.12","@storybook/addon-onboarding":"^8.6.12","eslint-plugin-react-refresh":"^0.4.19","@vanilla-extract/vite-plugin":"^5.0.1","@storybook/addon-interactions":"^8.6.12"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/address-form-sdk-js_1.2.0_1763589136300_0.19787175344467656","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@aws/address-form-sdk-js","version":"1.2.1","_id":"@aws/address-form-sdk-js@1.2.1","maintainers":[{"name":"easonhuangama","email":"yuxuanh@amazon.com"},{"name":"annanyas","email":"annanyas@amazon.com"},{"name":"neelmurt","email":"neelmurt@amazon.com"},{"name":"chgalvan","email":"chgalvan@amazon.com"},{"name":"waypoint-dev","email":"location-dev@amazon.com"},{"name":"imraylee","email":"imraylee@amazon.com"}],"homepage":"https://github.com/aws-geospatial/address-form-sdk-js#readme","bugs":{"url":"https://github.com/aws-geospatial/address-form-sdk-js/issues"},"dist":{"shasum":"b6b0ad5714c9fb1a389fb29dea70e1f352f25b70","tarball":"https://registry.npmjs.org/@aws/address-form-sdk-js/-/address-form-sdk-js-1.2.1.tgz","fileCount":52,"integrity":"sha512-kmQszp6Jh1Ts5acaek+E/F+fVuewo92rOAxKJ28B53MbeTH9UOIaVShlp8NQ59oIxYjvaJ195tvuTOjVgbUJIg==","signatures":[{"sig":"MEYCIQDVwDio7Tmailwl/3xQIwpYxK96S9IeWpAfWEyZ7jVXwQIhAK7ns1KXCB/I1o3DeDAd3g33jHL5xNh8kY1p2Ni5T1mc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aws%2faddress-form-sdk-js@1.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1918051},"main":"./dist/lib/address-form-sdk.cjs.js","types":"dist/lib/main.d.ts","gitHead":"f0c8abf77268afc396fb95bf75298222f5710c0c","scripts":{"dev":"vite","lint":"eslint . && prettier --check .","test":"vitest run --coverage","build":"npm run build:lib && npm run build:standalone","format":"prettier --write .","prepare":"vite build","preview":"vite preview","build:lib":"tsc -b && vite build","storybook":"storybook dev -p 6006","prepublishOnly":"npm run build","build:storybook":"storybook build","build:standalone":"tsc -b && vite build --config ./vite.config.standalone.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e74a132a-8dba-4466-bd0e-286ae2058ac2"}},"repository":{"url":"git+https://github.com/aws-geospatial/address-form-sdk-js.git","type":"git"},"_npmVersion":"11.6.3","description":"Address Form SDK for Javascript","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"20.19.5","dependencies":{"clsx":"^2.1.1","maplibre-gl":"^5.4.0","react-map-gl":"^8.0.4","react-hook-form":"^7.57.0","@headlessui/react":"^2.2.2","@vanilla-extract/css":"^1.17.1","@tanstack/react-query":"^5.81.5","@aws-sdk/client-geo-places":"^3.799.0","@aws/amazon-location-utilities-auth-helper":"^1.2.1"},"eslintConfig":{"extends":["plugin:storybook/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"glob":"^10.4.5","vite":"^6.4.1","jsdom":"^26.1.0","react":"^19.1.0","eslint":"^9.22.0","vitest":"^3.1.0","globals":"^16.0.0","prettier":"^3.5.3","react-dom":"^19.1.0","storybook":"^8.6.12","@eslint/js":"^9.22.0","typescript":"~5.7.2","@types/node":"^22.15.0","@types/react":"^19.1.0","@types/lodash":"^4.17.20","@storybook/test":"^8.6.12","vite-plugin-dts":"^4.5.3","@storybook/react":"^8.6.12","@types/react-dom":"^19.1.0","@storybook/blocks":"^8.6.12","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.2.3","jsdom-testing-mocks":"^1.13.1","@testing-library/dom":"^10.4.0","@vitejs/plugin-react":"^4.3.4","@storybook/react-vite":"^8.6.12","@testing-library/react":"^16.3.0","eslint-plugin-storybook":"^0.12.0","rollup-plugin-visualizer":"^5.14.0","@testing-library/jest-dom":"^6.6.3","eslint-plugin-react-hooks":"^5.2.0","@storybook/addon-essentials":"^8.6.12","@storybook/addon-onboarding":"^8.6.12","eslint-plugin-react-refresh":"^0.4.19","@vanilla-extract/vite-plugin":"^5.0.1","@storybook/addon-interactions":"^8.6.12"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/address-form-sdk-js_1.2.1_1763598070591_0.23829619435210114","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@aws/address-form-sdk-js","version":"1.3.0","_id":"@aws/address-form-sdk-js@1.3.0","maintainers":[{"name":"easonhuangama","email":"yuxuanh@amazon.com"},{"name":"annanyas","email":"annanyas@amazon.com"},{"name":"neelmurt","email":"neelmurt@amazon.com"},{"name":"chgalvan","email":"chgalvan@amazon.com"},{"name":"waypoint-dev","email":"location-dev@amazon.com"},{"name":"imraylee","email":"imraylee@amazon.com"}],"homepage":"https://github.com/aws-geospatial/address-form-sdk-js#readme","bugs":{"url":"https://github.com/aws-geospatial/address-form-sdk-js/issues"},"dist":{"shasum":"6715a7c4d94be65c929d3cf9345fcc2cdf807491","tarball":"https://registry.npmjs.org/@aws/address-form-sdk-js/-/address-form-sdk-js-1.3.0.tgz","fileCount":56,"integrity":"sha512-oJ0tiWSVL6qIRAKPW/lS2dXzTUJ8EoS7ZQzXAHACkx/XNcFraHgPFXmYY+THfCeUwo3/ycWjddQJUYcwbbXlcA==","signatures":[{"sig":"MEQCIGUgI/osxkzuFeW26eakX1oBHV68dCTd0XDLUaAr/rfRAiAtWA6/+50hzrv7X3644T0nD+PwMZh0RUbs2JrSmwdmXw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aws%2faddress-form-sdk-js@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1926173},"main":"./dist/lib/address-form-sdk.cjs.js","types":"dist/lib/main.d.ts","gitHead":"997ba658d4842d2e371afc9f4098275ce1bc1ebc","scripts":{"dev":"vite","lint":"eslint . && prettier --check .","test":"vitest run --coverage","build":"npm run build:lib && npm run build:standalone","format":"prettier --write .","prepare":"vite build","preview":"vite preview","build:lib":"tsc -b && vite build","storybook":"storybook dev -p 6006","prepublishOnly":"npm run build","build:storybook":"storybook build","build:standalone":"tsc -b && vite build --config ./vite.config.standalone.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e74a132a-8dba-4466-bd0e-286ae2058ac2"}},"repository":{"url":"git+https://github.com/aws-geospatial/address-form-sdk-js.git","type":"git"},"_npmVersion":"11.7.0","description":"Address Form SDK for Javascript","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"20.19.6","dependencies":{"clsx":"^2.1.1","zustand":"^5.0.8","maplibre-gl":"^5.4.0","react-map-gl":"^8.0.4","react-hook-form":"^7.57.0","@headlessui/react":"^2.2.2","@vanilla-extract/css":"^1.17.1","@tanstack/react-query":"^5.81.5","@aws-sdk/client-geo-places":"^3.799.0","@aws/amazon-location-utilities-auth-helper":"^1.2.1"},"eslintConfig":{"extends":["plugin:storybook/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"glob":"^12.0.0","vite":"^6.4.1","jsdom":"^26.1.0","react":"^19.1.0","eslint":"^9.22.0","vitest":"^3.1.0","globals":"^16.0.0","prettier":"^3.5.3","react-dom":"^19.1.0","storybook":"^8.6.12","@eslint/js":"^9.22.0","typescript":"~5.7.2","@types/node":"^22.15.0","@types/react":"^19.1.0","@types/lodash":"^4.17.20","@storybook/test":"^8.6.12","vite-plugin-dts":"^4.5.3","@storybook/react":"^8.6.12","@types/react-dom":"^19.1.0","@storybook/blocks":"^8.6.12","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.2.3","jsdom-testing-mocks":"^1.13.1","@testing-library/dom":"^10.4.0","@vitejs/plugin-react":"^4.3.4","@storybook/react-vite":"^8.6.12","@testing-library/react":"^16.3.0","eslint-plugin-storybook":"^0.12.0","rollup-plugin-visualizer":"^5.14.0","@testing-library/jest-dom":"^6.6.3","eslint-plugin-react-hooks":"^5.2.0","@storybook/addon-essentials":"^8.6.12","@storybook/addon-onboarding":"^8.6.12","eslint-plugin-react-refresh":"^0.4.19","@vanilla-extract/vite-plugin":"^5.0.1","@storybook/addon-interactions":"^8.6.12"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/address-form-sdk-js_1.3.0_1767119238821_0.8423191669035026","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@aws/address-form-sdk-js","version":"1.4.0","_id":"@aws/address-form-sdk-js@1.4.0","maintainers":[{"name":"easonhuangama","email":"yuxuanh@amazon.com"},{"name":"annanyas","email":"annanyas@amazon.com"},{"name":"neelmurt","email":"neelmurt@amazon.com"},{"name":"chgalvan","email":"chgalvan@amazon.com"},{"name":"waypoint-dev","email":"location-dev@amazon.com"},{"name":"imraylee","email":"imraylee@amazon.com"}],"homepage":"https://github.com/aws-geospatial/address-form-sdk-js#readme","bugs":{"url":"https://github.com/aws-geospatial/address-form-sdk-js/issues"},"dist":{"shasum":"0ca0c5c93b7bcc54a986dcedd506ebf01c899b78","tarball":"https://registry.npmjs.org/@aws/address-form-sdk-js/-/address-form-sdk-js-1.4.0.tgz","fileCount":56,"integrity":"sha512-oEr/e4OoypLiCiQKFb7Reljg4r29o7/M7n41gTnG8y8pCrTHe4DbRh5Zt6mB+YUQxO3uiiiWNz1e2djtPi8pjg==","signatures":[{"sig":"MEUCIQDi9ug6K/o1A8AeRs1iuNLXhtbcV1fSECy6tCPA5TDkcwIgLM+PE1b2TJSR+w7vP+8Sn6RBjoiFc/AwlmfmotvIIQE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aws%2faddress-form-sdk-js@1.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1932656},"main":"./dist/lib/address-form-sdk.cjs.js","types":"dist/lib/main.d.ts","gitHead":"bcb3dce528c59fe3e6fbe5010ca2dd2f0b41c81c","scripts":{"dev":"vite","lint":"eslint . && prettier --check .","test":"vitest run --coverage","build":"npm run build:lib && npm run build:standalone","format":"prettier --write .","prepare":"vite build","preview":"vite preview","build:lib":"tsc -b && vite build","storybook":"storybook dev -p 6006","prepublishOnly":"npm run build","build:storybook":"storybook build","build:standalone":"tsc -b && vite build --config ./vite.config.standalone.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e74a132a-8dba-4466-bd0e-286ae2058ac2"}},"repository":{"url":"git+https://github.com/aws-geospatial/address-form-sdk-js.git","type":"git"},"_npmVersion":"11.8.0","description":"Address Form SDK for Javascript","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"20.20.0","dependencies":{"clsx":"^2.1.1","zustand":"^5.0.8","maplibre-gl":"^5.4.0","react-map-gl":"^8.0.4","react-hook-form":"^7.57.0","@headlessui/react":"^2.2.2","@vanilla-extract/css":"^1.17.1","@tanstack/react-query":"^5.81.5","@aws-sdk/client-geo-places":"^3.799.0","@aws/amazon-location-utilities-auth-helper":"^1.2.1"},"eslintConfig":{"extends":["plugin:storybook/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"glob":"^12.0.0","vite":"^6.4.1","jsdom":"^26.1.0","react":"^19.1.0","eslint":"^9.22.0","vitest":"^3.1.0","globals":"^16.0.0","prettier":"^3.5.3","react-dom":"^19.1.0","storybook":"^8.6.12","@eslint/js":"^9.22.0","typescript":"~5.7.2","@types/node":"^22.15.0","@types/react":"^19.1.0","@types/lodash":"^4.17.20","@storybook/test":"^8.6.12","vite-plugin-dts":"^4.5.3","@storybook/react":"^8.6.12","@types/react-dom":"^19.1.0","@storybook/blocks":"^8.6.12","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.2.3","jsdom-testing-mocks":"^1.13.1","@testing-library/dom":"^10.4.0","@vitejs/plugin-react":"^4.3.4","@storybook/react-vite":"^8.6.12","@testing-library/react":"^16.3.0","eslint-plugin-storybook":"^0.12.0","rollup-plugin-visualizer":"^5.14.0","@testing-library/jest-dom":"^6.6.3","eslint-plugin-react-hooks":"^5.2.0","@storybook/addon-essentials":"^8.6.12","@storybook/addon-onboarding":"^8.6.12","eslint-plugin-react-refresh":"^0.4.19","@vanilla-extract/vite-plugin":"^5.0.1","@storybook/addon-interactions":"^8.6.12"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/address-form-sdk-js_1.4.0_1769795933858_0.22542465154288593","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"@aws/address-form-sdk-js","version":"1.4.1","_id":"@aws/address-form-sdk-js@1.4.1","maintainers":[{"name":"easonhuangama","email":"yuxuanh@amazon.com"},{"name":"annanyas","email":"annanyas@amazon.com"},{"name":"neelmurt","email":"neelmurt@amazon.com"},{"name":"chgalvan","email":"chgalvan@amazon.com"},{"name":"waypoint-dev","email":"location-dev@amazon.com"},{"name":"imraylee","email":"imraylee@amazon.com"}],"homepage":"https://github.com/aws-geospatial/address-form-sdk-js#readme","bugs":{"url":"https://github.com/aws-geospatial/address-form-sdk-js/issues"},"dist":{"shasum":"cadafe318f86a00ac551342af04c690ad135afba","tarball":"https://registry.npmjs.org/@aws/address-form-sdk-js/-/address-form-sdk-js-1.4.1.tgz","fileCount":56,"integrity":"sha512-N24hoepYVGvbbZLtoyJy4T1kBpXFCyBzRWWxARnSUzjBgw6Gpkw8aXt6DkWleSSKXiLfDHuAzqgZdOILDNKsnQ==","signatures":[{"sig":"MEQCIDHfn3n0LBVPbspIj/EoHu9lDY7fVaEy3lUWD5eVhvtHAiBnA9jjwq4VdJh8Mei96ZC+fYKtyWrB6Vn/C9SGO+QENw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aws%2faddress-form-sdk-js@1.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1960571},"main":"./dist/lib/address-form-sdk.cjs.js","types":"dist/lib/main.d.ts","gitHead":"9407421102dcb796939f0d017dc9402beb85fc8d","scripts":{"dev":"vite","lint":"eslint . && prettier --check .","test":"vitest run --coverage","build":"npm run build:lib && npm run build:standalone","format":"prettier --write .","prepare":"vite build","preview":"vite preview","build:lib":"tsc -b && vite build","storybook":"storybook dev -p 6006","prepublishOnly":"npm run build","build:storybook":"storybook build","build:standalone":"tsc -b && vite build --config ./vite.config.standalone.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e74a132a-8dba-4466-bd0e-286ae2058ac2"}},"repository":{"url":"git+https://github.com/aws-geospatial/address-form-sdk-js.git","type":"git"},"_npmVersion":"11.11.0","description":"Address Form SDK for Javascript","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"20.20.0","dependencies":{"clsx":"^2.1.1","zustand":"^5.0.8","maplibre-gl":"^5.4.0","react-map-gl":"^8.0.4","react-hook-form":"^7.57.0","@headlessui/react":"^2.2.2","@vanilla-extract/css":"^1.17.1","@tanstack/react-query":"^5.81.5","@aws-sdk/client-geo-places":"^3.799.0","@aws/amazon-location-utilities-auth-helper":"^1.2.1"},"eslintConfig":{"extends":["plugin:storybook/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"glob":"^12.0.0","vite":"^6.4.1","jsdom":"^26.1.0","react":"^19.1.0","eslint":"^9.22.0","vitest":"^3.1.0","globals":"^16.0.0","prettier":"^3.5.3","react-dom":"^19.1.0","storybook":"^8.6.12","@eslint/js":"^9.22.0","typescript":"~5.7.2","@types/node":"^22.15.0","@types/react":"^19.1.0","@types/lodash":"^4.17.20","@storybook/test":"^8.6.12","vite-plugin-dts":"^4.5.3","@storybook/react":"^8.6.12","@types/react-dom":"^19.1.0","@storybook/blocks":"^8.6.12","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.2.3","jsdom-testing-mocks":"^1.13.1","@testing-library/dom":"^10.4.0","@vitejs/plugin-react":"^4.3.4","@storybook/react-vite":"^8.6.12","@testing-library/react":"^16.3.0","eslint-plugin-storybook":"^0.12.0","rollup-plugin-visualizer":"^5.14.0","@testing-library/jest-dom":"^6.6.3","eslint-plugin-react-hooks":"^5.2.0","@storybook/addon-essentials":"^8.6.12","@storybook/addon-onboarding":"^8.6.12","eslint-plugin-react-refresh":"^0.4.19","@vanilla-extract/vite-plugin":"^5.0.1","@storybook/addon-interactions":"^8.6.12"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/address-form-sdk-js_1.4.1_1773160467094_0.7654919789363064","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@aws/address-form-sdk-js","version":"1.5.0","_id":"@aws/address-form-sdk-js@1.5.0","maintainers":[{"name":"easonhuangama","email":"yuxuanh@amazon.com"},{"name":"chgalvan","email":"chgalvan@amazon.com"},{"name":"waypoint-dev","email":"location-dev@amazon.com"},{"name":"imraylee","email":"imraylee@amazon.com"}],"homepage":"https://github.com/aws-geospatial/address-form-sdk-js#readme","bugs":{"url":"https://github.com/aws-geospatial/address-form-sdk-js/issues"},"dist":{"shasum":"55a15589f88af3c90e7fca383ec77b38acf29cf8","tarball":"https://registry.npmjs.org/@aws/address-form-sdk-js/-/address-form-sdk-js-1.5.0.tgz","fileCount":57,"integrity":"sha512-TwOWgHSZBdTXLqb0W1DdCBKqYPs5jqHEZatx0ZWGfE3YwooizEhyfCAme5oOzomy0s2MOIlkAkKhrPCZdbE3Cw==","signatures":[{"sig":"MEUCIQDmVat+SSUIrfQcwyb3XILyKWrqWOMjckLTzp4czqNX6wIgVnxXQ6bxiozt5h0Z99snQ4V7Uj+BALPMNdkSp3LcKPs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aws%2faddress-form-sdk-js@1.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1970095},"main":"./dist/lib/address-form-sdk.cjs.js","types":"dist/lib/main.d.ts","gitHead":"a0dbc54aef822f845adb8060d14899ae555286b8","scripts":{"dev":"vite","lint":"eslint . && prettier --check .","test":"vitest run --coverage","build":"npm run build:lib && npm run build:standalone","format":"prettier --write .","prepare":"vite build","preview":"vite preview","build:lib":"tsc -b && vite build","storybook":"storybook dev -p 6006","prepublishOnly":"npm run build","build:storybook":"storybook build","build:standalone":"tsc -b && vite build --config ./vite.config.standalone.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e74a132a-8dba-4466-bd0e-286ae2058ac2"}},"repository":{"url":"git+https://github.com/aws-geospatial/address-form-sdk-js.git","type":"git"},"_npmVersion":"11.18.0","description":"Address Form SDK for Javascript","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"20.20.2","dependencies":{"clsx":"^2.1.1","zustand":"^5.0.8","maplibre-gl":"^5.4.0","react-map-gl":"^8.0.4","react-hook-form":"^7.57.0","@headlessui/react":"^2.2.2","@vanilla-extract/css":"^1.17.1","@tanstack/react-query":"^5.81.5","@aws-sdk/client-geo-places":"^3.799.0","@aws/amazon-location-utilities-auth-helper":"^1.2.1"},"eslintConfig":{"extends":["plugin:storybook/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"glob":"^12.0.0","vite":"^6.4.1","jsdom":"^26.1.0","react":"^19.1.0","eslint":"^9.22.0","vitest":"^3.2.6","globals":"^16.0.0","prettier":"^3.5.3","react-dom":"^19.1.0","storybook":"^8.6.12","@eslint/js":"^9.22.0","typescript":"~5.7.2","@types/node":"^22.15.0","@types/react":"^19.1.0","@types/lodash":"^4.17.20","@storybook/test":"^8.6.12","vite-plugin-dts":"^4.5.3","@storybook/react":"^8.6.12","@types/react-dom":"^19.1.0","@storybook/blocks":"^8.6.12","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.2.6","jsdom-testing-mocks":"^1.13.1","@testing-library/dom":"^10.4.0","@vitejs/plugin-react":"^4.3.4","@storybook/react-vite":"^8.6.12","@testing-library/react":"^16.3.0","eslint-plugin-storybook":"^0.12.0","rollup-plugin-visualizer":"^5.14.0","@testing-library/jest-dom":"^6.6.3","eslint-plugin-react-hooks":"^5.2.0","@storybook/addon-essentials":"^8.6.12","@storybook/addon-onboarding":"^8.6.12","eslint-plugin-react-refresh":"^0.4.19","@vanilla-extract/vite-plugin":"^5.0.1","@storybook/addon-interactions":"^8.6.12"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/address-form-sdk-js_1.5.0_1783977262745_0.910065448102561","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"@aws/address-form-sdk-js","description":"Address Form SDK for Javascript","version":"1.6.0","main":"./dist/lib/address-form-sdk.cjs.js","types":"dist/lib/main.d.ts","sideEffects":["**/*.css"],"repository":{"type":"git","url":"git+https://github.com/aws-geospatial/address-form-sdk-js.git"},"scripts":{"dev":"vite","lint":"eslint . && prettier --check .","preview":"vite preview","prepublishOnly":"npm run build","storybook":"storybook dev -p 6006","build":"npm run build:lib && npm run build:standalone","build:lib":"tsc -b && vite build","build:standalone":"tsc -b && vite build --config ./vite.config.standalone.ts","build:storybook":"storybook build","test":"vitest run --coverage","format":"prettier --write .","prepare":"vite build"},"devDependencies":{"@eslint/js":"^10.0.1","@storybook/addon-docs":"^10.5.2","@storybook/addon-onboarding":"^10.5.2","@storybook/react-vite":"^10.5.2","@testing-library/dom":"^10.4.0","@testing-library/jest-dom":"^6.6.3","@testing-library/react":"^16.3.0","@types/lodash":"^4.17.20","@types/node":"^22.15.0","@types/react":"^19.1.0","@types/react-dom":"^19.1.0","@vanilla-extract/vite-plugin":"^5.0.1","@vitejs/plugin-react":"^4.3.4","@vitest/coverage-v8":"^4.1.10","eslint":"^10.8.0","eslint-plugin-react-hooks":"^7.1.1","eslint-plugin-react-refresh":"^0.4.19","eslint-plugin-storybook":"^10.5.2","glob":"^12.0.0","globals":"^16.0.0","jsdom":"^26.1.0","jsdom-testing-mocks":"^1.13.1","prettier":"^3.5.3","react":"^19.1.0","react-dom":"^19.1.0","rollup-plugin-visualizer":"^5.14.0","storybook":"^10.5.2","typescript":"~5.7.2","typescript-eslint":"^8.65.0","vite":"^6.4.1","vite-plugin-dts":"^5.0.3","vitest":"^4.1.10"},"dependencies":{"@aws-sdk/client-geo-places":"^3.1088.0","@aws/amazon-location-utilities-auth-helper":"^1.3.3","@headlessui/react":"^2.2.2","@tanstack/react-query":"^5.81.5","@vanilla-extract/css":"^1.17.1","clsx":"^2.1.1","maplibre-gl":"^5.4.0","react-hook-form":"^7.57.0","react-map-gl":"^8.0.4","zustand":"^5.0.8"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"eslintConfig":{"extends":["plugin:storybook/recommended"]},"gitHead":"6105b58d49946c0db84b227fc91432f9dfa3fb20","_id":"@aws/address-form-sdk-js@1.6.0","bugs":{"url":"https://github.com/aws-geospatial/address-form-sdk-js/issues"},"homepage":"https://github.com/aws-geospatial/address-form-sdk-js#readme","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-bbx4CwAwFeoIiGNat4wtkt+6ycEi0RQNV6KKQrCYmnoJ6hDYPUg/G/p//cF6jt3+99LXhO5kWpBZ+mMRIq042g==","shasum":"a69753b4083f028b9d0335d1134696c6a8199662","tarball":"https://registry.npmjs.org/@aws/address-form-sdk-js/-/address-form-sdk-js-1.6.0.tgz","fileCount":59,"unpackedSize":2108877,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aws%2faddress-form-sdk-js@1.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQChuaSZOlNCiI4wZmOx/lwWe49odD2VFzy/SdJ3i3TWWwIhALWZ8HJX1TbZ+WO/skol339dBo5y7TKhFGsGWdsZayvN"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e74a132a-8dba-4466-bd0e-286ae2058ac2"}},"directories":{},"maintainers":[{"name":"easonhuangama","email":"yuxuanh@amazon.com"},{"name":"chgalvan","email":"chgalvan@amazon.com"},{"name":"waypoint-dev","email":"location-dev@amazon.com"},{"name":"imraylee","email":"imraylee@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/address-form-sdk-js_1.6.0_1786479201948_0.867391938091326"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-03T23:13:18.241Z","modified":"2026-08-11T20:13:22.583Z","1.0.0":"2025-11-03T23:13:18.625Z","1.1.0":"2025-11-14T23:42:02.468Z","1.2.0":"2025-11-19T21:52:16.550Z","1.2.1":"2025-11-20T00:21:10.850Z","1.3.0":"2025-12-30T18:27:18.987Z","1.4.0":"2026-01-30T17:58:54.101Z","1.4.1":"2026-03-10T16:34:27.265Z","1.5.0":"2026-07-13T21:14:22.967Z","1.6.0":"2026-08-11T20:13:22.200Z"},"bugs":{"url":"https://github.com/aws-geospatial/address-form-sdk-js/issues"},"homepage":"https://github.com/aws-geospatial/address-form-sdk-js#readme","repository":{"type":"git","url":"git+https://github.com/aws-geospatial/address-form-sdk-js.git"},"description":"Address Form SDK for Javascript","maintainers":[{"name":"easonhuangama","email":"yuxuanh@amazon.com"},{"name":"chgalvan","email":"chgalvan@amazon.com"},{"name":"waypoint-dev","email":"location-dev@amazon.com"},{"name":"imraylee","email":"imraylee@amazon.com"}],"readme":"## Amazon Location Address Form SDK\n\nThe Address Form SDK simplifies the development of autofill address forms. As users type their addresses, the form displays relevant suggestions. Selecting a suggestion populates the subsequent fields, including street, city, state, and postal code. This intelligent feature reduces errors and saves time by eliminating manual typing. Users can preview the selected address on a map and adjust the location pin.\n\n## Getting Started\n\nThe Address Form SDK can be used within a React app or in a standalone HTML and JavaScript page. Get started by following the instructions below or use the step by step wizard from our console to configure the address form.\n\n### Prerequisites\n\nYou will need an API key with permission to call the actions listed below. Follow [this guide for how to create an API key](https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html).\n\nThe use of the Address Form will require the following actions to be allowed by your API key:\n\n| Action           | Purpose                                                     | Required When                                          |\n| ---------------- | ----------------------------------------------------------- | ------------------------------------------------------ |\n| `GetTile`        | Retrieves map tiles for rendering the interactive map       | Displaying a map component                             |\n| `Autocomplete`   | Provides real-time address suggestions as users type        | Using the Autocomplete API for typeahead functionality |\n| `Suggest`        | Provides real-time address suggestions as users type        | Using the Suggest API for typeahead functionality      |\n| `ReverseGeocode` | Converts coordinates to address                             | Allowing users to use their current location           |\n| `GetPlace`       | Retrieves detailed place information for selected addresses | Using the typeahead functionality                      |\n\n### Installation\n\n#### React\n\nInstall the SDK in your React app by running: `npm install @aws/address-form-sdk-js`\n\n#### HTML/JavaScript\n\nInclude the following in your HTML code the CSS and JavaScript for the SDK\n\n```html\n...\n<head>\n  ...\n  <link\n    rel=\"stylesheet\"\n    href=\"https://cdn.jsdelivr.net/npm/@aws/address-form-sdk-js/dist/standalone/address-form-sdk.css\"\n  />\n  ...\n</head>\n...\n<body>\n  ...\n  <script src=\"https://cdn.jsdelivr.net/npm/@aws/address-form-sdk-js/dist/standalone/address-form-sdk.umd.js\"></script>\n</body>\n...\n```\n\n### Use SDK\n\nImplement the following code into your React app. Replace the `AMAZON_LOCATION_API_KEY` value with your API key and `AMAZON_LOCATION_REGION` with the region of the API key.\n\n#### React\n\n```jsx\nimport React from \"react\";\nimport { AddressForm, Flex } from \"@aws/address-form-sdk-js\";\n\nexport default function App() {\n  return (\n    <AddressForm\n      apiKey=\"AMAZON_LOCATION_API_KEY\"\n      region=\"AMAZON_LOCATION_REGION\"\n      onSubmit={async (getData) => {\n        // Get form data with intendedUse parameter\n        // Use \"SingleUse\" for one-time display only\n        // Use \"Storage\" if you plan to store/cache the results - makes an extra API call to grant storage rights\n        const data = await getData({ intendedUse: \"SingleUse\" });\n        console.log(data);\n      }}\n    >\n      <Flex direction=\"row\" flex>\n        <Flex direction=\"column\">\n          <input\n            data-api-name=\"autocomplete\"\n            data-type=\"address-form\"\n            name=\"addressLineOne\"\n            placeholder=\"Enter address\"\n          />\n          <input data-type=\"address-form\" name=\"addressLineTwo\" />\n          <input data-type=\"address-form\" name=\"city\" placeholder=\"City\" />\n          <input data-type=\"address-form\" name=\"province\" placeholder=\"State/Province\" />\n          <input data-type=\"address-form\" name=\"postalCode\" />\n          <input data-type=\"address-form\" name=\"country\" placeholder=\"Country\" />\n          <Flex direction=\"row\">\n            <button data-type=\"address-form\" type=\"submit\">\n              Submit\n            </button>\n            <button data-type=\"address-form\" type=\"reset\">\n              Reset\n            </button>\n          </Flex>\n        </Flex>\n        <AddressForm.Map mapStyle={[\"Standard\", \"Light\"]} />\n      </Flex>\n    </AddressForm>\n  );\n}\n```\n\n#### HTML/JavaScript\n\n```html\n<html lang=\"en\">\n  <head>\n    <meta charset=\"UTF-8\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n    <title>Address Form</title>\n    <link\n      rel=\"stylesheet\"\n      href=\"https://cdn.jsdelivr.net/npm/@aws/address-form-sdk-js/dist/standalone/address-form-sdk.css\"\n    />\n  </head>\n  <body>\n    <form id=\"amazon-location-address-form\" class=\"aws-address-form aws-flex-row aws-flex-1\">\n      <div class=\"aws-flex-column\">\n        <input\n          data-type=\"address-form\"\n          name=\"addressLineOne\"\n          data-api-name=\"suggest\"\n          data-show-current-location=\"true\"\n        />\n        <input data-type=\"address-form\" name=\"addressLineTwo\" />\n        <input data-type=\"address-form\" name=\"city\" />\n        <input data-type=\"address-form\" name=\"province\" />\n        <input data-type=\"address-form\" name=\"postalCode\" />\n        <input data-type=\"address-form\" name=\"country\" />\n        <div class=\"aws-flex-row\">\n          <button data-type=\"address-form\" type=\"submit\">Submit</button>\n          <button data-type=\"address-form\" type=\"reset\">Reset</button>\n        </div>\n      </div>\n      <div data-type=\"address-form\" data-map-style=\"Standard,Light\"></div>\n    </form>\n    <script src=\"https://cdn.jsdelivr.net/npm/@aws/address-form-sdk-js/dist/standalone/address-form-sdk.umd.js\"></script>\n    <script>\n      AddressFormSDK.render({\n        root: \"#amazon-location-address-form\",\n        apiKey: \"AMAZON_LOCATION_API_KEY\",\n        region: \"AMAZON_LOCATION_REGION\",\n        showCurrentCountryResultsOnly: true,\n        onSubmit: async (getData) => {\n          // Get form data with intendedUse parameter\n          // Use \"SingleUse\" for one-time display only\n          // Use \"Storage\" if you plan to store/cache the results - makes an extra API call to grant storage rights\n          const data = await getData({ intendedUse: \"SingleUse\" });\n          console.log(data);\n        },\n      });\n    </script>\n  </body>\n</html>\n```\n\n### Customization\n\nThe form is fully customizable - add, remove, or rearrange elements as needed for your use case. Replace the `Flex` component with your own CSS framework or custom styling. You can control other functionalities of the address form through the component props/attributes. See the [API Reference](#api-reference) for complete customization options.\n\n### Supported Countries\n\nThe Address Form SDK supports address autofill worldwide through Amazon Location Service. The following countries have full support with address field parsing, where each address component is populated into its respective field:\n\n- Australia\n- Canada\n- France\n- Hong Kong\n- Ireland\n- New Zealand\n- Philippines\n- Singapore\n- United Kingdom\n- United States\n\nOther countries are in Preview, where the `addressLineOne` field displays the complete address instead of just the street address portion. Future releases will improve this behavior.\n\n## API Reference\n\n### AddressForm\n\n**React:** The main component that wraps the address form functionality. `<AddressForm>`\n\n**HTML/JavaScript:** The function used for rendering the address form onto the page `AddressForm.render({ ... })`\n\n#### Props\n\n| Property                        | Type                                   | Required | Default | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |\n| ------------------------------- | -------------------------------------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `apiKey`                        | `string`                               | Yes      | -       | The Amazon Location Service API key used to authenticate requests.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n| `region`                        | `string`                               | Yes      | -       | The AWS region where Amazon Location Service is called (e.g., \"us-east-1\")                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |\n| `language`                      | `string`                               | No       | -       | [Language code](https://en.wikipedia.org/wiki/IETF_language_tag#List_of_common_primary_language_subtags) for localized address suggestions (e.g., \"en\", \"es\")                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |\n| `politicalView`                 | `string`                               | No       | -       | Political view for address results, affecting disputed territories display                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |\n| `showCurrentCountryResultsOnly` | `boolean`                              | No       | `false` | Limits autofill suggestions to the country selected in the `Country` field                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |\n| `allowedCountries`              | `string[]`                             | No       | -       | Array of ISO country codes (alpha-2 or alpha-3) to restrict address suggestions. See [countries.ts](lib/data/countries.ts) for alpha-2 reference                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |\n| `placeTypes`                    | `AutocompleteFilterPlaceType[]`        | No       | -       | Array of [place types](https://docs.aws.amazon.com/location/latest/APIReference/API_geoplaces_AutocompleteFilter.html#location-Type-geoplaces_AutocompleteFilter-IncludePlaceTypes) to filter results (e.g., \"Locality\", \"PostalCode\")                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |\n| `initialMapCenter`              | `[number, number]`                     | No       | -       | Initial map center as [longitude, latitude] coordinates. If not provided and a single country is specified in `allowedCountries`, the map centers on that country's capital                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |\n| `initialMapZoom`                | `number`                               | No       | Varies  | Initial map zoom level. Defaults: 10 when `initialMapCenter` is provided, 5 when centering on a single allowed country, 1 otherwise                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |\n| `centerBounds`                  | `[[number, number], [number, number]]` | No       | -       | Supported-region box as `[[west, south], [east, north]]` in [longitude, latitude]. When set, search stays in-region (the typeahead bias is clamped into the box, so results stay in-region even if the user pans the map away); clicking the current-location button from a device outside the box shows a warning and leaves the field untouched, rather than returning the nearest in-region address; and the adjustable pin is kept in-region: if the user drags the pin outside the box, the map's adjustment bar shows an out-of-region warning, its \"Undo adjustment\" action returns the pin, and form submission is blocked until it is back in the region. Use for data providers that only cover part of the world (e.g. GrabMaps in Southeast Asia). |\n| `onSubmit`                      | `(getData) => void`                    | No       | -       | Callback function that receives a `getData` async function for retrieving [form data](https://github.com/aws-geospatial/address-form-sdk-js/blob/30fd74fcad353249ad54cc69c4bc5dd39fda7680/README.md?plain=1#L219) with intendedUse parameter                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |\n\n#### Form Submission Data\n\nWhen the form is submitted, the `onSubmit` callback receives a `getData` async function. Call this function with an `intendedUse` parameter to retrieve the form data:\n\n```javascript\nonSubmit: async (getData) => {\n  const data = await getData({\n    intendedUse: \"SingleUse\", // or \"Storage\"\n  });\n};\n```\n\n**Important:** Use `\"Storage\"` if you plan to store or cache the results. This ensures compliance with Amazon Location Service [intended use requirements](https://docs.aws.amazon.com/location/latest/developerguide/places-intended-use.html).\n\nThe returned data object contains the following properties:\n\n| Property           | Type      | Description                                                                                                    |\n| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------- |\n| `placeId`          | `string`  | Place ID from Amazon Location Service (only present when address was selected from typeahead or locate button) |\n| `addressLineOne`   | `string`  | Primary address line (street address)                                                                          |\n| `addressLineTwo`   | `string`  | Secondary address line (apartment, suite, etc.)                                                                |\n| `city`             | `string`  | City name                                                                                                      |\n| `province`         | `string`  | State or province                                                                                              |\n| `postalCode`       | `string`  | Postal or ZIP code                                                                                             |\n| `country`          | `string`  | Country code (ISO 3166-1 alpha-2)                                                                              |\n| `originalPosition` | `string`  | Original coordinates from API response (longitude,latitude)                                                    |\n| `adjustedPosition` | `string`  | User-adjusted coordinates if map pin was moved (longitude,latitude)                                            |\n| `addressDetails`   | `Address` | Complete address object from Amazon Location Service API (GetPlace/ReverseGeocode response)                    |\n\n**Note:** The `addressDetails` property contains the full API response from Amazon Location Service and is only present when the address was populated through our APIs (typeahead selection or locate button). Addresses entered manually by users will not contain this property.\n\n### Form Input Fields\n\nAll input fields use the `data-type=\"address-form\"` attribute along with a `name=` attribute. The following common properties are supported:\n\n#### Common Input Properties\n\n| Property      | Type     | Required | Description                        |\n| ------------- | -------- | -------- | ---------------------------------- |\n| `label`       | `string` | No       | Custom label for the input field   |\n| `placeholder` | `string` | No       | Placeholder text for the input     |\n| `className`   | `string` | No       | CSS class names for custom styling |\n\n#### Address Line One (`name=\"addressLineOne\"`)\n\nPrimary address input with autofill functionality. See [Supported Countries](#supported-countries) for information about address field parsing behavior in different countries.\n\n| Property                     | Type     | Default         | Description                                                                                                                                            |\n| ---------------------------- | -------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `label`                      | `string` | \"Address\"       | Label for the field                                                                                                                                    |\n| `placeholder`                | `string` | \"Enter address\" | Placeholder text                                                                                                                                       |\n| `data-api-name`              | `string` | \"suggest\"       | API type: `autocomplete` or `suggest`. Use `suggest` to return both POI and address suggestions, and `autocomplete` to return address-only suggestions |\n| `data-show-current-location` | `string` | \"true\"          | Enables current location functionality using the browser’s Geolocation API. This will prompt the user for permission to access their location          |\n\n#### Other Input Fields\n\n- **Address Line Two** (`name=\"addressLineTwo\"`): Default label \"Address Line 2\", placeholder \"Apartment, suite, etc.\"\n- **City** (`name=\"city\"`): Default label \"City\"\n- **Province/State** (`name=\"province\"`): Default label \"Province/State\"\n- **Postal Code** (`name=\"postalCode\"`): Default label \"Postal/Zip code\"\n- **Country** (`name=\"country\"`): Default label \"Country\"\n\n### Form Buttons\n\n#### Submit Button\n\n```html\n<button data-type=\"address-form\" type=\"submit\">Submit</button>\n```\n\n#### Reset Button\n\n```html\n<button data-type=\"address-form\" type=\"reset\">Reset</button>\n```\n\n### AddressForm.Map\n\nMap component for displaying and adjusting address location.\n\n**React:** Map component for displaying and adjusting address location. `<AddressForm.Map mapStyle={...}>`\n\n**HTML/JavaScript:** Map element for displaying and adjusting address location.`<div data-type=\"address-form\" data-map-style=\"...\">`\n\n#### Props\n\n| React Property          | React Type | HTML/JavaScript Attribute      | HTML/JavaScript Type | Required | Default | Description                            |\n| ----------------------- | ---------- | ------------------------------ | -------------------- | -------- | ------- | -------------------------------------- |\n| `mapStyle`              | `array`    | `data-map-style`               | `string`             | Yes      | -       | Map style configuration                |\n| `showNavigationControl` | `boolean`  | `data-show-navigation-control` | `string`             | No       | `true`  | Display map navigation controls        |\n| `adjustablePosition`    | `boolean`  | `data-adjustable-position`     | `string`             | No       | `true`  | Allow users to adjust address position |\n\n#### Map Style Options\n\nMap styles consist of two parts: the **map style name** and the **color scheme**. The map style name determines the visual theme (Standard, Monochrome, Hybrid, or Satellite), while the color scheme specifies the brightness variant (Light or Dark) where applicable.\n\n| React Implementation (Array Format) | HTML/JavaScript Implementation (String Format) |\n| ----------------------------------- | ---------------------------------------------- |\n| `['Standard', 'Light']`             | `\"Standard,Light\"`                             |\n| `['Standard', 'Dark']`              | `\"Standard,Dark\"`                              |\n| `['Monochrome', 'Light']`           | `\"Monochrome,Light\"`                           |\n| `['Monochrome', 'Dark']`            | `\"Monochrome,Dark\"`                            |\n| `['Hybrid']`                        | `\"Hybrid\"`                                     |\n| `['Satellite']`                     | `\"Satellite\"`                                  |\n\nFor detailed descriptions of each map style and color scheme, see [AWS map styles and customization](https://docs.aws.amazon.com/location/latest/developerguide/map-styles.html).\n\n## Contributing\n\nWe welcome community contributions and pull requests. See [CONTRIBUTING](CONTRIBUTING.md) for information on how to set up a development environment, and submit code.\n\n## Security\n\nSee [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.\n\n## License\n\nThis project is licensed under the Apache-2.0 License.\n","readmeFilename":"README.md"}