@oc-digital/react-component-library 2.1.7-beta.0 → 2.1.9-beta.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/build/Button/Button.d.ts +0 -5
- package/build/Button/Button.types.d.ts +1 -1
- package/build/ButtonWithConfirm/ButtonWithConfirm.types.d.ts +1 -0
- package/build/DatePicker/DatePicker.types.d.ts +4 -2
- package/build/EditableTable/defaultCells.d.ts +1 -1
- package/build/KeyboardDatePicker/KeyboardDatePicker.types.d.ts +4 -2
- package/build/Select/Select.types.d.ts +1 -1
- package/build/TextField/TextField.types.d.ts +1 -1
- package/build/index.js +29 -19
- package/build/index.js.map +1 -1
- package/build/styles/font.d.ts +1 -1
- package/build/styles/layout.d.ts +1 -1
- package/build/styles/spacing.d.ts +1 -1
- package/build/styles/theme.d.ts +1 -0
- package/package.json +7 -3
- package/build/styles/new_spacing.d.ts +0 -47
package/build/Button/Button.d.ts
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { IButtonProps } from "./Button.types";
|
|
3
|
-
import { Theme } from '@mui/material/styles';
|
|
4
|
-
declare module '@mui/styles/defaultTheme' {
|
|
5
|
-
interface DefaultTheme extends Theme {
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
3
|
declare const Button: React.FC<IButtonProps>;
|
|
9
4
|
export default Button;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { DatePickerProps } from "@
|
|
1
|
+
import { DatePickerProps } from "@mui/x-date-pickers";
|
|
2
2
|
import { IAuthoriserProp } from "../globals";
|
|
3
|
-
|
|
3
|
+
declare type InputDate = any;
|
|
4
|
+
export interface IDatePickerProps extends IAuthoriserProp, DatePickerProps<InputDate, InputDate> {
|
|
4
5
|
styling?: string;
|
|
5
6
|
}
|
|
7
|
+
export {};
|
|
@@ -4,7 +4,7 @@ export declare const TableTextField: React.FC<IEssentialRenderFnProps>;
|
|
|
4
4
|
export declare const tableTextField: (tableProps: ICustomRenderFnProps) => JSX.Element;
|
|
5
5
|
export declare const tableNumericStringField: (tableProps: ICustomRenderFnProps) => JSX.Element;
|
|
6
6
|
export declare const tableNumericStringFixedDecimalField: (tableProps: ICustomRenderFnProps) => JSX.Element;
|
|
7
|
-
export declare const SelectionCheckbox: React.
|
|
7
|
+
export declare const SelectionCheckbox: React.JSXElementConstructor<Omit<import("@mui/material").CheckboxProps, "classes"> & import("@mui/styles/withStyles").StyledComponentProps<"root">>;
|
|
8
8
|
interface ITableDatePicker extends IEssentialRenderFnProps {
|
|
9
9
|
fullDate?: boolean;
|
|
10
10
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DatePickerProps } from "@mui/x-date-pickers";
|
|
2
2
|
import { IAuthoriserProp } from "../globals";
|
|
3
|
-
|
|
3
|
+
declare type InputDate = any;
|
|
4
|
+
export interface IKeyboardDatePickerProps extends IAuthoriserProp, DatePickerProps<InputDate, InputDate> {
|
|
4
5
|
styling?: string;
|
|
5
6
|
}
|
|
7
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OutlinedTextFieldProps } from "@material
|
|
1
|
+
import { OutlinedTextFieldProps } from "@mui/material";
|
|
2
2
|
import { IAuthoriserProp } from "../globals";
|
|
3
3
|
export interface ITextFieldProps extends IAuthoriserProp, Omit<OutlinedTextFieldProps, "variant"> {
|
|
4
4
|
styling?: string;
|