@thecb/components 6.3.1-beta.2 → 6.3.1-beta.3

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 CHANGED
@@ -4,6 +4,7 @@ type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never;
4
4
 
5
5
  interface CardProps {
6
6
  variant?: string;
7
+ width?: string;
7
8
  extraStyles?: string;
8
9
  }
9
10
 
@@ -129,6 +130,21 @@ interface StackProps {
129
130
  declare const Stack: React.FC<Expand<StackProps> &
130
131
  React.HTMLAttributes<HTMLElement>>;
131
132
 
133
+ interface SwitcherProps {
134
+ breakpoint?: string;
135
+ childGap?: string;
136
+ largeChild?: string;
137
+ largeChildSize?: string;
138
+ maxChildren?: string;
139
+ maxChildrenOnly?: boolean;
140
+ padding?: string;
141
+ extraStyles?: string;
142
+ constrainMobile?: boolean;
143
+ }
144
+
145
+ declare const Switcher: React.FC<Expand<SwitcherProps> &
146
+ React.HTMLAttributes<HTMLElement>>;
147
+
132
148
  interface ExternalLinkProps {
133
149
  href: string;
134
150
  newTab?: boolean;
@@ -227,15 +243,6 @@ interface TitleProps {
227
243
  declare const Title: React.FC<Expand<TitleProps> &
228
244
  React.HTMLAttributes<HTMLElement>>;
229
245
 
230
- interface CardWithHeaderProps {
231
- header: string;
232
- extraStyles?: string;
233
- variant?: string;
234
- }
235
-
236
- declare const CardWithHeader: React.FC<Expand<CardWithHeaderProps> &
237
- React.HTMLAttributes<HTMLElement>>;
238
-
239
246
  interface FooterWithSubfooterProps {
240
247
  footerLargeSide?: "left" | "right";
241
248
  footerLargeSideSize?: string;
@@ -248,19 +255,6 @@ interface FooterWithSubfooterProps {
248
255
  declare const FooterWithSubfooter: React.FC<Expand<FooterWithSubfooterProps> &
249
256
  React.HTMLAttributes<HTMLElement>>;
250
257
 
251
- interface WelcomeCardProps {
252
- title: string;
253
- text: string;
254
- url?: string;
255
- buttonText?: string;
256
- imageSrc?: string;
257
- newTab?: boolean;
258
- variant?: string;
259
- }
260
-
261
- declare const WelcomeCard: React.FC<Expand<WelcomeCardProps> &
262
- React.HTMLAttributes<HTMLElement>>;
263
-
264
258
  interface DefaultPageTemplateProps {
265
259
  content: JSX.Element;
266
260
  header?: JSX.Element;
@@ -275,5 +269,5 @@ interface DefaultPageTemplateProps {
275
269
  declare const DefaultPageTemplate: React.FC<Expand<DefaultPageTemplateProps> &
276
270
  React.HTMLAttributes<HTMLElement>>;
277
271
 
278
- export { Box, BoxProps, ButtonWithAction, ButtonWithActionProps, ButtonWithLink, ButtonWithLinkProps, Card, CardProps, CardWithHeader, CardWithHeaderProps, Center, CenterProps, Cluster, ClusterProps, Cover, CoverProps, DefaultPageTemplate, DefaultPageTemplateProps, ExternalLink, ExternalLinkProps, FooterWithSubfooter, FooterWithSubfooterProps, InternalLink, InternalLinkProps, NavFooter, NavFooterProps, NavHeader, NavHeaderProps, NavTabs, NavTabsProps, Paragraph, ParagraphProps, Stack, StackProps, Title, TitleProps, WelcomeCard, WelcomeCardProps };
272
+ export { Box, BoxProps, ButtonWithAction, ButtonWithActionProps, ButtonWithLink, ButtonWithLinkProps, Card, CardProps, Center, CenterProps, Cluster, ClusterProps, Cover, CoverProps, DefaultPageTemplate, DefaultPageTemplateProps, ExternalLink, ExternalLinkProps, FooterWithSubfooter, FooterWithSubfooterProps, InternalLink, InternalLinkProps, NavFooter, NavFooterProps, NavHeader, NavHeaderProps, NavTabs, NavTabsProps, Paragraph, ParagraphProps, Stack, StackProps, Switcher, SwitcherProps, Title, TitleProps };
279
273
  //# sourceMappingURL=index.d.ts.map