@movable/ui 2.0.3-alpha.0 → 2.2.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/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { AlertProps } from '@mui/material/Alert';
2
2
  import { BoxProps } from '@mui/material';
3
+ import { BoxProps as BoxProps_2 } from '@mui/material/Box';
3
4
  import { ButtonProps } from '@mui/material';
4
5
  import { ButtonProps as ButtonProps_2 } from '@mui/material/Button';
5
6
  import { ChipProps } from '@mui/material';
@@ -13,6 +14,10 @@ import { ForwardRefExoticComponent } from 'react';
13
14
  import { GridProps } from '@mui/material/Grid';
14
15
  import { JSX as JSX_2 } from 'react/jsx-runtime';
15
16
  import { LinkProps } from '@mui/material';
17
+ import { ListItemIconProps } from '@mui/material/ListItemIcon';
18
+ import { ListItemProps } from '@mui/material/ListItem';
19
+ import { ListItemTextProps } from '@mui/material/ListItemText';
20
+ import { ListProps } from '@mui/material/List';
16
21
  import { MenuItemProps } from '@mui/material';
17
22
  import { MenuProps } from '@mui/material';
18
23
  import { OverridableComponent } from '@mui/material/OverridableComponent';
@@ -116,6 +121,20 @@ declare type IFilterDrawer = DrawerProps & {
116
121
  mainProps?: BoxProps;
117
122
  };
118
123
 
124
+ export declare function InkAttributeList({ label, attributes, ...listProps }: InkAttributeListProps): JSX_2.Element;
125
+
126
+ declare type InkAttributeListProps = ListProps & {
127
+ label: string;
128
+ attributes: InkAttributeProps[];
129
+ };
130
+
131
+ declare type InkAttributeProps = ListItemTextProps & {
132
+ listItemProps?: ListItemProps;
133
+ listItemIconProps?: ListItemIconProps & {
134
+ adornment: 'start' | 'end';
135
+ };
136
+ };
137
+
119
138
  export declare function InkChip({ maxWidth, chipProps, size, }: InkChipPropType): JSX_2.Element;
120
139
 
121
140
  export declare function InkChipGroup({ chipList, numTagsToDisplay, size, maxChipWidth, }: InkChipGroupProps): JSX_2.Element;
@@ -181,6 +200,15 @@ export declare function InkFormSelect<TFieldValues extends FieldValues, TName ex
181
200
 
182
201
  declare type InkFormSelectProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> = InkSelectProps & UseControllerProps<TFieldValues, TName>;
183
202
 
203
+ export declare function InkImage({ src, alt, sx, imageSx, fallbackText, ...rest }: InkImageProps): JSX_2.Element;
204
+
205
+ declare type InkImageProps = BoxProps_2 & {
206
+ src: string;
207
+ alt?: string;
208
+ imageSx?: BoxProps_2['sx'];
209
+ fallbackText?: string;
210
+ };
211
+
184
212
  export declare function InkPageHeader({ Breadcrumbs, Subtitle, Metadata, Chips, ButtonGroup, Tabs, sx, }: InkPageHeaderProps): JSX_2.Element;
185
213
 
186
214
  declare type InkPageHeaderProps = {