@thecb/components 8.0.6-beta.3 → 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;
@@ -101,6 +100,9 @@ interface FormSelectProps {
101
100
  field?: any;
102
101
  }
103
102
 
103
+ declare const FormSelect: React.FC<Expand<FormSelectProps> &
104
+ React.HTMLAttributes<HTMLElement>>;
105
+
104
106
  interface ArrowDownCircleIconSmallProps {
105
107
  color?: string;
106
108
  iconIndex?: number;
@@ -396,6 +398,11 @@ interface InternalLinkProps {
396
398
  declare const InternalLink: React.FC<Expand<InternalLinkProps> &
397
399
  React.HTMLAttributes<HTMLElement> & { ref?: React.Ref<HTMLLinkElement> }>;
398
400
 
401
+ interface LoadingProps {}
402
+
403
+ declare const Loading: React.FC<Expand<LoadingProps> &
404
+ React.HTMLAttributes<HTMLElement>>;
405
+
399
406
  interface NavFooterProps {
400
407
  leftContent?: JSX.Element;
401
408
  rightContent?: JSX.Element;
@@ -446,6 +453,14 @@ interface ParagraphProps {
446
453
  declare const Paragraph: React.FC<Expand<ParagraphProps> &
447
454
  React.HTMLAttributes<HTMLElement>>;
448
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
+
449
464
  interface TableProps {
450
465
  extraStyles?: string;
451
466
  }
@@ -640,5 +655,5 @@ interface DefaultPageTemplateProps {
640
655
  declare const DefaultPageTemplate: React.FC<Expand<DefaultPageTemplateProps> &
641
656
  React.HTMLAttributes<HTMLElement>>;
642
657
 
643
- 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, 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 };
644
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.3",
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;
@@ -16,5 +16,5 @@ export interface FormSelectProps {
16
16
  field?: any;
17
17
  }
18
18
 
19
- export const FormInput: React.FC<Expand<FormSelectProps> &
19
+ export const FormSelect: React.FC<Expand<FormSelectProps> &
20
20
  React.HTMLAttributes<HTMLElement>>;
@@ -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>>;