@mezo-org/mezo-clay 0.1.0-dev.0 → 0.1.0-dev.1.1

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/README.md CHANGED
@@ -65,7 +65,9 @@ The library is output as the /dist directory.
65
65
 
66
66
  ### Install
67
67
 
68
- // TODO instructions for installing mezo-clay package
68
+ ```shell
69
+ pnpm add @mezo-org/mezo-clay
70
+ ```
69
71
 
70
72
  Clay (and Base) uses [Styletron](https://www.styletron.org/) for its component styling (as css in js), and requires its engine as a peer dependency, so you will need to install it as well.
71
73
 
@@ -1,3 +1,4 @@
1
1
  export { default as Button, getBaseButtonSize } from './button';
2
2
  export { KIND as BUTTON_KIND, SIZE as BUTTON_SIZE, SHAPE as BUTTON_SHAPE, } from './constants';
3
+ export { getButtonHoverStyles, getButtonActiveStyles } from './overrides';
3
4
  export * from './types';
@@ -1,2 +1,17 @@
1
1
  import { ButtonProps } from './types';
2
+ export declare function getButtonHoverStyles(kind: any, disabled?: boolean): {
3
+ boxShadow?: undefined;
4
+ } | {
5
+ boxShadow: string;
6
+ };
7
+ export declare function getButtonActiveStyles($theme: any, kind: any, disabled?: boolean): {
8
+ boxShadow?: undefined;
9
+ color?: undefined;
10
+ } | {
11
+ boxShadow: string;
12
+ color?: undefined;
13
+ } | {
14
+ color: any;
15
+ boxShadow?: undefined;
16
+ };
2
17
  export declare function getButtonOverrides({ overrides, kind, disabled }: ButtonProps): import('baseui/helpers/overrides').Overrides<any>;
@@ -6,6 +6,7 @@ export * from './flex-grid';
6
6
  export * from './form-control';
7
7
  export * from './icons';
8
8
  export * from './input';
9
+ export * from './message-card';
9
10
  export * from './side-navigation';
10
11
  export * from './tag';
11
12
  export * from './textarea';
@@ -0,0 +1,2 @@
1
+ export { default as MessageCard } from './message-card';
2
+ export type { MessageCardProps } from 'baseui/message-card';
@@ -0,0 +1,2 @@
1
+ import { MessageCardProps } from 'baseui/message-card';
2
+ export default function MessageCard({ onClick, onDismiss, heading, paragraph, buttonLabel, buttonKind, backgroundColor, backgroundColorType, image, overrides, }: MessageCardProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export declare function getMessageCardOverrides({ overrides, image, buttonKind, backgroundColor, backgroundColorType, }: {
2
+ overrides: any;
3
+ image: any;
4
+ buttonKind: any;
5
+ backgroundColor: any;
6
+ backgroundColorType: any;
7
+ }): import('baseui/helpers/overrides').Overrides<any>;