@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 +3 -1
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/button/overrides.d.ts +15 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/message-card/index.d.ts +2 -0
- package/dist/components/message-card/message-card.d.ts +2 -0
- package/dist/components/message-card/overrides.d.ts +7 -0
- package/dist/mezo-clay.es.js +6397 -5941
- package/dist/mezo-clay.umd.js +16 -16
- package/package.json +18 -17
package/README.md
CHANGED
|
@@ -65,7 +65,9 @@ The library is output as the /dist directory.
|
|
|
65
65
|
|
|
66
66
|
### Install
|
|
67
67
|
|
|
68
|
-
|
|
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,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>;
|
|
@@ -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>;
|