@ukpc-lib/react 0.1.21 → 0.1.22

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.
@@ -0,0 +1,4 @@
1
+ import { CheckboxProps, SvgIconProps } from '@mui/material';
2
+ export declare function UncheckedIcon(props: SvgIconProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare function CheckedIcon(props: SvgIconProps): import("react/jsx-runtime").JSX.Element;
4
+ export default function BaseCheckbox(props: CheckboxProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { FormControlLabelProps, SwitchProps } from '@mui/material';
2
+ import { ReactNode } from 'react';
3
+ type Props = {
4
+ formProps?: Partial<FormControlLabelProps>;
5
+ iosSwitchProps?: SwitchProps;
6
+ label?: ReactNode;
7
+ };
8
+ export default function BaseSwitch(props: Props): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,4 @@
1
+ import { SVGProps } from 'react';
2
+ type Props = SVGProps<SVGSVGElement>;
3
+ export default function FilterIcon(props: Props): import("react/jsx-runtime").JSX.Element;
4
+ export {};
@@ -0,0 +1,9 @@
1
+ import { PropsWithChildren } from 'react';
2
+ type FilterWrapperProps = PropsWithChildren<{
3
+ onReset?(): void;
4
+ customAction?: React.ReactNode;
5
+ title: string;
6
+ resetBtnText: string;
7
+ }>;
8
+ export default function FilterWrapper(props: FilterWrapperProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,4 @@
1
+ import { IconButtonProps } from '@mui/material';
2
+ type Props = IconButtonProps;
3
+ declare const BaseIconButton: (props: Props) => import("react/jsx-runtime").JSX.Element;
4
+ export default BaseIconButton;
@@ -0,0 +1,5 @@
1
+ type Props = {
2
+ label: string;
3
+ };
4
+ declare const RequiredLabel: (props: Props) => import("react/jsx-runtime").JSX.Element;
5
+ export default RequiredLabel;
@@ -0,0 +1,12 @@
1
+ import { ReactNode } from 'react';
2
+ export type SearchTypeProps<T> = {
3
+ listData: T[];
4
+ value?: T;
5
+ keyEqual: keyof T;
6
+ keyLabel: keyof T;
7
+ handleChange: (val: T) => void;
8
+ label?: string;
9
+ minWidth?: any;
10
+ startAdornment?: ReactNode;
11
+ };
12
+ export default function SearchTypeSelect<T>(props: SearchTypeProps<T>): import("react/jsx-runtime").JSX.Element;