@mezo-org/mezo-clay 0.1.0-dev.17 → 0.1.0-dev.19

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 (51) hide show
  1. package/dist/components/accordion/accordion.d.ts +1 -1
  2. package/dist/components/accordion/panel.d.ts +18 -1
  3. package/dist/components/accordion/types.d.ts +5 -2
  4. package/dist/components/banner/banner.d.ts +3 -1
  5. package/dist/components/banner/types.d.ts +2 -0
  6. package/dist/components/banner/utils.d.ts +36 -0
  7. package/dist/components/button/button.d.ts +4 -1
  8. package/dist/components/button/index.d.ts +1 -1
  9. package/dist/components/button/overrides.d.ts +2 -1
  10. package/dist/components/button/types.d.ts +3 -1
  11. package/dist/components/button-group/index.d.ts +1 -1
  12. package/dist/components/button-group/types.d.ts +2 -3
  13. package/dist/components/button-icon/button-icon.d.ts +4 -1
  14. package/dist/components/button-icon/index.d.ts +0 -1
  15. package/dist/components/card/card-skeletons.d.ts +13 -0
  16. package/dist/components/card/card.d.ts +24 -6
  17. package/dist/components/card/context.d.ts +7 -0
  18. package/dist/components/card/index.d.ts +3 -3
  19. package/dist/components/card/types.d.ts +10 -0
  20. package/dist/components/icons/check-circle/index.d.ts +5 -8
  21. package/dist/components/icons/index.d.ts +3 -2
  22. package/dist/components/icons/log-out/index.d.ts +8 -0
  23. package/dist/components/icons/menu/index.d.ts +2 -2
  24. package/dist/components/index.d.ts +3 -0
  25. package/dist/components/menu/context.d.ts +7 -0
  26. package/dist/components/menu/index.d.ts +4 -0
  27. package/dist/components/menu/menu-items.d.ts +18 -0
  28. package/dist/components/menu/menu.d.ts +28 -0
  29. package/dist/components/menu/types.d.ts +1 -0
  30. package/dist/components/message-card/index.d.ts +1 -1
  31. package/dist/components/message-card/message-card.d.ts +2 -1
  32. package/dist/components/message-card/overrides.d.ts +2 -1
  33. package/dist/components/modal/modal.d.ts +4 -2
  34. package/dist/components/radio/index.d.ts +1 -1
  35. package/dist/components/radio/radio.d.ts +4 -1
  36. package/dist/components/segmented-control/index.d.ts +0 -2
  37. package/dist/components/segmented-control/segmented-control.d.ts +9 -2
  38. package/dist/components/side-navigation/index.d.ts +1 -1
  39. package/dist/components/side-navigation/overrides.d.ts +2 -1
  40. package/dist/components/side-navigation/side-navigation.d.ts +15 -3
  41. package/dist/components/stepper/index.d.ts +1 -1
  42. package/dist/components/stepper/stepper.d.ts +4 -1
  43. package/dist/components/tabs/index.d.ts +1 -2
  44. package/dist/components/tabs/tabs.d.ts +9 -0
  45. package/dist/mezo-clay.es.js +20182 -17652
  46. package/dist/mezo-clay.umd.js +30 -30
  47. package/dist/utils/console.d.ts +1 -0
  48. package/dist/utils/index.d.ts +3 -1
  49. package/package.json +1 -1
  50. package/dist/components/button-group/constants.d.ts +0 -5
  51. package/dist/components/button-icon/overrides.d.ts +0 -5
@@ -1,2 +1,2 @@
1
1
  import { AccordionProps } from './types';
