@movable/ui 1.6.5 → 1.7.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.
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
1
+ import { ButtonProps } from '@mui/material';
2
2
  import type { DialogProps } from '@mui/material/Dialog';
3
- export type ActionPropType = {
3
+ export type ActionPropType = Omit<ButtonProps, 'variant'> & {
4
4
  label: string;
5
- onClick: () => void;
6
5
  variant?: 'primary' | 'warning' | 'destructive';
6
+ loading?: boolean;
7
7
  };
8
8
  type ActionsPropType = {
9
9
  primary?: ActionPropType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type HeaderMetadataType = {
3
2
  icon: string | JSX.Element;
4
3
  label: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SxProps, Theme } from '@mui/material';
3
2
  type InkPageHeaderProps = {
4
3
  Breadcrumbs?: JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type InkWorkflowHeaderProps = {
3
2
  label: string;
4
3
  Stepper?: JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AppBarProps } from '@mui/material';
3
2
  export type Position = 'sticky' | 'static';
4
3
  type StickyHeaderProps = Omit<AppBarProps, 'children'> & {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { OverridableComponent } from '@mui/material/OverridableComponent';
3
2
  import { SvgIconTypeMap } from '@mui/material';
4
3
  type EmptyStateIconType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SxProps, Theme, SvgIconTypeMap } from '@mui/material';
3
2
  import { OverridableComponent } from '@mui/material/OverridableComponent';
4
3
  import { VariantType } from './VariantStyles';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type InkEmptyTableProps = {
3
2
  icon?: JSX.Element;
4
3
  title?: string;
@@ -1,3 +1,3 @@
1
1
  export declare const InkSelectTest: ({ helperText }: {
2
- helperText?: string | undefined;
2
+ helperText?: string;
3
3
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ToggleButtonProps } from '@mui/material';
3
2
  type InkToggleIconProps = ToggleButtonProps & {
4
3
  ariaLabel?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ToggleButtonGroupProps } from '@mui/material';
3
2
  export type InkToggleIconGroupProps = ToggleButtonGroupProps & {
4
3
  id: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ToggleButtonGroupProps } from '@mui/material';
3
2
  type InkToggleTextGroupProps = ToggleButtonGroupProps & {
4
3
  id: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PaperProps } from '@mui/material/Paper';
3
2
  export type InkPaperProps = PaperProps & {
4
3
  Header: string | JSX.Element;