@thecb/components 7.2.0-beta.5 → 7.2.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 +536 -21
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.esm.js +532 -22
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/card/Card.js +18 -1
- package/src/components/atoms/card/index.d.ts +1 -0
- package/src/components/atoms/icons/GuidedCheckoutImage.d.ts +1 -0
- package/src/components/atoms/icons/GuidedCheckoutImage.js +39 -0
- package/src/components/atoms/icons/PaymentMethodAddIcon.js +12 -9
- package/src/components/atoms/icons/ProfileImage.d.ts +1 -0
- package/src/components/atoms/icons/ProfileImage.js +51 -0
- package/src/components/atoms/icons/StandardCheckoutImage.d.ts +1 -0
- package/src/components/atoms/icons/StandardCheckoutImage.js +371 -0
- package/src/components/atoms/icons/index.d.ts +3 -0
- package/src/components/atoms/icons/index.js +7 -1
- package/src/components/atoms/index.d.ts +1 -0
- package/src/components/atoms/index.js +2 -1
- package/src/components/atoms/placeholder/Placeholder.js +20 -6
- package/src/components/atoms/radio-button-with-label/RadioButtonWithLabel.js +87 -0
- package/src/components/atoms/radio-button-with-label/RadioButtonWithLabel.stories.js +39 -0
- package/src/components/atoms/radio-button-with-label/index.js +3 -0
- package/src/components/molecules/index.js +1 -0
- package/src/components/molecules/radio-group/RadioGroup.js +59 -0
- package/src/components/molecules/radio-group/RadioGroup.stories.js +44 -0
- package/src/components/molecules/radio-group/index.js +3 -0
- package/src/components/molecules/radio-section/RadioSection.js +1 -1
- package/src/components/molecules/radio-section/RadioSection.stories.js +1 -1
- package/src/components/{atoms → molecules/radio-section}/radio-button/RadioButton.js +2 -2
- package/src/components/{atoms → molecules/radio-section}/radio-button/RadioButton.theme.js +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/atoms/radio-button/RadioButton.stories.js +0 -34
- package/src/components/atoms/radio-button/index.js +0 -3
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ interface CardProps {
|
|
|
8
8
|
titleVariant?: string;
|
|
9
9
|
extraStyles?: string;
|
|
10
10
|
imgSrc?: string;
|
|
11
|
+
Image?: JSX.Element;
|
|
11
12
|
imgHeight?: string;
|
|
12
13
|
imgAltText?: string;
|
|
13
14
|
imgObjectFit?:
|
|
@@ -58,6 +59,12 @@ interface ButtonWithLinkProps extends ButtonWithActionProps {
|
|
|
58
59
|
declare const ButtonWithLink: React.FC<Expand<ButtonWithLinkProps> &
|
|
59
60
|
React.HTMLAttributes<HTMLElement>>;
|
|
60
61
|
|
|
62
|
+
declare const GuidedCheckoutImage: JSX.Element;
|
|
63
|
+
|
|
64
|
+
declare const ProfileImage: JSX.Element;
|
|
65
|
+
|
|
66
|
+
declare const StandardCheckoutImage: JSX.Element;
|
|
67
|
+
|
|
61
68
|
interface BoxProps {
|
|
62
69
|
padding?: string;
|
|
63
70
|
borderSize?: string;
|
|
@@ -391,5 +398,5 @@ interface DefaultPageTemplateProps {
|
|
|
391
398
|
declare const DefaultPageTemplate: React.FC<Expand<DefaultPageTemplateProps> &
|
|
392
399
|
React.HTMLAttributes<HTMLElement>>;
|
|
393
400
|
|
|
394
|
-
export { Box, BoxProps, ButtonWithAction, ButtonWithActionProps, ButtonWithLink, ButtonWithLinkProps, Card, CardProps, Center, CenterProps, Cluster, ClusterProps, CollapsibleSection, CollapsibleSectionProps, Copyable, CopyableProps, Cover, CoverProps, DefaultPageTemplate, DefaultPageTemplateProps, EditableTable, EditableTableProps, ExternalLink, ExternalLinkProps, FooterWithSubfooter, FooterWithSubfooterProps, InternalLink, InternalLinkProps, NavFooter, NavFooterProps, NavHeader, NavHeaderProps, NavTabs, NavTabsProps, Paragraph, ParagraphProps, Popover, PopoverProps, Stack, StackProps, Switcher, SwitcherProps, TableListItem, TableListItemProps, Text, TextProps, Title, TitleProps };
|
|
401
|
+
export { Box, BoxProps, ButtonWithAction, ButtonWithActionProps, ButtonWithLink, ButtonWithLinkProps, Card, CardProps, Center, CenterProps, Cluster, ClusterProps, CollapsibleSection, CollapsibleSectionProps, Copyable, CopyableProps, Cover, CoverProps, DefaultPageTemplate, DefaultPageTemplateProps, EditableTable, EditableTableProps, ExternalLink, ExternalLinkProps, FooterWithSubfooter, FooterWithSubfooterProps, GuidedCheckoutImage, InternalLink, InternalLinkProps, NavFooter, NavFooterProps, NavHeader, NavHeaderProps, NavTabs, NavTabsProps, Paragraph, ParagraphProps, Popover, PopoverProps, ProfileImage, Stack, StackProps, StandardCheckoutImage, Switcher, SwitcherProps, TableListItem, TableListItemProps, Text, TextProps, Title, TitleProps };
|
|
395
402
|
//# sourceMappingURL=index.d.ts.map
|