@aws/address-form-sdk-js 1.4.1 → 1.6.0

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.
Files changed (36) hide show
  1. package/README.md +18 -19
  2. package/dist/lib/address-form-sdk-js.css +1 -1
  3. package/dist/lib/address-form-sdk.cjs.js +1 -1
  4. package/dist/lib/components/AddressForm/index.d.ts +7 -4
  5. package/dist/lib/components/AddressFormReact/AddressForm.d.ts +5 -2
  6. package/dist/lib/components/AddressFormReact/AddressFormAddressField.d.ts +1 -1
  7. package/dist/lib/components/AddressFormReact/AddressFormContext.d.ts +4 -1
  8. package/dist/lib/components/AddressFormReact/AddressFormCountryField.d.ts +1 -1
  9. package/dist/lib/components/AddressFormReact/AddressFormProvider.d.ts +3 -1
  10. package/dist/lib/components/AddressFormReact/AddressFormTextField.d.ts +1 -1
  11. package/dist/lib/components/AddressFormReact/SubmitButton.d.ts +2 -0
  12. package/dist/lib/components/AddressFormReact/render.d.ts +2 -0
  13. package/dist/lib/components/{MapMarker/AdjustButton → AdjustButton}/index.d.ts +1 -1
  14. package/dist/lib/components/AmazonLocationProvider/index.d.ts +2 -2
  15. package/dist/lib/components/Button/index.d.ts +1 -1
  16. package/dist/lib/components/CountrySelect/index.d.ts +1 -1
  17. package/dist/lib/components/Flex/index.d.ts +1 -1
  18. package/dist/lib/components/FormField/index.d.ts +1 -1
  19. package/dist/lib/components/Input/index.d.ts +1 -1
  20. package/dist/lib/components/LocateButton/index.d.ts +3 -1
  21. package/dist/lib/components/Map/index.d.ts +6 -1
  22. package/dist/lib/components/MapMarker/index.d.ts +4 -2
  23. package/dist/lib/components/Tooltip/index.d.ts +7 -0
  24. package/dist/lib/components/Typeahead/index.d.ts +3 -1
  25. package/dist/lib/components/Typeahead/use-typeahead-query.d.ts +1 -1
  26. package/dist/lib/context/amazon-location-context.d.ts +1 -1
  27. package/dist/lib/hooks/use-amazon-location-context.d.ts +1 -1
  28. package/dist/lib/icons/Locate.d.ts +1 -1
  29. package/dist/lib/icons/Logo.d.ts +1 -1
  30. package/dist/lib/stores/notificationStore.d.ts +1 -1
  31. package/dist/lib/test/utils.d.ts +2 -1
  32. package/dist/lib/utils/bounds.d.ts +3 -0
  33. package/dist/lib/utils/position.d.ts +1 -0
  34. package/dist/standalone/address-form-sdk.css +1 -1
  35. package/dist/standalone/address-form-sdk.umd.js +107 -115
  36. package/package.json +15 -19
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws/address-form-sdk-js",
3
3
  "description": "Address Form SDK for Javascript",
4
- "version": "1.4.1",
4
+ "version": "1.6.0",
5
5
  "main": "./dist/lib/address-form-sdk.cjs.js",
6
6
  "types": "dist/lib/main.d.ts",
7
7
  "files": [
@@ -29,14 +29,10 @@
29
29
  "prepare": "vite build"
30
30
  },
31
31
  "devDependencies": {
32
- "@eslint/js": "^9.22.0",
33
- "@storybook/addon-essentials": "^8.6.12",
34
- "@storybook/addon-interactions": "^8.6.12",
35
- "@storybook/addon-onboarding": "^8.6.12",
36
- "@storybook/blocks": "^8.6.12",
37
- "@storybook/react": "^8.6.12",
38
- "@storybook/react-vite": "^8.6.12",
39
- "@storybook/test": "^8.6.12",
32
+ "@eslint/js": "^10.0.1",
33
+ "@storybook/addon-docs": "^10.5.2",
34
+ "@storybook/addon-onboarding": "^10.5.2",
35
+ "@storybook/react-vite": "^10.5.2",
40
36
  "@testing-library/dom": "^10.4.0",
41
37
  "@testing-library/jest-dom": "^6.6.3",
42
38
  "@testing-library/react": "^16.3.0",
@@ -46,11 +42,11 @@
46
42
  "@types/react-dom": "^19.1.0",
47
43
  "@vanilla-extract/vite-plugin": "^5.0.1",
48
44
  "@vitejs/plugin-react": "^4.3.4",
49
- "@vitest/coverage-v8": "^3.2.3",
50
- "eslint": "^9.22.0",
51
- "eslint-plugin-react-hooks": "^5.2.0",
45
+ "@vitest/coverage-v8": "^4.1.10",
46
+ "eslint": "^10.8.0",
47
+ "eslint-plugin-react-hooks": "^7.1.1",
52
48
  "eslint-plugin-react-refresh": "^0.4.19",
53
- "eslint-plugin-storybook": "^0.12.0",
49
+ "eslint-plugin-storybook": "^10.5.2",
54
50
  "glob": "^12.0.0",
55
51
  "globals": "^16.0.0",
56
52
  "jsdom": "^26.1.0",
@@ -59,16 +55,16 @@
59
55
  "react": "^19.1.0",
60
56
  "react-dom": "^19.1.0",
61
57
  "rollup-plugin-visualizer": "^5.14.0",
62
- "storybook": "^8.6.12",
58
+ "storybook": "^10.5.2",
63
59
  "typescript": "~5.7.2",
64
- "typescript-eslint": "^8.26.1",
60
+ "typescript-eslint": "^8.65.0",
65
61
  "vite": "^6.4.1",
66
- "vite-plugin-dts": "^4.5.3",
67
- "vitest": "^3.1.0"
62
+ "vite-plugin-dts": "^5.0.3",
63
+ "vitest": "^4.1.10"
68
64
  },
69
65
  "dependencies": {
70
- "@aws-sdk/client-geo-places": "^3.799.0",
71
- "@aws/amazon-location-utilities-auth-helper": "^1.2.1",
66
+ "@aws-sdk/client-geo-places": "^3.1088.0",
67
+ "@aws/amazon-location-utilities-auth-helper": "^1.3.3",
72
68
  "@headlessui/react": "^2.2.2",
73
69
  "@tanstack/react-query": "^5.81.5",
74
70
  "@vanilla-extract/css": "^1.17.1",