@mezo-org/mezo-clay 0.1.0-dev.24 → 0.1.0-dev.26

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.
Files changed (42) hide show
  1. package/dist/components/accordion/accordion.d.ts +3 -0
  2. package/dist/components/accordion/shared-overrides.d.ts +4 -0
  3. package/dist/components/button/button.d.ts +1 -1
  4. package/dist/components/button/overrides.d.ts +2 -2
  5. package/dist/components/button/types.d.ts +1 -0
  6. package/dist/components/card/card-skeletons.d.ts +3 -1
  7. package/dist/components/card/card.d.ts +7 -3
  8. package/dist/components/card/index.d.ts +3 -1
  9. package/dist/components/card/product-card.d.ts +14 -0
  10. package/dist/components/card/types.d.ts +2 -0
  11. package/dist/components/icons/compass/index.d.ts +8 -0
  12. package/dist/components/icons/index.d.ts +2 -0
  13. package/dist/components/icons/pie-chart/index.d.ts +8 -0
  14. package/dist/components/icons/utils.d.ts +0 -1
  15. package/dist/components/index.d.ts +3 -2
  16. package/dist/components/list/list.d.ts +5 -2
  17. package/dist/components/message-card/overrides.d.ts +3 -1
  18. package/dist/components/page-control/index.d.ts +3 -0
  19. package/dist/components/page-control/page-control.d.ts +6 -0
  20. package/dist/components/pagination/index.d.ts +3 -0
  21. package/dist/components/pagination/pagination-without-dropdown.d.ts +3 -0
  22. package/dist/components/pagination/pagination.d.ts +3 -0
  23. package/dist/components/pagination/stateful-pagination-without-dropdown.d.ts +2 -0
  24. package/dist/components/pagination/types.d.ts +9 -0
  25. package/dist/components/popover/index.d.ts +9 -0
  26. package/dist/components/popover/popover-body.d.ts +3 -0
  27. package/dist/components/popover/popover-footer.d.ts +3 -0
  28. package/dist/components/popover/popover-header.d.ts +20 -0
  29. package/dist/components/popover/popover.d.ts +3 -0
  30. package/dist/components/popover/stepper-popover.d.ts +26 -0
  31. package/dist/components/select/index.d.ts +2 -0
  32. package/dist/components/select/select.d.ts +9 -0
  33. package/dist/components/skeleton/skeleton.d.ts +1 -1
  34. package/dist/components/table/index.d.ts +5 -2
  35. package/dist/components/table/table-builder.d.ts +9 -0
  36. package/dist/components/table/table-cells/index.d.ts +40 -0
  37. package/dist/mezo-clay.es.js +27591 -23230
  38. package/dist/mezo-clay.umd.js +58 -58
  39. package/dist/themes/clay-dark-theme.d.ts +1 -0
  40. package/dist/themes/clay-light-theme.d.ts +3 -0
  41. package/dist/utils/console.d.ts +1 -0
  42. package/package.json +1 -1
@@ -1,2 +1,5 @@
1
1
  import { AccordionProps } from './types';
