@basis-theory/basis-theory-js
Advanced tools
Comparing version 4.5.0 to 4.6.0
{ | ||
"name": "@basis-theory/basis-theory-js", | ||
"version": "4.5.0", | ||
"version": "4.6.0", | ||
"repository": "https://github.com/Basis-Theory/basis-theory-js", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
import { CreditCardType } from './cardTypes'; | ||
import { AutoCompleteValue, DataElementReference } from './shared'; | ||
import type { ElementStyle } from './styles'; | ||
import type { CopyIconStyles, ElementStyle } from './styles'; | ||
declare const ELEMENTS_TYPES: readonly ["card", "cardExpirationDate", "cardNumber", "cardVerificationCode", "data", "text"]; | ||
@@ -28,2 +28,3 @@ type ElementType = typeof ELEMENTS_TYPES[number]; | ||
cardTypes?: CreditCardType[]; | ||
copyIconStyles?: CopyIconStyles; | ||
disabled?: boolean; | ||
@@ -30,0 +31,0 @@ enableCopy?: boolean; |
@@ -19,3 +19,8 @@ import type { Properties as CSSProperties } from 'csstype'; | ||
type ElementStyle = CardElementStyle; | ||
type CopyIconStyles = { | ||
size?: string; | ||
color?: string; | ||
sucessColor?: string; | ||
}; | ||
export { SAFE_CSS_PROPERTIES, SAFE_CSS_PROPERTIES_ALTERNATES, SAFE_CSS_PROPERTIES_WITH_ALTERNATES, CARD_ELEMENT_STYLE_VARIANT_SELECTORS, CARD_ELEMENT_STYLE_VARIANTS, CARD_ELEMENT_STYLE_FONTS_ATTR, }; | ||
export type { SafeCSSProperty, SafeStyle, CardElementStyleVariantSelector, CardElementStyleVariantStyle, CardElementStyleVariant, FontSources, Fonts, CardElementStyle, ElementStyle, }; | ||
export type { CardElementStyle, CardElementStyleVariant, CardElementStyleVariantSelector, CardElementStyleVariantStyle, CopyIconStyles, ElementStyle, Fonts, FontSources, SafeCSSProperty, SafeStyle, }; |
174987
3963