@dexma/ui-components 8.0.6 → 8.0.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.
- package/dist/lib/components/Checkbox/Checkbox.d.ts +5 -1
- package/dist/lib/components/Heading/Heading.d.ts +2 -2
- package/dist/lib/components/Popover/Popover.d.ts +2 -2
- package/dist/lib/components/Table/Table.d.ts +2 -0
- package/dist/lib/styles/Fieldgroup/StyledFieldGroup.d.ts +1 -1
- package/dist/lib/styles/Select/StyledSelect.d.ts +1 -1
- package/dist/ui-components.es.js +1979 -1945
- package/dist/ui-components.umd.js +173 -173
- package/package.json +1 -1
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { CheckboxProps as AntCheckboxProps } from 'antd';
|
|
2
2
|
export type CheckboxProps = {
|
|
3
3
|
dataId?: string;
|
|
4
|
+
onBlur?: React.FocusEventHandler<HTMLInputElement>;
|
|
4
5
|
} & AntCheckboxProps;
|
|
5
|
-
export declare const Checkbox: import('react').ForwardRefExoticComponent<
|
|
6
|
+
export declare const Checkbox: import('react').ForwardRefExoticComponent<{
|
|
7
|
+
dataId?: string;
|
|
8
|
+
onBlur?: React.FocusEventHandler<HTMLInputElement>;
|
|
9
|
+
} & AntCheckboxProps & {
|
|
6
10
|
dataId?: string;
|
|
7
11
|
} & import('react').RefAttributes<unknown>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
type HeadingProps = {
|
|
3
3
|
text: string;
|
|
4
4
|
color?: string;
|
|
5
5
|
type?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
6
6
|
children?: ReactNode;
|
|
7
|
-
}
|
|
7
|
+
} & HTMLAttributes<HTMLDivElement>;
|
|
8
8
|
export declare const Heading: ({ color, type, text, children, ...props }: HeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export default Heading;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { PopoverProps as AntDPopoverProps } from 'antd';
|
|
2
|
-
export declare const Popover: import('react').ForwardRefExoticComponent<AntDPopoverProps & {
|
|
2
|
+
export declare const Popover: import('react').ForwardRefExoticComponent<Omit<AntDPopoverProps & import('react').RefAttributes<any> & {
|
|
3
3
|
dataId?: string;
|
|
4
|
-
} & import('react').RefAttributes<unknown>>;
|
|
4
|
+
}, "ref"> & import('react').RefAttributes<unknown>>;
|
|
@@ -4,6 +4,7 @@ import { AnyObject } from 'antd/lib/_util/type';
|
|
|
4
4
|
export type TableProps<RecordType> = {
|
|
5
5
|
isLoading?: boolean;
|
|
6
6
|
isExpanded?: boolean;
|
|
7
|
+
isPaginated?: boolean;
|
|
7
8
|
showError?: boolean;
|
|
8
9
|
dataId?: string;
|
|
9
10
|
errorContent?: React.ReactNode;
|
|
@@ -18,6 +19,7 @@ export declare const Table: <RecordType extends AnyObject>(props: TableProps<Rec
|
|
|
18
19
|
export declare const buildTableWithDataId: <RecordType extends AnyObject>() => React.ForwardRefExoticComponent<{
|
|
19
20
|
isLoading?: boolean;
|
|
20
21
|
isExpanded?: boolean;
|
|
22
|
+
isPaginated?: boolean;
|
|
21
23
|
showError?: boolean;
|
|
22
24
|
dataId?: string;
|
|
23
25
|
errorContent?: React.ReactNode;
|
|
@@ -180,7 +180,7 @@ export declare const StyledSpanOptionSelected: import('styled-components/dist/ty
|
|
|
180
180
|
icon?: any;
|
|
181
181
|
closable?: any;
|
|
182
182
|
color?: string;
|
|
183
|
-
isSingleSelect?: boolean;
|
|
183
|
+
$isSingleSelect?: boolean;
|
|
184
184
|
}>> & string;
|
|
185
185
|
export declare const StyledSpanOption: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
186
186
|
value: string | null;
|