@majoo-ui/react 1.52.6 → 1.52.8

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.
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import type * as Stitches from '@stitches/react';
3
3
  import { CSS } from '../../config/stitches.config';
4
4
  export declare const ButtonPrimitive: import("@stitches/react/types/styled-component").StyledComponent<"button", {
5
- buttonType?: "primary" | "secondary" | "ghost" | "negative" | "negative-secondary" | "headerMenu" | "tableMenu" | undefined;
5
+ buttonType?: "primary" | "secondary" | "ghost" | "negative" | "negative-secondary" | "negative-ghost" | "headerMenu" | "tableMenu" | undefined;
6
6
  size?: "sm" | "md" | "lg" | "xs" | undefined;
7
7
  iconSize?: "sm" | "md" | "lg" | "xs" | undefined;
8
8
  }, {
@@ -129,7 +129,7 @@ interface AdditionalButtonProps extends React.ComponentPropsWithoutRef<'button'>
129
129
  css?: CSS;
130
130
  }
131
131
  export declare const Button: React.ForwardRefExoticComponent<import("@stitches/react/types/styled-component").TransformProps<{
132
- buttonType?: "primary" | "secondary" | "ghost" | "negative" | "negative-secondary" | "headerMenu" | "tableMenu" | undefined;
132
+ buttonType?: "primary" | "secondary" | "ghost" | "negative" | "negative-secondary" | "negative-ghost" | "headerMenu" | "tableMenu" | undefined;
133
133
  size?: "sm" | "md" | "lg" | "xs" | undefined;
134
134
  iconSize?: "sm" | "md" | "lg" | "xs" | undefined;
135
135
  }, {
@@ -63,6 +63,13 @@ export interface InputDatePickerProps {
63
63
  * Specify the maximum date.
64
64
  */
65
65
  maxDate?: Date;
66
+ /**
67
+ * Additional css styles.
68
+ */
66
69
  css?: CSS;
70
+ /**
71
+ * Invalid state input.
72
+ */
73
+ isInvalid?: boolean;
67
74
  }
68
- export declare function InputDatePicker({ type, placeholder, size, disabled, onChange, defaultValue: defaultDateValue, value: dateValue, defaultDate, date, advanceView, placement, css, showTimePicker, minDate, maxDate, readOnly, }: InputDatePickerProps): JSX.Element;
75
+ export declare function InputDatePicker({ type, placeholder, size, disabled, onChange, defaultValue: defaultDateValue, value: dateValue, defaultDate, date, advanceView, placement, css, showTimePicker, minDate, maxDate, readOnly, isInvalid, }: InputDatePickerProps): JSX.Element;
@@ -5,6 +5,7 @@ interface EditableMobileProps<Data extends object> {
5
5
  data: Data[];
6
6
  instance: UseTableHooks;
7
7
  emptyDataMessage?: string;
8
+ showCheckbox?: boolean;
8
9
  }
9
10
  export default function EditableTableMobile(props: EditableMobileProps<any>): JSX.Element;
10
11
  export {};
@@ -4,6 +4,7 @@ export interface IResource {
4
4
  value: string;
5
5
  label: string;
6
6
  variants?: string[];
7
+ description?: string;
7
8
  }
8
9
  interface IInputResourceListProps {
9
10
  data: IResource[];
@@ -21,6 +22,7 @@ interface IInputResourceListProps {
21
22
  }): void;
22
23
  onQueryChange?(query: string): void;
23
24
  css?: Stitches.CSS;
25
+ defaultSort?: 'asc' | 'desc';
24
26
  }
25
- declare function InputResourceList({ data, disabled, onItemCheck, onItemUncheck, searchPlaceholder, counterFooterText, isLoading, enabledItems, value, fetchData, onQueryChange, css, }: IInputResourceListProps): JSX.Element;
27
+ declare function InputResourceList({ data, disabled, onItemCheck, onItemUncheck, searchPlaceholder, counterFooterText, isLoading, enabledItems, value, fetchData, onQueryChange, css, defaultSort, }: IInputResourceListProps): JSX.Element;
26
28
  export default InputResourceList;