@mezo-org/mezo-clay 0.1.0-dev.16 → 0.1.0-dev.17
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/components/button/button.d.ts +1 -1
- package/dist/components/button/types.d.ts +2 -0
- package/dist/components/icons/arrow-left/index.d.ts +9 -0
- package/dist/components/icons/arrow-right/index.d.ts +9 -0
- package/dist/components/icons/index.d.ts +3 -0
- package/dist/components/icons/link/index.d.ts +8 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/input/input.d.ts +1 -1
- package/dist/components/mobile-header/index.d.ts +1 -0
- package/dist/components/mobile-header/mobile-header.d.ts +15 -0
- package/dist/components/progress-steps/index.d.ts +2 -0
- package/dist/components/section-heading/index.d.ts +1 -0
- package/dist/components/section-heading/section-heading.d.ts +5 -0
- package/dist/components/stepper/index.d.ts +2 -0
- package/dist/components/stepper/stepper.d.ts +2 -0
- package/dist/components/tooltip/index.d.ts +3 -0
- package/dist/components/tooltip/tooltip.d.ts +13 -0
- package/dist/components/tooltip/types.d.ts +1 -0
- package/dist/mezo-clay.es.js +16053 -14701
- package/dist/mezo-clay.umd.js +32 -32
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ButtonProps } from './types';
|
|
2
2
|
export declare function getBaseButtonSize(size: any): any;
|
|
3
|
-
export default function Button({ $as, children, colors, disabled, endEnhancer, href, isLoading, isSelected, kind, onClick, overrides, shape, size, startEnhancer, target, type, }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default function Button({ $as, children, colors, "data-attr": dataAttr, disabled, endEnhancer, href, id, isLoading, isSelected, kind, onClick, overrides, shape, size, startEnhancer, target, type, }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,5 +5,7 @@ export interface ButtonProps extends Omit<Omit<BaseButtonProps, "size">, "shape"
|
|
|
5
5
|
size?: keyof typeof SIZE;
|
|
6
6
|
shape?: keyof typeof SHAPE;
|
|
7
7
|
$as?: React.ElementType;
|
|
8
|
+
"data-attr"?: string;
|
|
9
|
+
id?: string;
|
|
8
10
|
}
|
|
9
11
|
export type { ButtonOverrides, CustomColors, SharedStyleProps, } from 'baseui/button';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const ArrowLeft: 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>>;
|
|
9
|
+
export default ArrowLeft;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const ArrowRight: 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>>;
|
|
9
|
+
export default ArrowRight;
|
|
@@ -3,8 +3,10 @@ export { AlertTriangle, AlertTriangleBadge } from './alert-triangle';
|
|
|
3
3
|
export { default as Apple } from './apple';
|
|
4
4
|
export { default as ArrowCircleDown } from './arrow-circle-down';
|
|
5
5
|
export { default as ArrowCircleUp } from './arrow-circle-up';
|
|
6
|
+
export { default as ArrowLeft } from './arrow-left';
|
|
6
7
|
export { default as ArrowNarrowLeft } from './arrow-narrow-left';
|
|
7
8
|
export { default as ArrowNarrowRight } from './arrow-narrow-right';
|
|
9
|
+
export { default as ArrowRight } from './arrow-right';
|
|
8
10
|
export * from './bitcoin-circle';
|
|
9
11
|
export { Building02 } from './building';
|
|
10
12
|
export { CheckCircle, CheckCircleBadge } from './check-circle';
|
|
@@ -33,6 +35,7 @@ export { default as Heart } from './heart';
|
|
|
33
35
|
export { HomeSmile } from './home-smile';
|
|
34
36
|
export { InfoCircle, InfoCircleBadge } from './info-circle';
|
|
35
37
|
export { Lightning01 } from './lightning';
|
|
38
|
+
export * from './link';
|
|
36
39
|
export { LinkExternal02 } from './link-external';
|
|
37
40
|
export { default as Loading } from './loading';
|
|
38
41
|
export { Lock03 } from './lock';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const Link02: 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,12 +22,15 @@ export * from './side-navigation';
|
|
|
22
22
|
export * from './skeleton';
|
|
23
23
|
export * from './snackbar';
|
|
24
24
|
export * from './spinner';
|
|
25
|
+
export * from './stepper';
|
|
25
26
|
export * from './tabs';
|
|
26
27
|
export * from './tag';
|
|
27
28
|
export * from './textarea';
|
|
29
|
+
export * from './tooltip';
|
|
28
30
|
export * from './typography';
|
|
29
31
|
export * from './card';
|
|
30
32
|
export * from './table';
|
|
33
|
+
export * from './progress-steps';
|
|
31
34
|
export { Block } from 'baseui/block';
|
|
32
35
|
export type { BlockProps } from 'baseui/block';
|
|
33
36
|
export { Icon } from 'baseui/icon';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SIZE } from './constants';
|
|
2
2
|
import { InputProps } from './types';
|
|
3
|
-
export declare function getBaseInputSize(size: keyof typeof SIZE): "
|
|
3
|
+
export declare function getBaseInputSize(size: keyof typeof SIZE): "default" | "large" | "compact" | "mini";
|
|
4
4
|
export default function Input({ value, onChange, disabled, error, positive, incomplete, complete, loading, readOnly, size, type, clearable, clearOnEscape, startEnhancer, endEnhancer, inputMode, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, "aria-describedby": ariaDescribedby, adjoined, autoComplete, autoFocus, pattern, placeholder, id, inputRef, name, min, max, step, maxLength, onBlur, onKeyDown, onKeyPress, onKeyUp, onFocus, required, overrides, }: InputProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './mobile-header';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MobileHeaderProps as BaseMobileHeaderProps, IconButton as BaseIconButton } from 'baseui/mobile-header';
|
|
2
|
+
import { IconProps } from 'baseui/icon';
|
|
3
|
+
import { StyleObject } from 'styletron-react';
|
|
4
|
+
import { ButtonIconProps } from '../button-icon';
|
|
5
|
+
export type MobileHeaderButton = BaseIconButton & {
|
|
6
|
+
iconProps?: IconProps;
|
|
7
|
+
overrides?: ButtonIconProps["overrides"];
|
|
8
|
+
};
|
|
9
|
+
export interface MobileHeaderProps extends Omit<Omit<BaseMobileHeaderProps, "navButton">, "actionButtons"> {
|
|
10
|
+
navButton?: MobileHeaderButton;
|
|
11
|
+
actionButtons?: [MobileHeaderButton?, MobileHeaderButton?];
|
|
12
|
+
rootWrapperCss?: StyleObject;
|
|
13
|
+
actionButtonsWrapperCss?: StyleObject;
|
|
14
|
+
}
|
|
15
|
+
export declare function MobileHeader({ actionButtons, expanded, navButton, overrides, type, rootWrapperCss, actionButtonsWrapperCss, ...restProps }: MobileHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export type { Orientation, ProgressStepsOverrides, ProgressStepsProps, StepOverrides, StepProps, NumberedStepOverrides, NumberedStepProps, StyleProps as ProgressStepsStyleProps, } from 'baseui/progress-steps';
|
|
2
|
+
export { StyledProgressSteps, StyledStep, Step, ProgressSteps, NumberedStep, StyledIconContainer, StyledIcon, StyledInnerIcon, StyledContent, StyledContentTitle, StyledContentTail, StyledContentDescription, StyledNumberStep, StyledNumberIcon, StyledNumberContentTail, ORIENTATION as PROGRESS_STEPS_ORIENTATION, } from 'baseui//progress-steps';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './section-heading';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ListHeadingProps } from '../list';
|
|
2
|
+
export type SectionHeadingProps = ListHeadingProps & {
|
|
3
|
+
headingLevel?: 1 | 2 | 3;
|
|
4
|
+
};
|
|
5
|
+
export declare function SectionHeading({ headingLevel, overrides, ...restProps }: SectionHeadingProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentType, ReactNode } from 'react';
|
|
2
|
+
import { StatefulTooltipProps } from 'baseui/tooltip';
|
|
3
|
+
import { IconProps } from 'baseui/icon';
|
|
4
|
+
import { TooltipPosition } from './types';
|
|
5
|
+
export type TooltipProps = Omit<StatefulTooltipProps, "placement" | "content"> & {
|
|
6
|
+
content: ReactNode | string;
|
|
7
|
+
position?: TooltipPosition;
|
|
8
|
+
backgroundColor?: string;
|
|
9
|
+
color?: string;
|
|
10
|
+
CloseIcon?: ComponentType<IconProps>;
|
|
11
|
+
iconProps?: IconProps;
|
|
12
|
+
};
|
|
13
|
+
export declare function Tooltip({ children, content, position, overrides, popoverMargin, backgroundColor, color, CloseIcon, iconProps, triggerType, ...restProps }: TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TooltipPosition = "top" | "bottom" | "left" | "right";
|