All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Netherlands ('NLD') country rules.
- Austria ('AUT') country rules.
- Unhides the ID field for Costa Rica as it is a government requirement.
- ID, PT, EN and ES translations.
- ar-SA, cs-CZ, id-ID, sk-SK and th-TH translations.
- Permission to publish to npm (removed
private
flag)
- Indonesian translation.
- English translation.
- Romanian translation.
- Arabic, Czech, Slovak, and Thai translations.
- Added missing DEU birthDate mask.
- Australia ('AUS'), Czech Republic ('CZE'), Indonesia ('IDN'), New Zealand ('NZL') and Slovakia ('SVK') country rules.
- Thai translations.
- Czech and Slovak translations.
- Arabic translations.
- South Africa country rules (
ZAF
).
- Remove mask using
.
as separator inbirthdate
field forIND
rules.
- Specific rules for India (
IND
). - Norwegian variation translation.
- Specific rules for Singapore (
SGP
).
- Specific rules for Poland (
POL
). - Specific rules for Singapore (
SGP
).
- I18n Ar, Hu.
- I18n Da, Fi, Ja, Pt, Uk.
- Gender field translation.
- I18n En.
- Specific rules for
BEL
.
- New translations.
- Crowdin configuration file.
- I18n Ca, De, Fr, It, Ro.
- I18n Denmark
- I18n Deutschland
- I18n Finnland
- I18n Sweden
- Add RUS for RUSSIA.
- RUS's
birthdate
field's changed using mask function as ROU format (DD.MM.YYYY
) - RUS's
document
field to optional and Hide.
- I18n Ro.
- Added prop
blockDocument
to Enables or disables editing the document field in my account
- Release versions
- Specific rules for
ITA
.
- changed
birthdate
field's mask function to match the ro_RO format from moment (DD.MM.YYYY
)
- App setup with
vtex setup
- Italian i18n.
- CHL's
document
field to optional. - ESP's
homePhone
field to optional.
- de translations.
- pt-PT translation.
birthDate
validation function for all countries to not accept future dates.
- GTM rules not importing
regexValidation
function.
- Error message for unknown error when importing rule.
businessPhone
to use getPhoneFields function, instead of the Phone lib that was not being imported.
- Fallback gender translation to the value returned from the
store-graphql
.
- Validate fields against emojis. 😱
- Wrong 'female' translation in catalan.
- Profile Container fixed submit on enter.
COL
document regex validation.
- Birth Date failing to be empty.
disabled
prop into input rules.
- CSS handles to elements
- Birth date decrementing one day after a profile save for certain timezones.
@vtex/phone
initialization.
- Document obligation on Spain.
- Italian translation.
- Insert default functions to rules of type
date
.
- Bumps messages builder major
- Catalan translation
- Messages filenames from locales to languages (
pt-BR
topt
), that makes it match more cases.
- Add Messages Builder.
- Add ARG, CAN, CHL, COL, CRI, ECU, ESP, FRA, GBR, GTM, KOR, MEX, PAN, PER, PRT, PRY, ROU, URY, USA and VEN country rules
- Remove
stateRegistration
from default rule
- Fix phone input to always submit phone in international format
- Fix rule dynamic loading
isCorporate
attribute to profile object
- Business fields validation now depend on
isCorporate
flag
- Translations for
es
,fr
andro
- Helper function imports in IO
- Display custom components inside
ProfileContainer
- [BREAKING] Much of the app's folder structure
vtex.io
integration
email
field
- Transform functions before display and submit
ProfileSummary
component
- Gender picker
- Business inputs and toggling
- Validators for CPF and CNPJ
- README documentation
- Validation on input change and form submit
- Masking
- Lots of tests
- Submission functionality
- Customizable inputs
ProfileInput
was renamed toStyleguideInput
and moved to aninputs
folder
- New
ProfileRules
component and tests - Default rules
- Three new components:
ProfileContainer
,ProfileField
andProfileInput
- Read-and-write functionality for the form
- Tests
- Basic rule structure
- Proptype schema
- Some translations
- Basic project structure