@movable/ui 4.0.0 → 4.0.1-alpha.0
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/lib/components/index.d.ts +1 -1
- package/lib/index.d.ts +38 -0
- package/lib/index.mjs +6113 -6013
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -24,7 +24,7 @@ export * from './InkTextField';
|
|
|
24
24
|
export * from './InkSelect';
|
|
25
25
|
export { InternalUseOnlyLabel, InternalUseOnlyAlert, } from './InternalUseOnlyIndicators';
|
|
26
26
|
export { InkChart } from './InkChart';
|
|
27
|
-
export { InkCard, type InkCardProps } from './InkCard';
|
|
27
|
+
export { InkCard, type InkCardProps, InkCardHeader, type InkCardHeaderProps, InkCardMedia, type InkCardMediaProps, InkCardContent, type InkCardContentProps, InkCardActions, type InkCardActionsProps, } from './InkCard';
|
|
28
28
|
export { InkGridToolBar } from './InkGridToolBar';
|
|
29
29
|
export { InkDataGrid, InkDataGridEmpty, InkDataGridTextWrapCell, createEmptyColumns, createTextWrapColumn, type InkDataGridProps, type InkDataGridEmptyProps, type InkDataGridTextWrapCellProps, } from './InkDataGrid';
|
|
30
30
|
export { InkHighlightAlert, InkAlert, type InkAlertProps } from './Alert';
|
package/lib/index.d.ts
CHANGED
|
@@ -6,6 +6,10 @@ import { BoxProps } from '@mui/material';
|
|
|
6
6
|
import { BoxProps as BoxProps_2 } from '@mui/material/Box';
|
|
7
7
|
import { ButtonProps } from '@mui/material';
|
|
8
8
|
import { ButtonProps as ButtonProps_2 } from '@mui/material/Button';
|
|
9
|
+
import { CardActionsProps } from '@mui/material';
|
|
10
|
+
import { CardContentProps } from '@mui/material';
|
|
11
|
+
import { CardHeaderProps } from '@mui/material';
|
|
12
|
+
import { CardMediaProps } from '@mui/material';
|
|
9
13
|
import { CardProps } from '@mui/material';
|
|
10
14
|
import type { ChartData } from 'chart.js';
|
|
11
15
|
import type { ChartOptions } from 'chart.js';
|
|
@@ -387,6 +391,40 @@ declare type InkAutocompleteProps<T, Multiple extends boolean | undefined = unde
|
|
|
387
391
|
|
|
388
392
|
export declare function InkCard({ CardMedia, CardHeader, CardContent, CardActions, cardType, checkboxProps, children, ...rest }: InkCardProps): JSX_2.Element;
|
|
389
393
|
|
|
394
|
+
export declare function InkCardActions({ primaryAction, children, ...rest }: InkCardActionsProps): JSX_2.Element | null;
|
|
395
|
+
|
|
396
|
+
export declare interface InkCardActionsProps extends CardActionsProps {
|
|
397
|
+
primaryAction?: ButtonProps & {
|
|
398
|
+
label: ReactNode;
|
|
399
|
+
};
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
export declare function InkCardContent({ description, disabled, children, ...rest }: InkCardContentProps): JSX_2.Element;
|
|
403
|
+
|
|
404
|
+
export declare interface InkCardContentProps extends CardContentProps {
|
|
405
|
+
description?: string;
|
|
406
|
+
disabled?: boolean;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
export declare function InkCardHeader({ checkboxProps, title, avatar, size, subheader, adornment, titleProps, onClose, disabled, ...rest }: InkCardHeaderProps): JSX_2.Element | null;
|
|
410
|
+
|
|
411
|
+
export declare interface InkCardHeaderProps extends CardHeaderProps {
|
|
412
|
+
checkboxProps?: CheckboxProps;
|
|
413
|
+
size?: 'small' | 'medium';
|
|
414
|
+
adornment?: JSX.Element;
|
|
415
|
+
titleProps?: TypographyProps;
|
|
416
|
+
onClose?: () => void;
|
|
417
|
+
disabled?: boolean;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
export declare function InkCardMedia({ mediaContent, image, cardType, disabled, sx, ...rest }: InkCardMediaProps): JSX_2.Element;
|
|
421
|
+
|
|
422
|
+
export declare interface InkCardMediaProps extends CardMediaProps {
|
|
423
|
+
mediaContent?: JSX.Element;
|
|
424
|
+
cardType?: InkCardType;
|
|
425
|
+
disabled?: boolean;
|
|
426
|
+
}
|
|
427
|
+
|
|
390
428
|
export declare type InkCardProps = CardProps & {
|
|
391
429
|
CardMedia?: JSX.Element;
|
|
392
430
|
CardHeader?: JSX.Element;
|