@basis-theory/basis-theory-js
Advanced tools
Comparing version 4.10.1 to 4.11.0
@@ -7,3 +7,3 @@ declare const ELEMENTS_INIT_ERROR_MESSAGE = "BasisTheory Elements was not properly initialized."; | ||
declare const CARD_ICON_POSITIONS: readonly ["left", "right", "none"]; | ||
declare const AUTOCOMPLETE_VALUES: readonly ["off", "on"]; | ||
declare const AUTOCOMPLETE_VALUES: readonly ["additional-name", "address-level1", "address-level2", "address-level3", "address-level4", "address-line1", "address-line2", "address-line3", "bday-day", "bday-month", "bday-year", "bday", "billing", "cc-additional-name", "cc-csc", "cc-exp-month", "cc-exp-year", "cc-exp", "cc-family-name", "cc-given-name", "cc-name", "cc-number", "cc-type", "country-name", "country", "current-password", "email", "family-name", "fax", "given-name", "home", "honorific-prefix", "honorific-suffix", "language", "mobile", "name", "new-password", "nickname", "off", "on", "one-time-code", "organization-title", "organization", "page", "postal-code", "sex", "shipping", "street-address", "tel-area-code", "tel-country-code", "tel-extension", "tel-local-prefix", "tel-local-suffix", "tel-local", "tel-national", "tel", "transaction-amount", "transaction-currency", "url", "username", "work"]; | ||
export { ELEMENTS_INIT_ERROR_MESSAGE, ELEMENTS_NOM_DOM_ERROR_MESSAGE, ELEMENTS_SCRIPT_LOAD_ERROR_MESSAGE, ELEMENTS_SCRIPT_UNKNOWN_ERROR_MESSAGE, CARD_BRANDS, CARD_ICON_POSITIONS, AUTOCOMPLETE_VALUES, }; |
@@ -17,5 +17,6 @@ "use strict"; | ||
exports.CARD_BRANDS = CARD_BRANDS; | ||
const CARD_ICON_POSITIONS = ['left', 'right', 'none']; | ||
const CARD_ICON_POSITIONS = ['left', 'right', 'none']; // https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete | ||
exports.CARD_ICON_POSITIONS = CARD_ICON_POSITIONS; | ||
const AUTOCOMPLETE_VALUES = ['off', 'on']; | ||
const AUTOCOMPLETE_VALUES = ['additional-name', 'address-level1', 'address-level2', 'address-level3', 'address-level4', 'address-line1', 'address-line2', 'address-line3', 'bday-day', 'bday-month', 'bday-year', 'bday', 'billing', 'cc-additional-name', 'cc-csc', 'cc-exp-month', 'cc-exp-year', 'cc-exp', 'cc-family-name', 'cc-given-name', 'cc-name', 'cc-number', 'cc-type', 'country-name', 'country', 'current-password', 'email', 'family-name', 'fax', 'given-name', 'home', 'honorific-prefix', 'honorific-suffix', 'language', 'mobile', 'name', 'new-password', 'nickname', 'off', 'on', 'one-time-code', 'organization-title', 'organization', 'page', 'postal-code', 'sex', 'shipping', 'street-address', 'tel-area-code', 'tel-country-code', 'tel-extension', 'tel-local-prefix', 'tel-local-suffix', 'tel-local', 'tel-national', 'tel', 'transaction-amount', 'transaction-currency', 'url', 'username', 'work']; | ||
exports.AUTOCOMPLETE_VALUES = AUTOCOMPLETE_VALUES; |
{ | ||
"name": "@basis-theory/basis-theory-js", | ||
"version": "4.10.1", | ||
"version": "4.11.0", | ||
"repository": "https://github.com/Basis-Theory/basis-theory-js", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -25,3 +25,3 @@ import { CreditCardType } from './cardTypes'; | ||
ariaLabel?: string; | ||
autoComplete?: string; | ||
autoComplete?: AutoCompleteValue; | ||
cardBrand?: string; | ||
@@ -28,0 +28,0 @@ cardTypes?: CreditCardType[]; |
184514
4145