2
- export default function Accordion({ accordion, children, disabled, initialState, onChange, overrides, size, stateReducer, renderAll, toggleIcon, }: AccordionProps): import("react/jsx-runtime").JSX.Element;
2
+ export default function Accordion({ accordion, children, disabled, id, initialState, onChange, overrides, size, stateReducer, renderAll, toggleIcon, }: AccordionProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,20 @@
1
+ import { default as React } from 'react';
1
2
  import { PanelTitleProps } from './types';
2
3
  export declare function PanelTitle({ artwork, artworkSize, title, subtitle, }: PanelTitleProps): import("react/jsx-runtime").JSX.Element;
3
- export { Panel } from 'baseui/accordion';
4
+ export declare const Panel: React.ForwardRefExoticComponent<{
5
+ children?: React.ReactNode;
6
+ disabled?: boolean;
7
+ 'aria-controls'?: string;
8
+ key?: React.Key;
9
+ onChange?: import('baseui/accordion').OnChangeHandler;
10
+ onClick?: (e: Event) => unknown;
11
+ onKeyDown?: (e: KeyboardEvent) => unknown;
12
+ overrides?: import('baseui/accordion').PanelOverrides;
13
+ title?: React.ReactNode;
14
+ renderPanelContent?: boolean;
15
+ renderAll?: boolean;
16
+ } & {
17
+ expanded?: boolean;
18
+ } & {
19
+ id?: string;
20
+ } & React.RefAttributes<HTMLElement>>;
@@ -1,12 +1,15 @@
1
1
  import { default as React } from 'react';
2
- import { AccordionProps as BaseAccordionProps } from 'baseui/accordion';
2
+ import { AccordionProps as BaseAccordionProps, PanelProps as BasePanelProps } from 'baseui/accordion';
3
3
  import { Icon } from 'baseui/icon';
4
4
  import { ACCORDION_SIZE, PANEL_ARTWORK_SIZE } from './constants';
5
5
  export interface AccordionProps extends BaseAccordionProps {
6
+ id?: string;
6
7
  size: keyof typeof ACCORDION_SIZE;
7
8
  toggleIcon?: React.ReactElement<typeof Icon>;
8
9
  }
9
- export type { PanelProps } from 'baseui/accordion';
10
+ export type PanelProps = BasePanelProps & {
11
+ id?: string;
12
+ };
10
13
  export interface PanelTitleProps {
11
14
  artwork?: React.ReactNode;
12
15
  artworkSize?: keyof typeof PANEL_ARTWORK_SIZE;
@@ -1,8 +1,10 @@
1
1
  import { BannerProps, BannerVariantProps } from './types';
2
2
  export declare const useBannerContext: () => {
3
3
  actionLabel: BannerProps["actionLabel"];
4
+ actionButtonId: BannerProps["actionButtonId"];
4
5
  artworkType: BannerProps["artworkType"];
5
6
  hierarchy: BannerProps["hierarchy"];
7
+ id: BannerProps["id"];
6
8
  kind?: BannerProps["kind"];
7
9
  onClick: BannerProps["onClick"];
8
10
  };
@@ -10,7 +12,7 @@ export declare function BannerCloseIcon({ size }: {
10
12
  size: string;
11
13
  }): import("react/jsx-runtime").JSX.Element;
12
14
  export declare function BannerTrailingButtonContainer(): import("react/jsx-runtime").JSX.Element;
13
- export default function Banner({ actionIcon, actionLabel, artworkIcon, artworkType, children, hierarchy, kind, onClick, overrides, nested, title, }: BannerProps): import("react/jsx-runtime").JSX.Element;
15
+ export default function Banner({ actionIcon, actionLabel, actionButtonId, artworkIcon, artworkType, children, hierarchy, id, kind, onClick, overrides, nested, title, }: BannerProps): import("react/jsx-runtime").JSX.Element;
14
16
  export declare function BannerInfo({ artworkType, children, ...restProps }: BannerVariantProps): import("react/jsx-runtime").JSX.Element;
15
17
  export declare function BannerNegative({ artworkType, children, ...restProps }: BannerVariantProps): import("react/jsx-runtime").JSX.Element;
16
18
  export declare function BannerPositive({ artworkType, children, ...restProps }: BannerVariantProps): import("react/jsx-runtime").JSX.Element;
@@ -2,9 +2,11 @@ import { BannerProps as BaseBannerProps, ActionContent as BaseActionContent, Art
2
2
  export interface BannerProps extends Omit<Omit<BaseBannerProps, "action">, "artwork"> {
3
3
  actionIcon?: BaseActionContent["icon"];
4
4
  actionLabel?: BaseActionContent["label"];
5
+ actionButtonId?: string;
5
6
  onClick?: BaseActionContent["onClick"];
6
7
  artworkIcon?: BaseArtworkContent["icon"];
7
8
  artworkType?: BaseArtworkContent["type"];
9
+ id?: string;
8
10
  }
9
11
  export interface BannerVariantProps extends Omit<Omit<BannerProps, "artworkIcon">, "kind"> {
10
12
  }
@@ -5,9 +5,11 @@ export declare function getLowHierarchyStory(renderFn: RenderFn): {
5
5
  args: {
6
6
  actionIcon: any;
7
7
  actionLabel: any;
8
+ actionButtonId: string;
8
9
  artworkType: any;
9
10
  children: string;
10
11
  hierarchy: BannerVariantProps["hierarchy"];
12
+ id: string;
11
13
  onClick: any;
12
14
  overrides: {};
13
15
  nested: boolean;
@@ -20,9 +22,11 @@ export declare function getLowHierarchyWithActionButtonStory(renderFn: RenderFn)
20
22
  actionLabel: string;
21
23
  onClick: () => void;
22
24
  actionIcon: any;
25
+ actionButtonId: string;
23
26
  artworkType: any;
24
27
  children: string;
25
28
  hierarchy: BannerVariantProps["hierarchy"];
29
+ id: string;
26
30
  overrides: {};
27
31
  nested: boolean;
28
32
  title: string;
@@ -34,9 +38,11 @@ export declare function getLowHierarchyWithActionIconStory(renderFn: RenderFn):
34
38
  actionLabel: string;
35
39
  actionIcon: typeof BannerCloseIcon;
36
40
  onClick: () => void;
41
+ actionButtonId: string;
37
42
  artworkType: any;
38
43
  children: string;
39
44
  hierarchy: BannerVariantProps["hierarchy"];
45
+ id: string;
40
46
  overrides: {};
41
47
  nested: boolean;
42
48
  title: string;
@@ -48,8 +54,10 @@ export declare function getLowHierarchyWithArtworkWithBadgeStory(renderFn: Rende
48
54
  artworkType: "badge";
49
55
  actionIcon: any;
50
56
  actionLabel: any;
57
+ actionButtonId: string;
51
58
  children: string;
52
59
  hierarchy: BannerVariantProps["hierarchy"];
60
+ id: string;
53
61
  onClick: any;
54
62
  overrides: {};
55
63
  nested: boolean;
@@ -63,8 +71,10 @@ export declare function getLowHierarchyWithArtworkWithBadgeAndButtonStory(render
63
71
  actionLabel: string;
64
72
  onClick: () => void;
65
73
  actionIcon: any;
74
+ actionButtonId: string;
66
75
  children: string;
67
76
  hierarchy: BannerVariantProps["hierarchy"];
77
+ id: string;
68
78
  overrides: {};
69
79
  nested: boolean;
70
80
  title: string;
@@ -77,8 +87,10 @@ export declare function getLowHierarchyWithArtworkWithBadgeAndCloseStory(renderF
77
87
  actionLabel: string;
78
88
  actionIcon: typeof BannerCloseIcon;
79
89
  onClick: () => void;
90
+ actionButtonId: string;
80
91
  children: string;
81
92
  hierarchy: BannerVariantProps["hierarchy"];
93
+ id: string;
82
94
  overrides: {};
83
95
  nested: boolean;
84
96
  title: string;
@@ -90,8 +102,10 @@ export declare function getLowHierarchyWithArtworkWithIconStory(renderFn: Render
90
102
  artworkType: "icon";
91
103
  actionIcon: any;
92
104
  actionLabel: any;
105
+ actionButtonId: string;
93
106
  children: string;
94
107
  hierarchy: BannerVariantProps["hierarchy"];
108
+ id: string;
95
109
  onClick: any;
96
110
  overrides: {};
97
111
  nested: boolean;
@@ -105,8 +119,10 @@ export declare function getLowHierarchyWithArtworkWithIconAndButtonStory(renderF
105
119
  actionLabel: string;
106
120
  onClick: () => void;
107
121
  actionIcon: any;
122
+ actionButtonId: string;
108
123
  children: string;
109
124
  hierarchy: BannerVariantProps["hierarchy"];
125
+ id: string;
110
126
  overrides: {};
111
127
  nested: boolean;
112
128
  title: string;
@@ -119,8 +135,10 @@ export declare function getLowHierarchyWithArtworkWithIconAndCloseStory(renderFn
119
135
  actionLabel: string;
120
136
  actionIcon: typeof BannerCloseIcon;
121
137
  onClick: () => void;
138
+ actionButtonId: string;
122
139
  children: string;
123
140
  hierarchy: BannerVariantProps["hierarchy"];
141
+ id: string;
124
142
  overrides: {};
125
143
  nested: boolean;
126
144
  title: string;
@@ -132,8 +150,10 @@ export declare function getHighHierarchyStory(renderFn: RenderFn): {
132
150
  hierarchy: import('baseui/banner').Hierarchy;
133
151
  actionIcon: any;
134
152
  actionLabel: any;
153
+ actionButtonId: string;
135
154
  artworkType: any;
136
155
  children: string;
156
+ id: string;
137
157
  onClick: any;
138
158
  overrides: {};
139
159
  nested: boolean;
@@ -147,8 +167,10 @@ export declare function getHighHierarchyWithActionButtonStory(renderFn: RenderFn
147
167
  actionLabel: string;
148
168
  onClick: () => void;
149
169
  actionIcon: any;
170
+ actionButtonId: string;
150
171
  artworkType: any;
151
172
  children: string;
173
+ id: string;
152
174
  overrides: {};
153
175
  nested: boolean;
154
176
  title: string;
@@ -161,8 +183,10 @@ export declare function getHighHierarchyWithActionIconStory(renderFn: RenderFn):
161
183
  actionLabel: string;
162
184
  actionIcon: typeof BannerCloseIcon;
163
185
  onClick: () => void;
186
+ actionButtonId: string;
164
187
  artworkType: any;
165
188
  children: string;
189
+ id: string;
166
190
  overrides: {};
167
191
  nested: boolean;
168
192
  title: string;
@@ -175,7 +199,9 @@ export declare function getHighHierarchyWithArtworkWithBadgeStory(renderFn: Rend
175
199
  artworkType: "badge";
176
200
  actionIcon: any;
177
201
  actionLabel: any;
202
+ actionButtonId: string;
178
203
  children: string;
204
+ id: string;
179
205
  onClick: any;
180
206
  overrides: {};
181
207
  nested: boolean;
@@ -190,7 +216,9 @@ export declare function getHighHierarchyWithArtworkWithBadgeAndButtonStory(rende
190
216
  actionLabel: string;
191
217
  onClick: () => void;
192
218
  actionIcon: any;
219
+ actionButtonId: string;
193
220
  children: string;
221
+ id: string;
194
222
  overrides: {};
195
223
  nested: boolean;
196
224
  title: string;
@@ -204,7 +232,9 @@ export declare function getHighHierarchyWithArtworkWithBadgeAndCloseStory(render
204
232
  actionLabel: string;
205
233
  actionIcon: typeof BannerCloseIcon;
206
234
  onClick: () => void;
235
+ actionButtonId: string;
207
236
  children: string;
237
+ id: string;
208
238
  overrides: {};
209
239
  nested: boolean;
210
240
  title: string;
@@ -217,7 +247,9 @@ export declare function getHighHierarchyWithArtworkWithIconStory(renderFn: Rende
217
247
  artworkType: "icon";
218
248
  actionIcon: any;
219
249
  actionLabel: any;
250
+ actionButtonId: string;
220
251
  children: string;
252
+ id: string;
221
253
  onClick: any;
222
254
  overrides: {};
223
255
  nested: boolean;
@@ -232,7 +264,9 @@ export declare function getHighHierarchyWithArtworkWithIconAndButtonStory(render
232
264
  actionLabel: string;
233
265
  onClick: () => void;
234
266
  actionIcon: any;
267
+ actionButtonId: string;
235
268
  children: string;
269
+ id: string;
236
270
  overrides: {};
237
271
  nested: boolean;
238
272
  title: string;
@@ -246,7 +280,9 @@ export declare function getHighHierarchyWithArtworkWithIconAndCloseStory(renderF
246
280
  actionLabel: string;
247
281
  actionIcon: typeof BannerCloseIcon;
248
282
  onClick: () => void;
283
+ actionButtonId: string;
249
284
  children: string;
285
+ id: string;
250
286
  overrides: {};
251
287
  nested: boolean;
252
288
  title: string;
@@ -1,3 +1,6 @@
1
1
  import { ButtonProps } from './types';
2
+ import * as React from "react";
2
3
  export declare function getBaseButtonSize(size: any): any;
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;
4
+ export declare function Button({ id, "data-attr": dataAttr, disabled, kind, overrides, size, forwardedRef, width, ...restProps }: ButtonProps): import("react/jsx-runtime").JSX.Element;
5
+ declare const ForwardedButton: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLElement>>;
6
+ export default ForwardedButton;
@@ -1,4 +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
+ export { getButtonHoverStyles, getButtonActiveStyles, getButtonIconSize, } from './overrides';
4
4
  export * from './types';
@@ -14,4 +14,5 @@ export declare function getButtonActiveStyles($theme: any, kind: any, disabled?:
14
14
  color: any;
15
15
  boxShadow?: undefined;
16
16
  };
17
- export declare function getButtonOverrides({ overrides, kind, disabled }: ButtonProps): import('baseui/helpers/overrides').Overrides<any>;
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>;
@@ -1,4 +1,4 @@
1
- import { default as React } from 'react';
1
+ import { default as React, ForwardedRef } from 'react';
2
2
  import { ButtonProps as BaseButtonProps } from 'baseui/button';
3
3
  import { SIZE, SHAPE } from './constants';
4
4
  export interface ButtonProps extends Omit<Omit<BaseButtonProps, "size">, "shape"> {
@@ -7,5 +7,7 @@ export interface ButtonProps extends Omit<Omit<BaseButtonProps, "size">, "shape"
7
7
  $as?: React.ElementType;
8
8
  "data-attr"?: string;
9
9
  id?: string;
10
+ forwardedRef?: ForwardedRef<HTMLElement>;
11
+ width?: string;
10
12
  }
11
13
  export type { ButtonOverrides, CustomColors, SharedStyleProps, } from 'baseui/button';
@@ -1,3 +1,3 @@
1
1
  export { default as ButtonGroup, StatefulButtonGroup } from './button-group';
2
- export { SHAPE as BUTTON_GROUP_SHAPE, SIZE as BUTTON_GROUP_SIZE, } from './constants';
2
+ export { SHAPE as BUTTON_GROUP_SHAPE, SIZE as BUTTON_GROUP_SIZE, } from '../button/constants';
3
3
  export type { ButtonGroupProps, StatefulButtonGroupProps } from './types';
@@ -1,8 +1,7 @@
1
1
  import { ButtonGroupProps as BaseButtonGroupProps, StateReducer } from 'baseui/button-group';
2
- import { BUTTON_SHAPE } from '../button';
3
- import { SIZE } from './constants';
2
+ import { BUTTON_SHAPE, BUTTON_SIZE } from '../button';
4
3
  export interface ButtonGroupProps extends Omit<Omit<BaseButtonGroupProps, "size">, "shape"> {
5
- size?: keyof typeof SIZE;
4
+ size?: keyof typeof BUTTON_SIZE;
6
5
  shape?: keyof typeof BUTTON_SHAPE;
7
6
  }
8
7
  export interface StatefulButtonGroupProps extends Omit<ButtonGroupProps, "selected"> {
@@ -1,2 +1,5 @@
1
+ import { default as React, ReactNode } from 'react';
1
2
  import { ButtonIconProps } from './types';
2
- export default function IconButton({ $as, children, colors, disabled, href, isLoading, isSelected, kind, onClick, overrides, shape, size, target, type, }: ButtonIconProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare function formatButtonLabel(label: ReactNode): string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode>;
4
+ declare const ForwardedButtonIcon: React.ForwardRefExoticComponent<ButtonIconProps & React.RefAttributes<HTMLElement>>;
5
+ export default ForwardedButtonIcon;
@@ -1,4 +1,3 @@
1
1
  export { default as ButtonIcon } from './button-icon';
2
2
  export { KIND as BUTTON_ICON_KIND, SHAPE as BUTTON_ICON_SHAPE, SIZE as BUTTON_ICON_SIZE, } from './constants';
3
- export { getIconSize } from './overrides';
4
3
  export type { ButtonIconProps } from './types';
@@ -0,0 +1,13 @@
1
+ import { ReactElement } from 'react';
2
+ import { StyleObject } from 'styletron-react';
3
+ export declare function CardTitleSkeleton(): import("react/jsx-runtime").JSX.Element;
4
+ export declare function CardBodySkeleton({ width }: {
5
+ width: string;
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ export declare function CardBodyFullWidthSkeleton({ $style, }: {
8
+ $style?: StyleObject;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ export declare function CardFooterSkeleton(): import("react/jsx-runtime").JSX.Element;
11
+ export declare function CardThumbnailSkeleton(): import("react/jsx-runtime").JSX.Element;
12
+ export declare function CardHeaderImageSkeleton(): import("react/jsx-runtime").JSX.Element;
13
+ export declare function getCardSkeleton(component: ReactElement): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,24 @@
1
- import { CardProps as BaseUiCardProps } from 'baseui/card';
2
- export type CardProps = {
3
- withBorder?: boolean;
4
- backgroundColor?: string;
5
- } & BaseUiCardProps;
6
- export default function Card({ withBorder, backgroundColor, overrides, children, ...props }: CardProps): import("react/jsx-runtime").JSX.Element;
1
+ import { ComponentProps } from 'react';
2
+ import { StyledAction as BaseUiStyledAction, StyledThumbnail as BaseUiStyledThumbnail } from 'baseui/card';
3
+ import { ButtonProps } from '../button';
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;
6
+ export type CardBodyFullWidthProps = ComponentProps<typeof BaseUiStyledAction>;
7
+ export declare function CardBodyFullWidth({ children, $style, ...restProps }: CardBodyFullWidthProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare namespace CardBodyFullWidth {
9
+ var displayName: string;
10
+ }
11
+ export type CardFooterProps = ComponentProps<typeof BaseUiStyledAction>;
12
+ export declare function CardFooter({ children, $style, ...restProps }: CardFooterProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare namespace CardFooter {
14
+ var displayName: string;
15
+ }
16
+ export declare function CardFooterButton({ children, ...restProps }: ButtonProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare namespace CardFooterButton {
18
+ var displayName: string;
19
+ }
20
+ export type CardThumbnailProps = ComponentProps<typeof BaseUiStyledThumbnail>;
21
+ export declare function CardThumbnail({ $style, ...restProps }: CardThumbnailProps): import("react/jsx-runtime").JSX.Element;
22
+ export declare namespace CardThumbnail {
23
+ var displayName: string;
24
+ }
@@ -0,0 +1,7 @@
1
+ import { CardProps } from './types';
2
+ export declare const CardContext: import('react').Context<{
3
+ format: CardProps["format"];
4
+ }>;
5
+ export declare const useCardContext: () => {
6
+ format: CardProps["format"];
7
+ };
@@ -1,3 +1,3 @@
1
- export { StyledBody as CardBody, StyledAction as CardFooter } from 'baseui/card';
2
- export { default as Card } from './card';
3
- export type { CardProps } from './card';
1
+ export { StyledBody as CardBody, StyledTitle as CardTitle } from 'baseui/card';
2
+ export * from './card';
3
+ export * from './types';
@@ -0,0 +1,10 @@
1
+ import { CardProps as BaseUiCardProps } from 'baseui/card';
2
+ export type CardFormat = "isolated" | "feed";
3
+ export type CardProps = {
4
+ withBorder?: boolean;
5
+ backgroundColor?: string;
6
+ backgroundImage?: string;
7
+ loading?: boolean;
8
+ format?: CardFormat;
9
+ id?: string;
10
+ } & BaseUiCardProps;
@@ -1,12 +1,9 @@
1
1
  import * as React from "react";
2
- export declare const CheckCircle: 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 declare const CheckCircleBadge: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
2
+ export declare const CheckCircle: React.ForwardRefExoticComponent<{
3
+ borderColor?: string;
4
+ checkMarkColor?: string;
5
+ checkMarkStrokeWidth?: string;
6
+ } & React.SVGAttributes<SVGElement> & {
10
7
  children?: React.ReactNode;
11
8
  size?: import('baseui/icon').Size;
12
9
  color?: import('baseui/icon').Color;
@@ -9,7 +9,7 @@ export { default as ArrowNarrowRight } from './arrow-narrow-right';
9
9
  export { default as ArrowRight } from './arrow-right';
10
10
  export * from './bitcoin-circle';
11
11
  export { Building02 } from './building';
12
- export { CheckCircle, CheckCircleBadge } from './check-circle';
12
+ export { CheckCircle } from './check-circle';
13
13
  export { default as ChevronDown } from './chevron-down';
14
14
  export { default as ChevronLeft } from './chevron-left';
15
15
  export { default as ChevronRight } from './chevron-right';
@@ -40,9 +40,10 @@ export { LinkExternal02 } from './link-external';
40
40
  export { default as Loading } from './loading';
41
41
  export { Lock03 } from './lock';
42
42
  export { LogIn01 } from './log-in';
43
+ export { LogOut01 } from './log-out';
43
44
  export { default as Mats } from './mats';
44
45
  export * from './mats-circle';
45
- export { default as Menu } from './menu';
46
+ export { default as Menu01 } from './menu';
46
47
  export { default as MessageQuestionCircle } from './message-question-circle';
47
48
  export * from './mezo-circle';
48
49
  export { default as MinusCircle } from './minus-circle';
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ export declare const LogOut01: 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>>;
@@ -1,9 +1,9 @@
1
1
  import * as React from "react";
2
- declare const Menu: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
2
+ declare const Menu01: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
3
3
  children?: React.ReactNode;
4
4
  size?: import('baseui/icon').Size;
5
5
  color?: import('baseui/icon').Color;
6
6
  title?: string | null;
7
7
  overrides?: import('baseui/icon').IconOverrides;
8
8
  } & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
9
- export default Menu;
9
+ export default Menu01;
@@ -13,10 +13,13 @@ export * from './icons';
13
13
  export * from './input';
14
14
  export * from './link';
15
15
  export * from './list';
16
+ export * from './menu';
16
17
  export * from './message-card';
18
+ export * from './mobile-header';
17
19
  export * from './modal';
18
20
  export * from './progress-bar';
19
21
  export * from './radio';
22
+ export * from './section-heading';
20
23
  export * from './segmented-control';
21
24
  export * from './side-navigation';
22
25
  export * from './skeleton';
@@ -0,0 +1,7 @@
1
+ import { MenuSize } from './types';
2
+ export declare const MenuContext: import('react').Context<{
3
+ size: MenuSize;
4
+ }>;
5
+ export declare const useMenuContext: () => {
6
+ size: MenuSize;
7
+ };
@@ -0,0 +1,4 @@
1
+ export * from './menu';
2
+ export * from './menu-items';
3
+ export * from './types';
4
+ export { NestedMenus } from 'baseui/menu';
@@ -0,0 +1,18 @@
1
+ import { ComponentType, ReactNode } from 'react';
2
+ import { IconProps } from 'baseui/icon';
3
+ export type MenuListItemProps = {
4
+ artwork?: ComponentType<IconProps>;
5
+ artworkProps?: IconProps;
6
+ endEnhancer?: ReactNode;
7
+ label: ReactNode;
8
+ id?: string;
9
+ };
10
+ export type MenuProfileItemProps = {
11
+ title: string;
12
+ subtitle?: string;
13
+ body?: string;
14
+ imgUrl?: string;
15
+ id?: string;
16
+ };
17
+ export declare function MenuListItem({ artwork, artworkProps, endEnhancer, label, id, }: MenuListItemProps): import("react/jsx-runtime").JSX.Element;
18
+ export declare function MenuProfileItem({ title, subtitle, body, imgUrl, id, }: MenuProfileItemProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,28 @@
1
+ import { ReactNode } from 'react';
2
+ import { StatefulMenuProps as BaseStatefulMenuProps } from 'baseui/menu';
3
+ import { MenuSize } from './types';
4
+ import { MenuListItemProps, MenuProfileItemProps } from './menu-items';
5
+ export type MenuProps = BaseStatefulMenuProps & {
6
+ id?: string;
7
+ noResultsMsg?: ReactNode;
8
+ size?: MenuSize;
9
+ };
10
+ export declare function Menu({ id, overrides, size, noResultsMsg, ...restProps }: MenuProps): import("react/jsx-runtime").JSX.Element;
11
+ export type ArrayMenuListItems = ReadonlyArray<MenuListItemProps>;
12
+ export type GroupedMenuListItems = {
13
+ __ungrouped: ArrayMenuListItems;
14
+ [x: string]: ArrayMenuListItems;
15
+ };
16
+ export type MenuListProps = Omit<MenuProps, "items"> & {
17
+ items: ArrayMenuListItems | GroupedMenuListItems;
18
+ };
19
+ export declare function MenuList({ overrides, ...restProps }: MenuListProps): import("react/jsx-runtime").JSX.Element;
20
+ export type ArrayMenuProfileItems = ReadonlyArray<MenuProfileItemProps>;
21
+ export type GroupedMenuProfileItems = {
22
+ __ungrouped: ArrayMenuProfileItems;
23
+ [x: string]: ArrayMenuProfileItems;
24
+ };
25
+ export type MenuProfileProps = Omit<MenuProps, "items"> & {
26
+ items: ArrayMenuProfileItems | GroupedMenuProfileItems;
27
+ };
28
+ export declare function MenuProfile({ overrides, ...restProps }: MenuProfileProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export type MenuSize = "small" | "medium" | "large";
@@ -1,2 +1,2 @@
1
1
  export { default as MessageCard } from './message-card';
2
- export type { MessageCardProps } from 'baseui/message-card';
2
+ export type { MessageCardProps } from './message-card';
@@ -1,5 +1,6 @@
1
1
  import { MessageCardProps as MessageCardPropsBaseUi } from 'baseui/message-card';
2
2
  export type MessageCardProps = MessageCardPropsBaseUi & {
3
+ id?: string;
3
4
  isLoading?: boolean;
4
5
  };
5
- export default function MessageCard({ onClick, onDismiss, heading, paragraph, buttonLabel, buttonKind, backgroundColor, backgroundColorType, image, overrides, isLoading, }: MessageCardProps): import("react/jsx-runtime").JSX.Element;
6
+ export default function MessageCard({ onClick, onDismiss, heading, paragraph, buttonLabel, buttonKind, backgroundColor, backgroundColorType, image, overrides, isLoading, id, }: MessageCardProps): import("react/jsx-runtime").JSX.Element;
@@ -6,6 +6,7 @@ type MessageCardOverrides = {
6
6
  backgroundColorType: "light" | "dark";
7
7
  isLoading?: boolean;
8
8
  image: MessageCardProps["image"];
9
+ id?: string;
9
10
  };
10
- export declare function getMessageCardOverrides({ overrides, image, buttonKind, backgroundColor, backgroundColorType, isLoading, }: MessageCardOverrides): import('baseui/helpers/overrides').Overrides<any>;
11
+ export declare function getMessageCardOverrides({ overrides, image, buttonKind, backgroundColor, backgroundColorType, isLoading, id, }: MessageCardOverrides): import('baseui/helpers/overrides').Overrides<any>;
11
12
  export {};
@@ -19,6 +19,8 @@ export declare function ModalSecondaryButtonWrapper({ children }: PropsWithChild
19
19
  export type ModalButtonProps = ComponentProps<typeof BaseModalButton>;
20
20
  export declare function ModalButton({ overrides, ...restProps }: ModalButtonProps): import("react/jsx-runtime").JSX.Element;
21
21
  export declare function ModalClose(props: SharedStylePropsArg): import("react/jsx-runtime").JSX.Element;
22
- export type ModalProps = BaseModalProps;
23
- export declare function Modal({ overrides, ...restProps }: BaseModalProps): import("react/jsx-runtime").JSX.Element;
22
+ export type ModalProps = BaseModalProps & {
23
+ id?: string;
24
+ };
25
+ export declare function Modal({ id, overrides, ...restProps }: ModalProps): import("react/jsx-runtime").JSX.Element;
24
26
  export {};
@@ -1,3 +1,3 @@
1
- export type { RadioProps, RadioGroupProps } from 'baseui/radio';
1
+ export type { RadioGroupProps } from 'baseui/radio';
2
2
  export { RadioGroup } from 'baseui/radio';
3
3
  export * from './radio';
@@ -1,2 +1,5 @@
1
1
  import { RadioProps as BaseRadioProps } from 'baseui/radio';
2
- export declare function Radio({ overrides, ...restProps }: BaseRadioProps): import("react/jsx-runtime").JSX.Element;
2
+ export type RadioProps = BaseRadioProps & {
3
+ id?: string;
4
+ };
5
+ export declare function Radio({ id, overrides, ...restProps }: RadioProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1 @@
1
- export { Segment } from 'baseui/segmented-control';
2
- export type { SegmentProps, SegmentedControlProps, } from 'baseui/segmented-control';
3
1
  export * from './segmented-control';
@@ -1,2 +1,9 @@
1
- import { SegmentedControlProps as BaseSegmentedControlProps } from 'baseui/segmented-control';
2
- export declare function SegmentedControl({ children, disabled, overrides, width, ...restProps }: BaseSegmentedControlProps): import("react/jsx-runtime").JSX.Element;
1
+ import { SegmentProps as BaseSegmentProps, SegmentedControlProps as BaseSegmentedControlProps } from 'baseui/segmented-control';
2
+ export type SegmentProps = BaseSegmentProps & {
3
+ id?: string;
4
+ };
5
+ export type SegmentedControlProps = BaseSegmentedControlProps & {
6
+ id?: string;
7
+ };
8
+ export declare function Segment(props: SegmentProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function SegmentedControl({ children, disabled, overrides, width, id, ...restProps }: SegmentedControlProps): import("react/jsx-runtime").JSX.Element;