2
+ export declare const useAccordionContext: () => {
3
+ toggleIcon?: AccordionProps["toggleIcon"];
4
+ };
2
5
  export default function Accordion({ accordion, children, disabled, id, initialState, onChange, overrides, size, stateReducer, renderAll, toggleIcon, }: AccordionProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { AccordionProps } from './types';
2
+ export declare function getToggleIconComponent(toggleIcon?: AccordionProps["toggleIcon"]): {
3
+ component: (props: any) => import("react/jsx-runtime").JSX.Element;
4
+ };
@@ -1,6 +1,6 @@
1
1
  import { ButtonProps } from './types';
2
2
  import * as React from "react";
3
3
  export declare function getBaseButtonSize(size: any): any;
4
- export declare function Button({ id, "data-attr": dataAttr, disabled, kind, overrides, size, forwardedRef, width, ...restProps }: ButtonProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function Button({ id, "data-attr": dataAttr, disabled, kind, overrides, size, forwardedRef, width, whiteSpace, ...restProps }: ButtonProps): import("react/jsx-runtime").JSX.Element;
5
5
  declare const ForwardedButton: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLElement>>;
6
6
  export default ForwardedButton;
@@ -1,5 +1,5 @@
1
1
  import { ButtonProps } from './types';
2
- export declare function getButtonHoverStyles(kind: any, disabled?: boolean): {
2
+ export declare function getButtonHoverStyles($theme: any, kind: any, disabled?: boolean): {
3
3
  boxShadow?: undefined;
4
4
  } | {
5
5
  boxShadow: string;
@@ -15,4 +15,4 @@ export declare function getButtonActiveStyles($theme: any, kind: any, disabled?:
15
15
  boxShadow?: undefined;
16
16
  };
17
17
  export declare function getButtonIconSize(size: ButtonProps["size"]): "16px" | "24px" | "20px" | "12px";
18
- export declare function getButtonOverrides({ overrides, kind, disabled, width, }: ButtonProps): import('baseui/helpers/overrides').Overrides<any>;
18
+ export declare function getButtonOverrides({ overrides, kind, disabled, width, whiteSpace, }: ButtonProps): import('baseui/helpers/overrides').Overrides<any>;
@@ -9,5 +9,6 @@ export interface ButtonProps extends Omit<Omit<BaseButtonProps, "size">, "shape"
9
9
  id?: string;
10
10
  forwardedRef?: ForwardedRef<HTMLElement>;
11
11
  width?: string;
12
+ whiteSpace?: string;
12
13
  }
13
14
  export type { ButtonOverrides, CustomColors, SharedStyleProps, } from 'baseui/button';
@@ -9,5 +9,7 @@ export declare function CardBodyFullWidthSkeleton({ $style, }: {
9
9
  }): import("react/jsx-runtime").JSX.Element;
10
10
  export declare function CardFooterSkeleton(): import("react/jsx-runtime").JSX.Element;
11
11
  export declare function CardThumbnailSkeleton(): import("react/jsx-runtime").JSX.Element;
12
- export declare function CardHeaderImageSkeleton(): import("react/jsx-runtime").JSX.Element;
12
+ export declare function CardHeaderImageSkeleton({ height, }: {
13
+ height?: string;
14
+ }): import("react/jsx-runtime").JSX.Element;
13
15
  export declare function getCardSkeleton(component: ReactElement): import("react/jsx-runtime").JSX.Element;
@@ -2,14 +2,18 @@ import { ComponentProps } from 'react';
2
2
  import { StyledAction as BaseUiStyledAction, StyledThumbnail as BaseUiStyledThumbnail } from 'baseui/card';
3
3
  import { ButtonProps } from '../button';
4
4
  import { CardProps } from './types';
5
- export declare function Card({ withBorder, backgroundColor, backgroundImage, loading, format, overrides, title, children, headerImage, thumbnail, action, id, ...props }: CardProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare const CardTitle: import('styletron-react').StyletronComponent<"h1", {}>;
6
+ export type CardTitleProps = ComponentProps<typeof CardTitle>;
7
+ export declare function Card({ withBorder, backgroundColor, backgroundImage, loading, loadingHeaderImageHeight, format, overrides, title, children, headerImage, thumbnail, action, id, width, ...props }: CardProps): import("react/jsx-runtime").JSX.Element;
6
8
  export type CardBodyFullWidthProps = ComponentProps<typeof BaseUiStyledAction>;
7
9
  export declare function CardBodyFullWidth({ children, $style, ...restProps }: CardBodyFullWidthProps): import("react/jsx-runtime").JSX.Element;
8
10
  export declare namespace CardBodyFullWidth {
9
11
  var displayName: string;
10
12
  }
11
- export type CardFooterProps = ComponentProps<typeof BaseUiStyledAction>;
12
- export declare function CardFooter({ children, $style, ...restProps }: CardFooterProps): import("react/jsx-runtime").JSX.Element;
13
+ export type CardFooterProps = ComponentProps<typeof BaseUiStyledAction> & {
14
+ justifyContent?: string;
15
+ };
16
+ export declare function CardFooter({ justifyContent, children, $style, ...restProps }: CardFooterProps): import("react/jsx-runtime").JSX.Element;
13
17
  export declare namespace CardFooter {
14
18
  var displayName: string;
15
19
  }
@@ -1,3 +1,5 @@
1
- export { StyledBody as CardBody, StyledTitle as CardTitle } from 'baseui/card';
1
+ export { StyledBody as CardBody } from 'baseui/card';
2
2
  export * from './card';
3
+ export { default as ProductCard } from './product-card';
4
+ export type { ProductCardProps } from './product-card';
3
5
  export * from './types';
@@ -0,0 +1,14 @@
1
+ import { ReactNode } from 'react';
2
+ import { ImageProps } from 'baseui/card';
3
+ import { TagProps } from '../tag';
4
+ import { CardProps } from './types';
5
+ export type ProductCardProps = Omit<CardProps, "children" | "overrides"> & {
6
+ headerImage: string | ImageProps;
7
+ title: ReactNode;
8
+ description?: ReactNode;
9
+ endEnhancer?: () => ReactNode;
10
+ tagColor?: TagProps["color"];
11
+ tagMessage?: ReactNode;
12
+ overrides?: CardProps["overrides"];
13
+ };
14
+ export default function ProductCard({ title, description, endEnhancer, loading, tagColor, tagMessage, overrides, ...props }: ProductCardProps): import("react/jsx-runtime").JSX.Element;
@@ -4,7 +4,9 @@ export type CardProps = {
4
4
  withBorder?: boolean;
5
5
  backgroundColor?: string;
6
6
  backgroundImage?: string;
7
+ loadingHeaderImageHeight?: string;
7
8
  loading?: boolean;
8
9
  format?: CardFormat;
9
10
  id?: string;
11
+ width?: string;
10
12
  } & BaseUiCardProps;
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ export declare const Compass03: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
3
+ children?: React.ReactNode;
4
+ size?: import('baseui/icon').Size;
5
+ color?: import('baseui/icon').Color;
6
+ title?: string | null;
7
+ overrides?: import('baseui/icon').IconOverrides;
8
+ } & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
@@ -22,6 +22,7 @@ export { default as CircleCut } from './circle-cut';
22
22
  export { default as Close } from './close';
23
23
  export { default as CoinsHand } from './coins-hand';
24
24
  export { CoinsSwap02 } from './coins-swap';
25
+ export { Compass03 } from './compass';
25
26
  export { Copy03 } from './copy';
26
27
  export { Cryptocurrency04 } from './cryptocurrency';
27
28
  export { Cube01 } from './cube';
@@ -56,6 +57,7 @@ export { default as MinusCircle } from './minus-circle';
56
57
  export { default as MinusSquare } from './minus-square';
57
58
  export * from './musd-circle';
58
59
  export { Percent02 } from './percent';
60
+ export { PieChart04 } from './pie-chart';
59
61
  export { default as Plus } from './plus';
60
62
  export { default as PlusCircle } from './plus-circle';
61
63
  export { default as PlusSquare } from './plus-square';
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ export declare const PieChart04: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
3
+ children?: React.ReactNode;
4
+ size?: import('baseui/icon').Size;
5
+ color?: import('baseui/icon').Color;
6
+ title?: string | null;
7
+ overrides?: import('baseui/icon').IconOverrides;
8
+ } & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
@@ -3,7 +3,6 @@ export declare function getIconDefaultStory(args?: {}): {
3
3
  args: {
4
4
  size: number;
5
5
  color: string;
6
- title: string;
7
6
  overrides: {
8
7
  Svg: {
9
8
  style: ({ $theme }: {
@@ -18,6 +18,9 @@ export * from './menu';
18
18
  export * from './message-card';
19
19
  export * from './mobile-header';
20
20
  export * from './modal';
21
+ export * from './page-control';
22
+ export * from './pagination';
23
+ export * from './popover';
21
24
  export * from './progress-bar';
22
25
  export * from './progress-steps';
23
26
  export * from './radio';
@@ -41,6 +44,4 @@ export { Icon } from 'baseui/icon';
41
44
  export type { IconProps } from 'baseui/icon';
42
45
  export { Grid, Cell } from 'baseui/layout-grid';
43
46
  export type { GridProps, CellProps } from 'baseui/layout-grid';
44
- export { Popover, StatefulPopover } from 'baseui/popover';
45
- export type { PopoverProps, StatefulPopoverProps } from 'baseui/popover';
46
47
  export { mergeOverrides } from 'baseui';
@@ -6,5 +6,8 @@ export type ListItemProps = ListProps & {
6
6
  export declare const useListItemContext: () => {
7
7
  state: State;
8
8
  };
9
- export default function ListItem({ children, overrides, state, ...restProps }: ListItemProps): import("react/jsx-runtime").JSX.Element;
10
- export {};
9
+ declare function ListItem({ children, overrides, state, ...restProps }: ListItemProps): import("react/jsx-runtime").JSX.Element;
10
+ declare namespace ListItem {
11
+ var displayName: string;
12
+ }
13
+ export default ListItem;
@@ -1,3 +1,4 @@
1
+ import { Theme } from 'baseui/styles';
1
2
  import { MessageCardOverrides as MessageCardOverridesBaseUi, MessageCardProps } from 'baseui/message-card';
2
3
  type MessageCardOverrides = {
3
4
  overrides: MessageCardOverridesBaseUi;
@@ -7,6 +8,7 @@ type MessageCardOverrides = {
7
8
  isLoading?: boolean;
8
9
  image: MessageCardProps["image"];
9
10
  id?: string;
11
+ theme: Theme;
10
12
  };
11
- export declare function getMessageCardOverrides({ overrides, image, buttonKind, backgroundColor, backgroundColorType, isLoading, id, }: MessageCardOverrides): import('baseui/helpers/overrides').Overrides<any>;
13
+ export declare function getMessageCardOverrides({ overrides, image, buttonKind, backgroundColor, backgroundColorType, isLoading, id, theme, }: MessageCardOverrides): import('baseui/helpers/overrides').Overrides<any>;
12
14
  export {};
@@ -0,0 +1,3 @@
1
+ export type { PageControlOverrides, Kind as PageControlKind, KIND as PAGECONTROL_KIND, } from 'baseui/page-control';
2
+ export { default as PageControl } from './page-control';
3
+ export type { PageControlProps } from './page-control';
@@ -0,0 +1,6 @@
1
+ import { PageControlProps as BasePageControlProps } from 'baseui/page-control';
2
+ export type PageControlProps = BasePageControlProps & {
3
+ id?: string;
4
+ };
5
+ declare function PageControl({ id, overrides, ...restProps }: PageControlProps): import("react/jsx-runtime").JSX.Element;
6
+ export default PageControl;
@@ -0,0 +1,3 @@
1
+ export * from './pagination';
2
+ export * from './types';
3
+ export type { PaginationOverrides, Callbacks as PaginationCallbacks, StatefulContainerState as PaginationStatefulContainerState, StateReducerFn as PaginationStateReducerFn, } from 'baseui/pagination';
@@ -0,0 +1,3 @@
1
+ import { PaginationProps } from './types';
2
+ declare function PaginationWithoutDropdown({ size, currentPage, numPages, onPageChange, onNextClick, onPrevClick, labels, disabled, id, }: PaginationProps): import("react/jsx-runtime").JSX.Element;
3
+ export default PaginationWithoutDropdown;
@@ -0,0 +1,3 @@
1
+ import { PaginationProps, StatefulPaginationProps } from './types';
2
+ export declare function Pagination({ disabled, size, numPages, labels, overrides, id, ...restProps }: PaginationProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare function StatefulPagination({ numPages, disabled, size, labels, overrides, id, ...restProps }: StatefulPaginationProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { StatefulPaginationProps } from './types';
2
+ export default function StatefulPaginationWithoutDropdown({ numPages, initialState, stateReducer, onPageChange, ...props }: StatefulPaginationProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { PaginationProps as BasePaginationProps, StatefulPaginationProps as BaseStatefulPaginationProps } from 'baseui/pagination';
2
+ export type PaginationSize = "small" | "medium" | "large";
3
+ export type SharedPaginationProps = {
4
+ size: PaginationSize;
5
+ disabled?: boolean;
6
+ id?: string;
7
+ };
8
+ export type PaginationProps = Omit<BasePaginationProps, "size"> & SharedPaginationProps;
9
+ export type StatefulPaginationProps = Omit<BaseStatefulPaginationProps, "size"> & SharedPaginationProps;
@@ -0,0 +1,9 @@
1
+ export { default as PopoverHeader, PopoverCloseButton } from './popover-header';
2
+ export type { PopoverHeaderProps, PopoverCloseButtonProps, } from './popover-header';
3
+ export { default as PopoverBody } from './popover-body';
4
+ export type { PopoverBodyProps } from './popover-body';
5
+ export { default as PopoverFooter } from './popover-footer';
6
+ export type { PopoverFooterProps } from './popover-footer';
7
+ export * from './popover';
8
+ export * from './stepper-popover';
9
+ export type { PopoverProps, StatefulPopoverProps } from 'baseui/popover';
@@ -0,0 +1,3 @@
1
+ import { BlockProps } from 'baseui/block';
2
+ export type PopoverBodyProps = BlockProps;
3
+ export default function PopoverBody({ children, ...restProps }: PopoverBodyProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { BlockProps } from 'baseui/block';
2
+ export type PopoverFooterProps = BlockProps;
3
+ export default function PopoverFooter({ children, ...restProps }: PopoverFooterProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,20 @@
1
+ import { ComponentType, ReactNode } from 'react';
2
+ import { BlockProps } from 'baseui/block';
3
+ import { IconProps } from 'baseui/icon';
4
+ import { ButtonOverrides } from '../button';
5
+ export type PopoverCloseButtonProps = {
6
+ overrides?: ButtonOverrides;
7
+ CloseIcon?: ComponentType<IconProps>;
8
+ iconProps?: IconProps;
9
+ onClick: () => void;
10
+ };
11
+ export declare function PopoverCloseButton({ overrides, CloseIcon, iconProps, onClick, }: PopoverCloseButtonProps): import("react/jsx-runtime").JSX.Element;
12
+ export type PopoverHeaderProps = {
13
+ blockProps?: BlockProps;
14
+ children?: ReactNode;
15
+ closeButtonOverrides?: ButtonOverrides;
16
+ CloseIcon?: ComponentType<IconProps>;
17
+ iconProps?: IconProps;
18
+ onCloseIconClick?: () => void;
19
+ };
20
+ export default function PopoverHeader({ blockProps, children, closeButtonOverrides, onCloseIconClick, CloseIcon, iconProps, }: PopoverHeaderProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { PopoverProps, StatefulPopoverProps } from 'baseui/popover';
2
+ export declare function Popover({ overrides, ...restProps }: PopoverProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare function StatefulPopover({ overrides, ...restProps }: StatefulPopoverProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,26 @@
1
+ import { ReactNode } from 'react';
2
+ import { BlockProps } from 'baseui/block';
3
+ import { StatefulPopoverProps } from 'baseui/popover';
4
+ import { PopoverFooterProps } from './popover-footer';
5
+ export type StepperPopoverFooterProps = Omit<PopoverFooterProps, "children"> & {
6
+ withStepCount?: boolean;
7
+ currentStep: number;
8
+ totalSteps: number;
9
+ previousButtonLabel?: string;
10
+ nextButtonLabel?: string;
11
+ onNextClick: (closeCb: any) => void;
12
+ onPreviousClick: (closeCb: any) => void;
13
+ close: () => void;
14
+ };
15
+ export declare function StepperPopoverFooter({ withStepCount, currentStep, totalSteps, previousButtonLabel, nextButtonLabel, onNextClick, onPreviousClick, close, ...restProps }: StepperPopoverFooterProps): import("react/jsx-runtime").JSX.Element;
16
+ export type PopoverStep = {
17
+ title?: ReactNode;
18
+ body: ReactNode;
19
+ withCloseButton?: boolean;
20
+ };
21
+ export type StepperPopoverProps = Omit<StatefulPopoverProps, "content"> & {
22
+ steps: PopoverStep[];
23
+ contentWrapperProps: BlockProps;
24
+ withStepCount?: boolean;
25
+ };
26
+ export declare function StepperPopover({ children, contentWrapperProps, steps, withStepCount, ...restProps }: StepperPopoverProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export type { ChangeAction as SelectChangeAction, Type as SelectType, Option as SelectOption, Value as SelectValue, Optgroups as SelectOptGroups, Options as SelectOptions, OnChangeParams as SelectOnChangeParams, SelectOverrides, OverridesDropdown as SelectOverridesDropdown, ImperativeMethods as SelectImperativeMethods, ControlRef as SelectControlRef, SharedStylePropsArg as SelectSharedStylePropsArg, } from 'baseui/select';
2
+ export * from './select';
@@ -0,0 +1,9 @@
1
+ import { SelectProps as BaseSelectProps } from 'baseui/select';
2
+ import { INPUT_SIZE } from '../input';
3
+ export type SelectProps = Omit<BaseSelectProps, "size"> & {
4
+ size?: keyof typeof INPUT_SIZE;
5
+ complete?: boolean;
6
+ incomplete?: boolean;
7
+ readOnly?: boolean;
8
+ };
9
+ export declare function Select({ size, overrides, complete, incomplete, isLoading, readOnly, disabled, clearable, ...restProps }: SelectProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import { ComponentProps } from 'react';
2
2
  import { Skeleton as SkeletonBaseUi } from 'baseui/skeleton';
3
3
  export type SkeletonProps = ComponentProps<typeof SkeletonBaseUi>;
4
- export default function Skeleton(props: SkeletonProps): import("react/jsx-runtime").JSX.Element;
4
+ export default function Skeleton({ overrides, ...props }: SkeletonProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,6 @@
1
1
  export { StyledTable as StyledTableGrid, StyledBodyCell as StyleBodyCellGrid, StyledHeadCell as StyledHeadCellGrid, SortableHeadCell, SORT_DIRECTION, } from 'baseui/table-grid';
2
- export type { TableProps as SemanticTableProps, Size, Divider as SemanticTableDivider, TableOverrides, BuilderOverrides, TableBuilderProps, ColumnOverrides, TableBuilderColumnProps, } from 'baseui/table-semantic';
3
- export { StyledTable as SemanticStyledTable, Table as SemanticTable, TableBuilder, TableBuilderColumn, DIVIDER, SIZE, StyledRoot, StyledTableHead, StyledTableHeadRow, StyledTableHeadCell, StyledTableHeadCellSortable, StyledTableBody, StyledTableBodyRow, StyledTableBodyCell, StyledTableLoadingMessage, StyledTableEmptyMessage, StyledSortAscIcon, StyledSortDescIcon, StyledSortNoneIcon, } from 'baseui/table-semantic';
2
+ export type { Row } from 'baseui/data-table';
3
+ export type { TableProps as SemanticTableProps, Size, Divider as SemanticTableDivider, TableOverrides, BuilderOverrides, ColumnOverrides, TableBuilderColumnProps, } from 'baseui/table-semantic';
4
+ export { StyledTable as SemanticStyledTable, Table as SemanticTable, TableBuilderColumn, DIVIDER, SIZE, StyledRoot, StyledTableHead, StyledTableHeadRow, StyledTableHeadCell, StyledTableHeadCellSortable, StyledTableBody, StyledTableBodyRow, StyledTableBodyCell, StyledTableLoadingMessage, StyledTableEmptyMessage, StyledSortAscIcon, StyledSortDescIcon, StyledSortNoneIcon, } from 'baseui/table-semantic';
5
+ export * from './table-builder';
6
+ export * from './table-cells';
@@ -0,0 +1,9 @@
1
+ import { TableBuilderProps as BaseTableBuilderProps, Size as BaseTableSize } from 'baseui/table-semantic';
2
+ export type TableBuilderSize = "small" | "medium" | "large" | BaseTableSize;
3
+ export type TableBuilderProps = Omit<BaseTableBuilderProps<any>, "size"> & {
4
+ size?: TableBuilderSize;
5
+ };
6
+ export declare const useTableBuilderContext: () => {
7
+ size: TableBuilderSize;
8
+ };
9
+ export declare function TableBuilder({ size, overrides, ...restProps }: TableBuilderProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,40 @@
1
+ import { ReactNode } from 'react';
2
+ import { StyleObject } from 'styletron-react';
3
+ import { BadgeProps } from 'baseui/badge';
4
+ import { BlockProps } from 'baseui/block';
5
+ import { CheckboxProps } from '../../checkbox';
6
+ import { ListItemProps } from '../../list';
7
+ import { RadioProps } from '../../radio';
8
+ export type TableCellProps = BlockProps & {
9
+ $style?: StyleObject;
10
+ };
11
+ export declare function TableHeading({ children, ...restProps }: TableCellProps): import("react/jsx-runtime").JSX.Element;
12
+ export type TableCellLinkProps = TableCellProps & {
13
+ href: string;
14
+ };
15
+ export declare function TableCellLink({ children, href, ...restProps }: TableCellLinkProps): import("react/jsx-runtime").JSX.Element;
16
+ export type TableCellCheckboxProps = CheckboxProps & {
17
+ blockProps?: BlockProps;
18
+ };
19
+ export declare function TableCellCheckbox({ overrides, blockProps, ...restProps }: TableCellCheckboxProps): import("react/jsx-runtime").JSX.Element;
20
+ export type TableCellRadioProps = RadioProps & {
21
+ blockProps?: BlockProps;
22
+ };
23
+ export declare function TableCellRadio({ overrides, blockProps, ...restProps }: TableCellRadioProps): import("react/jsx-runtime").JSX.Element;
24
+ export declare function TableCellIcon({ children, ...restProps }: TableCellProps): import("react/jsx-runtime").JSX.Element;
25
+ export type TableCellListItemProps = {
26
+ children: ReactNode;
27
+ description?: ReactNode;
28
+ artwork?: ListItemProps["artwork"];
29
+ overrides?: ListItemProps["overrides"];
30
+ };
31
+ export declare function TableCellListItem({ children, description, overrides, artwork, }: TableCellListItemProps): import("react/jsx-runtime").JSX.Element;
32
+ export type TableCellImageProps = TableCellProps & {
33
+ imgSrc: string;
34
+ imgAlt: string;
35
+ };
36
+ export declare function TableCellImage({ imgSrc, imgAlt, children, ...restProps }: TableCellImageProps): import("react/jsx-runtime").JSX.Element;
37
+ export type TableCellBadgeProps = TableCellProps & {
38
+ badgeProps?: BadgeProps;
39
+ };
40
+ export declare function TableCellBadge({ children, badgeProps, ...restProps }: TableCellBadgeProps): import("react/jsx-runtime").JSX.Element;