@thecb/components 8.4.5 → 8.4.6-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.d.ts +21 -1
- package/package.json +1 -1
- package/src/components/molecules/index.d.ts +1 -0
- package/src/components/molecules/radio-group/index.d.ts +23 -0
- package/dist/src/apps/checkout/pages/payment/sub-pages/payment-amount/PaymentAmount_old.js +0 -49322
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/atoms/icons/.DS_Store +0 -0
- /package/src/components/atoms/icons/{ExternalLinkIcon.js → ExternalLinkicon.js} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1002,6 +1002,26 @@ interface PopoverProps {
|
|
|
1002
1002
|
declare const Popover: React.FC<Expand<PopoverProps> &
|
|
1003
1003
|
React.HTMLAttributes<HTMLElement>>;
|
|
1004
1004
|
|
|
1005
|
+
interface RadioOption {
|
|
1006
|
+
id: string;
|
|
1007
|
+
labelText: string;
|
|
1008
|
+
value: string;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
interface RadioGroupProps {
|
|
1012
|
+
config: RadioOption[];
|
|
1013
|
+
groupName: string;
|
|
1014
|
+
extraStyles?: string;
|
|
1015
|
+
field: Field;
|
|
1016
|
+
fieldActions: FieldActions;
|
|
1017
|
+
handleChange?: () => void;
|
|
1018
|
+
heading: ReactNode;
|
|
1019
|
+
headingText: string;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
declare const RadioGroup: React.FC<Expand<RadioGroupProps> &
|
|
1023
|
+
React.HTMLAttributes<HTMLElement>>;
|
|
1024
|
+
|
|
1005
1025
|
interface DefaultPageTemplateProps {
|
|
1006
1026
|
content: JSX.Element;
|
|
1007
1027
|
header?: JSX.Element;
|
|
@@ -1016,5 +1036,5 @@ interface DefaultPageTemplateProps {
|
|
|
1016
1036
|
declare const DefaultPageTemplate: React.FC<Expand<DefaultPageTemplateProps> &
|
|
1017
1037
|
React.HTMLAttributes<HTMLElement>>;
|
|
1018
1038
|
|
|
1019
|
-
export { AddValidatorAction, Alert, AlertProps, ArrowDownCircleIconSmall, ArrowDownCircleIconSmallProps, ArrowLeftCircleIconMedium, ArrowLeftCircleIconMediumProps, ArrowLeftCircleIconSmall, ArrowLeftCircleIconSmallProps, ArrowRightCircleIconSmall, ArrowRightCircleIconSmallProps, ArrowUpCircleIconSmall, ArrowUpCircleIconSmallProps, BankIconLarge, BankIconLargeProps, Box, BoxProps, ButtonWithAction, ButtonWithActionProps, ButtonWithLink, ButtonWithLinkProps, Card, CardProps, Center, CenterProps, ChargebackIconMedium, ChargebackIconMediumProps, ChargebackIconSmall, ChargebackIconSmallProps, ChargebackReversalIconMedium, ChargebackReversalIconMediumProps, ChargebackReversalIconSmall, ChargebackReversalIconSmallProps, ClearAction, Cluster, ClusterProps, CollapsibleSection, CollapsibleSectionProps, Copyable, CopyableProps, Cover, CoverProps, DefaultPageTemplate, DefaultPageTemplateProps, EditableTable, EditableTableProps, ErrorMessageDictionary, ExternalLink, ExternalLinkProps, Field, FieldActionPayload, FieldActions, FooterWithSubfooter, FooterWithSubfooterProps, FormInput, FormInputProps, FormSelect, FormSelectOption, FormSelectProps, GuidedCheckoutImage, HistoryIconSmall, InternalLink, InternalLinkProps, KioskImage, Loading, LoadingProps, NavFooter, NavFooterProps, NavHeader, NavHeaderProps, NavTabs, NavTabsProps, Paragraph, ParagraphProps, PointOfSaleImage, Popover, PopoverProps, ProfileImage, ReduxAction, RefundIconMedium, RefundIconMediumProps, RefundIconSmall, RefundIconSmallProps, RemoveValidatorAction, RevenueManagementImage, SetAction, Spinner, SpinnerProps, Stack, StackProps, StandardCheckoutImage, SuccessfulIconMedium, SuccessfulIconMediumProps, SuccessfulIconSmall, SuccessfulIconSmallProps, Switcher, SwitcherProps, Table, TableBody, TableBodyProps, TableCell, TableCellProps, TableHead, TableHeadProps, TableHeading, TableHeadingProps, TableListItem, TableListItemProps, TableProps, TableRow, TableRowProps, Text, TextProps, Title, TitleProps, ValidatorFn, XCircleIconMedium, XCircleIconMediumProps, XCircleIconSmall, XCircleIconSmallProps, index_d as constants };
|
|
1039
|
+
export { AddValidatorAction, Alert, AlertProps, ArrowDownCircleIconSmall, ArrowDownCircleIconSmallProps, ArrowLeftCircleIconMedium, ArrowLeftCircleIconMediumProps, ArrowLeftCircleIconSmall, ArrowLeftCircleIconSmallProps, ArrowRightCircleIconSmall, ArrowRightCircleIconSmallProps, ArrowUpCircleIconSmall, ArrowUpCircleIconSmallProps, BankIconLarge, BankIconLargeProps, Box, BoxProps, ButtonWithAction, ButtonWithActionProps, ButtonWithLink, ButtonWithLinkProps, Card, CardProps, Center, CenterProps, ChargebackIconMedium, ChargebackIconMediumProps, ChargebackIconSmall, ChargebackIconSmallProps, ChargebackReversalIconMedium, ChargebackReversalIconMediumProps, ChargebackReversalIconSmall, ChargebackReversalIconSmallProps, ClearAction, Cluster, ClusterProps, CollapsibleSection, CollapsibleSectionProps, Copyable, CopyableProps, Cover, CoverProps, DefaultPageTemplate, DefaultPageTemplateProps, EditableTable, EditableTableProps, ErrorMessageDictionary, ExternalLink, ExternalLinkProps, Field, FieldActionPayload, FieldActions, FooterWithSubfooter, FooterWithSubfooterProps, FormInput, FormInputProps, FormSelect, FormSelectOption, FormSelectProps, GuidedCheckoutImage, HistoryIconSmall, InternalLink, InternalLinkProps, KioskImage, Loading, LoadingProps, NavFooter, NavFooterProps, NavHeader, NavHeaderProps, NavTabs, NavTabsProps, Paragraph, ParagraphProps, PointOfSaleImage, Popover, PopoverProps, ProfileImage, RadioGroup, RadioGroupProps, ReduxAction, RefundIconMedium, RefundIconMediumProps, RefundIconSmall, RefundIconSmallProps, RemoveValidatorAction, RevenueManagementImage, SetAction, Spinner, SpinnerProps, Stack, StackProps, StandardCheckoutImage, SuccessfulIconMedium, SuccessfulIconMediumProps, SuccessfulIconSmall, SuccessfulIconSmallProps, Switcher, SwitcherProps, Table, TableBody, TableBodyProps, TableCell, TableCellProps, TableHead, TableHeadProps, TableHeading, TableHeadingProps, TableListItem, TableListItemProps, TableProps, TableRow, TableRowProps, Text, TextProps, Title, TitleProps, ValidatorFn, XCircleIconMedium, XCircleIconMediumProps, XCircleIconSmall, XCircleIconSmallProps, index_d as constants };
|
|
1020
1040
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import Expand from "../../../util/expand";
|
|
3
|
+
import { Field, FieldActions } from "../../../types/common";
|
|
4
|
+
|
|
5
|
+
interface RadioOption {
|
|
6
|
+
id: string;
|
|
7
|
+
labelText: string;
|
|
8
|
+
value: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface RadioGroupProps {
|
|
12
|
+
config: RadioOption[];
|
|
13
|
+
groupName: string;
|
|
14
|
+
extraStyles?: string;
|
|
15
|
+
field: Field;
|
|
16
|
+
fieldActions: FieldActions;
|
|
17
|
+
handleChange?: () => void;
|
|
18
|
+
heading: ReactNode;
|
|
19
|
+
headingText: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export const RadioGroup: React.FC<Expand<RadioGroupProps> &
|
|
23
|
+
React.HTMLAttributes<HTMLElement>>;
|