@thecb/components 8.0.6-beta.4 → 8.0.6-beta.5

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
@@ -75,7 +75,6 @@ interface FormInputProps {
75
75
  showErrors?: boolean;
76
76
  formatter?: any;
77
77
  decorator?: any;
78
- themeValues?: any;
79
78
  background?: any;
80
79
  customHeight?: any;
81
80
  autocomplete?: any;
@@ -399,6 +398,11 @@ interface InternalLinkProps {
399
398
  declare const InternalLink: React.FC<Expand<InternalLinkProps> &
400
399
  React.HTMLAttributes<HTMLElement> & { ref?: React.Ref<HTMLLinkElement> }>;
401
400
 
401
+ interface LoadingProps {}
402
+
403
+ declare const Loading: React.FC<Expand<LoadingProps> &
404
+ React.HTMLAttributes<HTMLElement>>;
405
+
402
406
  interface NavFooterProps {
403
407
  leftContent?: JSX.Element;
404
408
  rightContent?: JSX.Element;
@@ -449,6 +453,14 @@ interface ParagraphProps {
449
453
  declare const Paragraph: React.FC<Expand<ParagraphProps> &
450
454
  React.HTMLAttributes<HTMLElement>>;
451
455
 
456
+ interface SpinnerProps {
457
+ size: string;
458
+ centerSpinner: boolean;
459
+ }
460
+
461
+ declare const Spinner: React.FC<Expand<SpinnerProps> &
462
+ React.HTMLAttributes<HTMLElement>>;
463
+
452
464
  interface TableProps {
453
465
  extraStyles?: string;
454
466
  }
@@ -643,5 +655,5 @@ interface DefaultPageTemplateProps {
643
655
  declare const DefaultPageTemplate: React.FC<Expand<DefaultPageTemplateProps> &
644
656
  React.HTMLAttributes<HTMLElement>>;
645
657
 
646
- export { 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, Cluster, ClusterProps, CollapsibleSection, CollapsibleSectionProps, Copyable, CopyableProps, Cover, CoverProps, DefaultPageTemplate, DefaultPageTemplateProps, EditableTable, EditableTableProps, ExternalLink, ExternalLinkProps, FooterWithSubfooter, FooterWithSubfooterProps, FormInput, FormInputProps, FormSelect, FormSelectProps, GuidedCheckoutImage, HistoryIconSmall, InternalLink, InternalLinkProps, KioskImage, NavFooter, NavFooterProps, NavHeader, NavHeaderProps, NavTabs, NavTabsProps, Paragraph, ParagraphProps, PointOfSaleImage, Popover, PopoverProps, ProfileImage, RefundIconMedium, RefundIconMediumProps, RefundIconSmall, RefundIconSmallProps, RevenueManagementImage, 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, XCircleIconMedium, XCircleIconMediumProps, XCircleIconSmall, XCircleIconSmallProps };
658
+ export { 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, Cluster, ClusterProps, CollapsibleSection, CollapsibleSectionProps, Copyable, CopyableProps, Cover, CoverProps, DefaultPageTemplate, DefaultPageTemplateProps, EditableTable, EditableTableProps, ExternalLink, ExternalLinkProps, FooterWithSubfooter, FooterWithSubfooterProps, FormInput, FormInputProps, FormSelect, FormSelectProps, GuidedCheckoutImage, HistoryIconSmall, InternalLink, InternalLinkProps, KioskImage, Loading, LoadingProps, NavFooter, NavFooterProps, NavHeader, NavHeaderProps, NavTabs, NavTabsProps, Paragraph, ParagraphProps, PointOfSaleImage, Popover, PopoverProps, ProfileImage, RefundIconMedium, RefundIconMediumProps, RefundIconSmall, RefundIconSmallProps, RevenueManagementImage, 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, XCircleIconMedium, XCircleIconMediumProps, XCircleIconSmall, XCircleIconSmallProps };
647
659
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "8.0.6-beta.4",
3
+ "version": "8.0.6-beta.5",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -18,7 +18,6 @@ export interface FormInputProps {
18
18
  showErrors?: boolean;
19
19
  formatter?: any;
20
20
  decorator?: any;
21
- themeValues?: any;
22
21
  background?: any;
23
22
  customHeight?: any;
24
23
  autocomplete?: any;
@@ -6,10 +6,12 @@ export * from "./form-select";
6
6
  export * from "./icons";
7
7
  export * from "./layouts";
8
8
  export * from "./link";
9
+ export * from "./loading";
9
10
  export * from "./nav-footer";
10
11
  export * from "./nav-header";
11
12
  export * from "./nav-tabs";
12
13
  export * from "./paragraph";
14
+ export * from "./spinner";
13
15
  export * from "./table";
14
16
  export * from "./text";
15
17
  export * from "./title";
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import Expand from "../../../util/expand";
3
+
4
+ export interface LoadingProps {}
5
+
6
+ export const Loading: React.FC<Expand<LoadingProps> &
7
+ React.HTMLAttributes<HTMLElement>>;
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import Expand from "../../../util/expand";
3
+
4
+ export interface SpinnerProps {
5
+ size: string;
6
+ centerSpinner: boolean;
7
+ }
8
+
9
+ export const Spinner: React.FC<Expand<SpinnerProps> &
10
+ React.HTMLAttributes<HTMLElement>>;