Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
import { wording } from 'src/words'

export const inputList = [
  {
    identity: 'name',
    type: 'text',
    value: '',
    className: 'form-inputs',
    name: 'name',
    labelText: wording.nameLabel,
    maxLength: '50',
    wrapperClassName: 'form-item-wrapper',
    validationType: 'name',
    errorMessageFor: 'name',
    dataQa: 'qa-name',
    autocomplete: 'given-name',
    ariaLabel: wording.nameLabel,
    animatePlaceholder: false,
  },

  {
    identity: 'address',
    type: 'text',
    value: '',
    className: 'form-inputs',
    name: 'addressLine1',
    labelText: wording.addressLabel,
    maxLength: '50',
    wrapperClassName: 'form-item-wrapper',
    validationType: 'address',
    errorMessageFor: 'address',
    dataQa: 'qa-address-one',
    autocomplete: 'given-address',
    ariaLabel: wording.addressLabel,
    animatePlaceholder: false,
  },

  {
    identity: 'address',
    type: 'text',
    value: '',
    className: 'form-inputs',
    name: 'addressLine2',
    labelText: wording.addressLabel,
    maxLength: '50',
    wrapperClassName: 'form-item-wrapper',
    validationType: 'address',
    errorMessageFor: 'address',
    dataQa: 'qa-address-two',
    autocomplete: 'given-address',
    ariaLabel: wording.addressLabel,
    animatePlaceholder: false,
  },

  {
    identity: 'city',
    type: 'text',
    value: '',
    className: 'form-inputs',
    name: 'city',
    labelText: wording.cityLabel,
    maxLength: '50',
    wrapperClassName: 'form-item-wrapper',
    validationType: 'city',
    errorMessageFor: 'city',
    dataQa: 'qa-city',
    autocomplete: 'given-city',
    ariaLabel: wording.cityLabel,
    animatePlaceholder: false,
  },

  {
    identity: 'state',
    type: 'text',
    value: '',
    className: 'form-inputs',
    name: 'state',
    labelText: wording.stateLabel,
    maxLength: '50',
    wrapperClassName: 'form-item-wrapper left-align',
    validationType: 'state',
    errorMessageFor: 'state',
    dataQa: 'qa-state',
    autocomplete: 'given-city',
    ariaLabel: wording.stateLabel,
    animatePlaceholder: false,
  },

  {
    identity: 'zip',
    type: 'text',
    value: '',
    className: 'form-inputs',
    name: 'zipCode',
    labelText: wording.zipLabel,
    maxLength: '6',
    wrapperClassName: 'form-item-wrapper right-align',
    validationType: 'zip',
    errorMessageFor: 'zipCode',
    dataQa: 'qa-code',
    autocomplete: 'given-zip-code',
    ariaLabel: wording.zipLabel,
    animatePlaceholder: false,
  },
  {
    identity: 'country',
    type: 'text',
    value: '',
    className: 'form-inputs',
    name: 'country',
    labelText: wording.countryLabel,
    maxLength: '50',
    wrapperClassName: 'form-item-wrapper ',
    validationType: 'country',
    errorMessageFor: 'country',
    dataQa: 'qa-country',
    autocomplete: 'given-country-code',
    ariaLabel: wording.countryLabel,
    animatePlaceholder: false,
  },
  {
    identity: 'addAddressToProfile',
    type: 'checkbox',
    label: wording.addAddressToProfile,
    className: 'form-item-wrapper add-address',
    name: 'addAddressToProfile',
    isSelected: true,
    bgColor: '#00a0db',
    dataQa: 'qa-add-shipping-address',
    ariaLabel: wording.addAddressToProfile,
  },
]