Skip to content

Commit

Permalink
Merge branch 'main' into fix-SLV-summary
Browse files Browse the repository at this point in the history
  • Loading branch information
kaio-donadelli authored Dec 18, 2024
2 parents 7eab1d7 + 84648a8 commit 674d82c
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 20 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

- El Salvador (SLV) address summary to reflect the new address structure.

## [3.38.1] - 2024-12-11

### Added

- New postal code for Doradal to Colombia (COL) country file.

### Fixed
- Add optionsPairs for DEU to complain with checkout autocomplete.

## [3.38.0] - 2024-10-30

### Fixed
Expand Down Expand Up @@ -1630,7 +1639,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- **`AddressSubmitter`** component and tests


[Unreleased]: https://github.com/vtex/address-form/compare/v3.38.0...HEAD
[Unreleased]: https://github.com/vtex/address-form/compare/v3.38.1...HEAD
[3.34.6]: https://github.com/vtex/address-form/compare/v3.34.5...v3.34.6
[3.34.5]: https://github.com/vtex/address-form/compare/v3.34.4...v3.34.5
[3.35.5]: https://github.com/vtex/address-form/compare/v3.35.4...v3.35.5
Expand All @@ -1645,6 +1654,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
[3.36.1]: https://github.com/vtex/address-form/compare/v3.36.0...v3.36.1
[3.36.0]: https://github.com/vtex/address-form/compare/v3.35.6...v3.36.0

[3.38.1]: https://github.com/vtex/address-form/compare/v3.38.0...v3.38.1
[3.38.0]: https://github.com/vtex/address-form/compare/v3.37.3...v3.38.0
[3.37.3]: https://github.com/vtex/address-form/compare/v3.37.2...v3.37.3
[3.37.2]: https://github.com/vtex/address-form/compare/v3.37.1...v3.37.2
Expand Down
6 changes: 4 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"name": "address-form",
"vendor": "vtex",
"version": "3.38.0",
"version": "3.38.1",
"title": "address-form React component",
"description": "address-form React component",
"defaultLocale": "en",
"mustUpdateAt": "2019-01-08",
"categories": [],
"registries": ["smartcheckout"],
"registries": [
"smartcheckout"
],
"settingsSchema": {},
"dependencies": {
"vtex.checkout": "0.x",
Expand Down
1 change: 1 addition & 0 deletions react/country/COL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ const countryData = {
Copacabana: '05212',
Dabeiba: '05234',
Donmatías: '05237',
Doradal: '53448',
Ebéjico: '05240',
'El Bagre': '05250',
'El Carmen De Viboral': '05148',
Expand Down
34 changes: 17 additions & 17 deletions react/country/DEU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,23 +72,23 @@ const rules: PostalCodeRules = {
label: 'province',
required: true,
optionsCaption: '',
options: [
'Baden-Württemberg',
'Bayern',
'Berlin',
'Brandenburg',
'Bremen',
'Hamburg',
'Hessen',
'Mecklenburg-Vorpommern',
'Niedersachsen',
'Nordrhein-Westfalen',
'Rheinland-Pfalz',
'Saarland',
'Sachsen',
'Sachsen-Anhalt',
'Schleswig-Holstein',
'Thüringen',
optionsPairs: [
{ label: 'Baden-Württemberg', value: 'BW' },
{ label: 'Bayern', value: 'BY' },
{ label: 'Berlin', value: 'BE' },
{ label: 'Brandenburg', value: 'BB' },
{ label: 'Bremen', value: 'HB' },
{ label: 'Hamburg', value: 'HH' },
{ label: 'Hessen', value: 'HE' },
{ label: 'Mecklenburg-Vorpommern', value: 'MV' },
{ label: 'Niedersachsen', value: 'NI' },
{ label: 'Nordrhein-Westfalen', value: 'NW' },
{ label: 'Rheinland-Pfalz', value: 'RP' },
{ label: 'Saarland', value: 'SL' },
{ label: 'Sachsen', value: 'SN' },
{ label: 'Sachsen-Anhalt', value: 'ST' },
{ label: 'Schleswig-Holstein', value: 'SH' },
{ label: 'Thüringen', value: 'TH' },
],
size: 'large',
},
Expand Down

0 comments on commit 674d82c

Please sign in to comment.