@thecb/components 8.3.1-beta.0 → 8.3.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +24 -17
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +23 -16
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/button-with-link/ButtonWithLink.js +2 -0
- package/src/components/atoms/link/InternalLink.styled.js +1 -0
- package/src/components/atoms/link/Link.theme.js +4 -0
package/dist/index.esm.js
CHANGED
|
@@ -12725,7 +12725,7 @@ var hoverColor = {
|
|
|
12725
12725
|
whiteSecondary: WHITE,
|
|
12726
12726
|
whitePrimary: WHITE
|
|
12727
12727
|
};
|
|
12728
|
-
var activeBackgroundColor = {
|
|
12728
|
+
var activeBackgroundColor$1 = {
|
|
12729
12729
|
primary: PEACOCK_BLUE,
|
|
12730
12730
|
secondary: "#B8D5E1",
|
|
12731
12731
|
back: TRANSPARENT,
|
|
@@ -12779,7 +12779,7 @@ var fallbackValues$1 = {
|
|
|
12779
12779
|
hoverBackgroundColor: hoverBackgroundColor,
|
|
12780
12780
|
hoverBorderColor: hoverBorderColor,
|
|
12781
12781
|
hoverColor: hoverColor,
|
|
12782
|
-
activeBackgroundColor: activeBackgroundColor,
|
|
12782
|
+
activeBackgroundColor: activeBackgroundColor$1,
|
|
12783
12783
|
activeBorderColor: activeBorderColor,
|
|
12784
12784
|
activeColor: activeColor
|
|
12785
12785
|
};
|
|
@@ -19700,17 +19700,27 @@ var fallbackValues$9 = {
|
|
|
19700
19700
|
hover: hover
|
|
19701
19701
|
};
|
|
19702
19702
|
|
|
19703
|
+
|
|
19704
|
+
|
|
19705
|
+
var index$4 = /*#__PURE__*/Object.freeze({
|
|
19706
|
+
__proto__: null,
|
|
19707
|
+
colors: colors,
|
|
19708
|
+
fontWeights: style_constants
|
|
19709
|
+
});
|
|
19710
|
+
|
|
19703
19711
|
var fontFamily$2 = {
|
|
19704
19712
|
primary: "Public Sans",
|
|
19705
19713
|
secondary: "Open Sans"
|
|
19706
19714
|
};
|
|
19707
19715
|
var hoverColor$2 = "#116285";
|
|
19708
19716
|
var activeColor$3 = "#0E506D";
|
|
19717
|
+
var activeBackgroundColor$2 = INFO_BLUE;
|
|
19709
19718
|
var externalLinkColor = "#15749D";
|
|
19710
19719
|
var fallbackValues$a = {
|
|
19711
19720
|
fontFamily: fontFamily$2,
|
|
19712
19721
|
hoverColor: hoverColor$2,
|
|
19713
19722
|
activeColor: activeColor$3,
|
|
19723
|
+
activeBackgroundColor: activeBackgroundColor$2,
|
|
19714
19724
|
externalLinkColor: externalLinkColor
|
|
19715
19725
|
};
|
|
19716
19726
|
|
|
@@ -19824,7 +19834,7 @@ var StyledInternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19824
19834
|
})).withConfig({
|
|
19825
19835
|
displayName: "InternalLinkstyled__StyledInternalLink",
|
|
19826
19836
|
componentId: "sc-cuqxud-0"
|
|
19827
|
-
})(["display:flex;color:", ";font-weight:", ";line-height:", ";font-size:", ";font-family:", ";margin:", ";&:hover{color:", ";text-decoration:underline;}&:focus{outline:3px solid ", ";outline-offset:2px;}&:active{text-decoration:underline;color:", ";}", ""], function (_ref2) {
|
|
19837
|
+
})(["display:flex;color:", ";font-weight:", ";line-height:", ";font-size:", ";font-family:", ";margin:", ";&:hover{color:", ";text-decoration:underline;}&:focus{outline:3px solid ", ";outline-offset:2px;}&:active{text-decoration:underline;color:", ";background-color:", ";}", ""], function (_ref2) {
|
|
19828
19838
|
var color = _ref2.color,
|
|
19829
19839
|
active = _ref2.active,
|
|
19830
19840
|
activeColor = _ref2.activeColor;
|
|
@@ -19851,7 +19861,10 @@ var StyledInternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19851
19861
|
var activeColor = _ref9.activeColor;
|
|
19852
19862
|
return activeColor;
|
|
19853
19863
|
}, function (_ref10) {
|
|
19854
|
-
var
|
|
19864
|
+
var activeBackgroundColor = _ref10.activeBackgroundColor;
|
|
19865
|
+
return activeBackgroundColor;
|
|
19866
|
+
}, function (_ref11) {
|
|
19867
|
+
var extrastyles = _ref11.extrastyles;
|
|
19855
19868
|
return extrastyles;
|
|
19856
19869
|
});
|
|
19857
19870
|
/* eslint-enable no-unused-vars */
|
|
@@ -21542,6 +21555,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
21542
21555
|
}, safeChildren(children, /*#__PURE__*/React.createElement("span", null))) : /*#__PURE__*/React.createElement(InternalLink, {
|
|
21543
21556
|
to: url,
|
|
21544
21557
|
active: active,
|
|
21558
|
+
activeBackgroundColor: activeBackgroundColor,
|
|
21545
21559
|
tabIndex: "-1",
|
|
21546
21560
|
dataQa: dataQa,
|
|
21547
21561
|
extraStyles: extraStyles
|
|
@@ -21551,6 +21565,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
21551
21565
|
return /*#__PURE__*/React.createElement(ButtonWithLinkWrapper, {
|
|
21552
21566
|
url: url,
|
|
21553
21567
|
active: active,
|
|
21568
|
+
activeBackgroundColor: activeBackgroundColor,
|
|
21554
21569
|
disabled: disabled,
|
|
21555
21570
|
newTab: newTab,
|
|
21556
21571
|
extraStyles: "".concat(linkExtraStyles, " text-decoration: none; &:hover {\n text-decoration: none; }"),
|
|
@@ -25364,7 +25379,7 @@ var useOutsideClickHook = function useOutsideClickHook(handler) {
|
|
|
25364
25379
|
|
|
25365
25380
|
|
|
25366
25381
|
|
|
25367
|
-
var index$
|
|
25382
|
+
var index$5 = /*#__PURE__*/Object.freeze({
|
|
25368
25383
|
__proto__: null,
|
|
25369
25384
|
formats: formats,
|
|
25370
25385
|
general: general,
|
|
@@ -38188,14 +38203,6 @@ var NavTabs = function NavTabs(_ref) {
|
|
|
38188
38203
|
}, tabs)));
|
|
38189
38204
|
};
|
|
38190
38205
|
|
|
38191
|
-
|
|
38192
|
-
|
|
38193
|
-
var index$5 = /*#__PURE__*/Object.freeze({
|
|
38194
|
-
__proto__: null,
|
|
38195
|
-
colors: colors,
|
|
38196
|
-
fontWeights: style_constants
|
|
38197
|
-
});
|
|
38198
|
-
|
|
38199
38206
|
var shineFrames = keyframes$3(["{0{background-position:0 0;}20%{background-position:100% 100%;}100%{background-position:100% 100%;}}"]);
|
|
38200
38207
|
var LoadingPill = styled.div.withConfig({
|
|
38201
38208
|
displayName: "LoadingPillstyled__LoadingPill",
|
|
@@ -47516,11 +47523,11 @@ var createPartialAmountFormState = function createPartialAmountFormState(lineIte
|
|
|
47516
47523
|
var arrowColor = WHITE;
|
|
47517
47524
|
var numberColor = MATISSE_BLUE;
|
|
47518
47525
|
var hoverBackgroundColor$2 = ALABASTER_WHITE;
|
|
47519
|
-
var activeBackgroundColor$
|
|
47526
|
+
var activeBackgroundColor$3 = WHITE;
|
|
47520
47527
|
var activeColor$9 = MATISSE_BLUE;
|
|
47521
47528
|
var fallbackValues$L = {
|
|
47522
47529
|
activeColor: activeColor$9,
|
|
47523
|
-
activeBackgroundColor: activeBackgroundColor$
|
|
47530
|
+
activeBackgroundColor: activeBackgroundColor$3,
|
|
47524
47531
|
arrowColor: arrowColor,
|
|
47525
47532
|
hoverBackgroundColor: hoverBackgroundColor$2,
|
|
47526
47533
|
numberColor: numberColor
|
|
@@ -50137,5 +50144,5 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
|
50137
50144
|
|
|
50138
50145
|
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$T));
|
|
50139
50146
|
|
|
50140
|
-
export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout, ArrowDownCircleIconSmall, ArrowLeftCircleIconMedium, ArrowLeftCircleIconSmall, ArrowRightCircleIconSmall, ArrowUpCircleIconSmall, AutopayIcon, AutopayOnIcon, Badge$1 as Badge, BankIcon, BankIconLarge, Banner$1 as Banner, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CarrotIcon$1 as CarrotIcon, CashIcon, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackIconMedium, ChargebackIconSmall, ChargebackReversalIcon, ChargebackReversalIconMedium, ChargebackReversalIconSmall, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, Copyable, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisplayBox$1 as DisplayBox, DisplayCard, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, ErroredIcon, ExternalLink, ExternalLinkIcon, FailedIcon, FindIconSmall$1 as FindIconSmall, FooterWithSubfooter$1 as FooterWithSubfooter, ForgotPasswordForm, ForgotPasswordIcon$1 as ForgotPasswordIcon, FormContainer$1 as FormContainer, FormFooterPanel$1 as FormFooterPanel, FormInput$1 as FormInput, FormInputColumn, FormInputRow, FormSelect$1 as FormSelect, FormattedAddress$1 as FormattedAddress, FormattedBankAccount$1 as FormattedBankAccount, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GoToEmailIcon$1 as GoToEmailIcon, Grid, GuidedCheckoutImage, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, HistoryIconSmall$1 as HistoryIconSmall, IconAdd, IconQuitLarge, ImageBox, Imposter, InternalLink, Jumbo$1 as Jumbo, KioskImage, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, Loading, LoadingLine, LoginForm, Modal$1 as Modal, Module$1 as Module, Motion, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NavTabs, NoCustomerResultsIcon, NoPaymentResultsIcon, NotFoundIcon, Obligation, iconsMap as ObligationIcons, Pagination$1 as Pagination, Paragraph$1 as Paragraph, PartialAmountForm, PasswordRequirements, PaymentButtonBar, PaymentDetails$1 as PaymentDetails, PaymentFormACH, PaymentFormCard$1 as PaymentFormCard, PaymentMethodAddIcon$1 as PaymentMethodAddIcon, PaymentMethodIcon$1 as PaymentMethodIcon, PaymentSearchIcon, PaymentsIconSmall$1 as PaymentsIconSmall, PencilIcon$1 as PencilIcon, PendingIcon, PeriscopeDashboardIframe, PeriscopeFailedIcon, PhoneForm, Placeholder$1 as Placeholder, PointOfSaleImage, Popover$1 as Popover, ProcessingFee$1 as ProcessingFee, ProfileIcon$1 as ProfileIcon, ProfileIconSmall$1 as ProfileIconSmall, ProfileImage, PropertiesAddIcon$1 as PropertiesAddIcon, PropertiesIconSmall$1 as PropertiesIconSmall, RadioButton$2 as RadioButton, RadioButtonWithLabel$1 as RadioButtonWithLabel, RadioGroup, RadioSection$1 as RadioSection, Reel, RefundIcon, RefundIconMedium, RefundIconSmall, RegistrationForm, RejectedIcon, RejectedVelocityIcon, ResetConfirmationForm$1 as ResetConfirmationForm, ResetPasswordForm, ResetPasswordIcon, ResetPasswordSuccess, RevenueManagementImage, RoutingNumberImage, SearchIcon, SearchableSelect$1 as SearchableSelect, SettingsIconSmall$1 as SettingsIconSmall, ShoppingCartIcon, Sidebar, SidebarSingleContent$1 as SidebarSingleContent, SidebarStackContent$1 as SidebarStackContent, SolidDivider$1 as SolidDivider, Spinner$2 as Spinner, Stack, StandardCheckoutImage, FormStateDropdown as StateProvinceDropdown, StatusUnknownIcon, SuccessfulIcon, SuccessfulIconMedium, SuccessfulIconSmall, Switcher, TabSidebar$1 as TabSidebar, Table_styled as Table, TableBody_styled as TableBody, TableCell_styled as TableCell, TableHead$1 as TableHead, TableHeading_styled as TableHeading, TableListItem, TableRow$1 as TableRow, Tabs$1 as Tabs, TermsAndConditions, TermsAndConditionsModal$1 as TermsAndConditionsModal, Text$1 as Text, Timeout$1 as Timeout, TimeoutImage, Title$1 as Title, ToggleSwitch$1 as ToggleSwitch, TrashIcon$1 as TrashIcon, TypeaheadInput, VerifiedEmailIcon$1 as VerifiedEmailIcon, VoidedIcon, WalletBannerIcon$1 as WalletBannerIcon, WalletIcon$1 as WalletIcon, WalletIconSmall$1 as WalletIconSmall, WarningIconXS, WelcomeModule$1 as WelcomeModule, WorkflowTile, XCircleIconMedium, XCircleIconSmall, cardRegistry, index$
|
|
50147
|
+
export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout, ArrowDownCircleIconSmall, ArrowLeftCircleIconMedium, ArrowLeftCircleIconSmall, ArrowRightCircleIconSmall, ArrowUpCircleIconSmall, AutopayIcon, AutopayOnIcon, Badge$1 as Badge, BankIcon, BankIconLarge, Banner$1 as Banner, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CarrotIcon$1 as CarrotIcon, CashIcon, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackIconMedium, ChargebackIconSmall, ChargebackReversalIcon, ChargebackReversalIconMedium, ChargebackReversalIconSmall, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, Copyable, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisplayBox$1 as DisplayBox, DisplayCard, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, ErroredIcon, ExternalLink, ExternalLinkIcon, FailedIcon, FindIconSmall$1 as FindIconSmall, FooterWithSubfooter$1 as FooterWithSubfooter, ForgotPasswordForm, ForgotPasswordIcon$1 as ForgotPasswordIcon, FormContainer$1 as FormContainer, FormFooterPanel$1 as FormFooterPanel, FormInput$1 as FormInput, FormInputColumn, FormInputRow, FormSelect$1 as FormSelect, FormattedAddress$1 as FormattedAddress, FormattedBankAccount$1 as FormattedBankAccount, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GoToEmailIcon$1 as GoToEmailIcon, Grid, GuidedCheckoutImage, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, HistoryIconSmall$1 as HistoryIconSmall, IconAdd, IconQuitLarge, ImageBox, Imposter, InternalLink, Jumbo$1 as Jumbo, KioskImage, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, Loading, LoadingLine, LoginForm, Modal$1 as Modal, Module$1 as Module, Motion, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NavTabs, NoCustomerResultsIcon, NoPaymentResultsIcon, NotFoundIcon, Obligation, iconsMap as ObligationIcons, Pagination$1 as Pagination, Paragraph$1 as Paragraph, PartialAmountForm, PasswordRequirements, PaymentButtonBar, PaymentDetails$1 as PaymentDetails, PaymentFormACH, PaymentFormCard$1 as PaymentFormCard, PaymentMethodAddIcon$1 as PaymentMethodAddIcon, PaymentMethodIcon$1 as PaymentMethodIcon, PaymentSearchIcon, PaymentsIconSmall$1 as PaymentsIconSmall, PencilIcon$1 as PencilIcon, PendingIcon, PeriscopeDashboardIframe, PeriscopeFailedIcon, PhoneForm, Placeholder$1 as Placeholder, PointOfSaleImage, Popover$1 as Popover, ProcessingFee$1 as ProcessingFee, ProfileIcon$1 as ProfileIcon, ProfileIconSmall$1 as ProfileIconSmall, ProfileImage, PropertiesAddIcon$1 as PropertiesAddIcon, PropertiesIconSmall$1 as PropertiesIconSmall, RadioButton$2 as RadioButton, RadioButtonWithLabel$1 as RadioButtonWithLabel, RadioGroup, RadioSection$1 as RadioSection, Reel, RefundIcon, RefundIconMedium, RefundIconSmall, RegistrationForm, RejectedIcon, RejectedVelocityIcon, ResetConfirmationForm$1 as ResetConfirmationForm, ResetPasswordForm, ResetPasswordIcon, ResetPasswordSuccess, RevenueManagementImage, RoutingNumberImage, SearchIcon, SearchableSelect$1 as SearchableSelect, SettingsIconSmall$1 as SettingsIconSmall, ShoppingCartIcon, Sidebar, SidebarSingleContent$1 as SidebarSingleContent, SidebarStackContent$1 as SidebarStackContent, SolidDivider$1 as SolidDivider, Spinner$2 as Spinner, Stack, StandardCheckoutImage, FormStateDropdown as StateProvinceDropdown, StatusUnknownIcon, SuccessfulIcon, SuccessfulIconMedium, SuccessfulIconSmall, Switcher, TabSidebar$1 as TabSidebar, Table_styled as Table, TableBody_styled as TableBody, TableCell_styled as TableCell, TableHead$1 as TableHead, TableHeading_styled as TableHeading, TableListItem, TableRow$1 as TableRow, Tabs$1 as Tabs, TermsAndConditions, TermsAndConditionsModal$1 as TermsAndConditionsModal, Text$1 as Text, Timeout$1 as Timeout, TimeoutImage, Title$1 as Title, ToggleSwitch$1 as ToggleSwitch, TrashIcon$1 as TrashIcon, TypeaheadInput, VerifiedEmailIcon$1 as VerifiedEmailIcon, VoidedIcon, WalletBannerIcon$1 as WalletBannerIcon, WalletIcon$1 as WalletIcon, WalletIconSmall$1 as WalletIconSmall, WarningIconXS, WelcomeModule$1 as WelcomeModule, WorkflowTile, XCircleIconMedium, XCircleIconSmall, cardRegistry, index$4 as constants, createPartialAmountFormState, index$5 as util, withWindowSize };
|
|
50141
50148
|
//# sourceMappingURL=index.esm.js.map
|