@dexma/ui-components 7.0.1 → 7.1.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.
- package/dist/index.d.ts +1 -0
- package/dist/lib/components/Alert/Alert.d.ts +0 -1
- package/dist/lib/components/Button/Button.d.ts +2 -3
- package/dist/lib/components/Card/Card.d.ts +0 -1
- package/dist/lib/components/Cascader/Cascader.d.ts +1 -2
- package/dist/lib/components/Cell/Cell.d.ts +0 -1
- package/dist/lib/components/Chart/Chart.d.ts +2 -3
- package/dist/lib/components/Chart/types.d.ts +0 -1
- package/dist/lib/components/Checkbox/Checkbox.d.ts +2 -3
- package/dist/lib/components/ColorPicker/ColorPicker.d.ts +2 -3
- package/dist/lib/components/DataId/DataIdProvider.d.ts +0 -1
- package/dist/lib/components/DataId/withDataId.d.ts +1 -2
- package/dist/lib/components/DatePicker/DatePicker.d.ts +4 -5
- package/dist/lib/components/DatePicker/datePickerUtils.d.ts +0 -1
- package/dist/lib/components/Divider/Divider.d.ts +0 -1
- package/dist/lib/components/Dropdown/Dropdown.d.ts +0 -1
- package/dist/lib/components/FieldGroup/FieldGroup.d.ts +6 -7
- package/dist/lib/components/FormControl/FormControl.d.ts +2 -3
- package/dist/lib/components/Gauge/Gauge.d.ts +0 -1
- package/dist/lib/components/Grid/Grid.d.ts +0 -1
- package/dist/lib/components/Heading/Heading.d.ts +0 -1
- package/dist/lib/components/Icon/Icon.d.ts +0 -1
- package/dist/lib/components/Input/Input.d.ts +3 -4
- package/dist/lib/components/Loading/Loading.d.ts +2 -3
- package/dist/lib/components/Modal/Modal.d.ts +0 -1
- package/dist/lib/components/Pagination/Pagination.d.ts +0 -1
- package/dist/lib/components/Paragraph/Paragraph.d.ts +0 -1
- package/dist/lib/components/Popover/Popover.d.ts +2 -3
- package/dist/lib/components/Result/Result.d.ts +0 -1
- package/dist/lib/components/Row/Row.d.ts +0 -1
- package/dist/lib/components/Section/Section.d.ts +2 -3
- package/dist/lib/components/Select/ButtonPaginationSelector.d.ts +0 -1
- package/dist/lib/components/Select/Select.d.ts +3 -4
- package/dist/lib/components/Select/selectUtils.d.ts +0 -1
- package/dist/lib/components/Switch/Switch.d.ts +3 -4
- package/dist/lib/components/SwitchPeriodComparative/SwitchPeriodComparative.d.ts +0 -1
- package/dist/lib/components/Table/Table.d.ts +12 -8
- package/dist/lib/components/Tabs/Tabs.d.ts +0 -1
- package/dist/lib/components/Tag/Tag.d.ts +3 -4
- package/dist/lib/components/TagGroup/TagGroup.d.ts +0 -1
- package/dist/lib/components/Theme/Theme.d.ts +0 -1
- package/dist/lib/components/Toaster/Toaster.d.ts +0 -1
- package/dist/lib/components/Toaster/ToasterContext.d.ts +0 -1
- package/dist/lib/components/Tooltip/Tooltip.d.ts +0 -1
- package/dist/lib/index.d.ts +0 -1
- package/dist/lib/styles/Alert/StyledAlert.d.ts +0 -1
- package/dist/lib/styles/Button/StyledButton.d.ts +0 -1
- package/dist/lib/styles/Card/StyledCard.d.ts +0 -1
- package/dist/lib/styles/Cascader/StyledCascader.d.ts +0 -1
- package/dist/lib/styles/Cell/StyledCell.d.ts +0 -1
- package/dist/lib/styles/ColorPicker/StyledColorPicker.d.ts +6 -7
- package/dist/lib/styles/DatePicker/StyledDatePicker.d.ts +5 -3
- package/dist/lib/styles/Divider/StyledDivider.d.ts +0 -1
- package/dist/lib/styles/Dots/StyledDots.d.ts +0 -1
- package/dist/lib/styles/Dropdown/StyledDropdown.d.ts +8 -8
- package/dist/lib/styles/Fieldgroup/StyledFieldGroup.d.ts +0 -1
- package/dist/lib/styles/Grid/StyledGrid.d.ts +0 -1
- package/dist/lib/styles/Heading/StyledHeading.d.ts +0 -1
- package/dist/lib/styles/Input/StyledInput.d.ts +0 -1
- package/dist/lib/styles/Modal/StyledModal.d.ts +1 -2
- package/dist/lib/styles/Pagination/StyledPagination.d.ts +0 -1
- package/dist/lib/styles/Paragraph/StyledParagraph.d.ts +0 -1
- package/dist/lib/styles/Progress/StyledProgress.d.ts +0 -1
- package/dist/lib/styles/Result/StyledResult.d.ts +0 -1
- package/dist/lib/styles/Row/StyledRow.d.ts +0 -1
- package/dist/lib/styles/Select/StyledSelect.d.ts +4 -5
- package/dist/lib/styles/Spinner/StyledSpinner.d.ts +0 -1
- package/dist/lib/styles/SwitchPeriodComparative/StyledSwitchPeriodComparative.d.ts +0 -1
- package/dist/lib/styles/Table/StyledTable.d.ts +0 -1
- package/dist/lib/styles/Tabs/StyledTabs.d.ts +0 -1
- package/dist/lib/styles/Tag/StyledTag.d.ts +0 -1
- package/dist/lib/styles/TagGroup/StyledTagGroup.d.ts +0 -1
- package/dist/lib/utils/dates.d.ts +0 -1
- package/dist/lib/utils/selectors.d.ts +0 -1
- package/dist/lib/utils/theme.d.ts +0 -1
- package/dist/ui-components.es.js +34656 -33925
- package/dist/ui-components.umd.js +721 -719
- package/package.json +4 -4
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { AntdDatePickerProps, AntdRangePickerProps } from '../../components/DatePicker';
|
|
2
|
-
|
|
3
2
|
declare const StyledAntdDatePicker: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<((import('antd/es/date-picker/generatePicker').PickerProps<import('dayjs').Dayjs> & {
|
|
4
|
-
status?: "" | "
|
|
3
|
+
status?: "" | "error" | "warning" | undefined;
|
|
5
4
|
hashId?: string | undefined;
|
|
6
5
|
popupClassName?: string | undefined;
|
|
7
6
|
rootClassName?: string | undefined;
|
|
8
7
|
}) & import('react').RefAttributes<import('react').Component<import('antd/es/date-picker/generatePicker').PickerProps<import('dayjs').Dayjs> & {
|
|
9
|
-
status?: "" | "
|
|
8
|
+
status?: "" | "error" | "warning" | undefined;
|
|
10
9
|
hashId?: string | undefined;
|
|
11
10
|
popupClassName?: string | undefined;
|
|
12
11
|
rootClassName?: string | undefined;
|
|
@@ -14,12 +13,15 @@ declare const StyledAntdDatePicker: import('styled-components/dist/types').IStyl
|
|
|
14
13
|
declare const StyledAntdRangePicker: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<((import('antd/es/date-picker/generatePicker').RangePickerProps<import('dayjs').Dayjs> & {
|
|
15
14
|
dropdownClassName?: string | undefined;
|
|
16
15
|
popupClassName?: string | undefined;
|
|
16
|
+
rootClassName?: string | undefined;
|
|
17
17
|
}) & import('react').RefAttributes<import('react').Component<import('antd/es/date-picker/generatePicker').RangePickerProps<import('dayjs').Dayjs> & {
|
|
18
18
|
dropdownClassName?: string | undefined;
|
|
19
19
|
popupClassName?: string | undefined;
|
|
20
|
+
rootClassName?: string | undefined;
|
|
20
21
|
}, unknown, any>>) & import('styled-components/dist/types').BaseObject, AntdRangePickerProps>> & string & Omit<import('antd/es/date-picker/generatePicker/interface').PickerComponentClass<import('antd/es/date-picker/generatePicker').RangePickerProps<import('dayjs').Dayjs> & {
|
|
21
22
|
dropdownClassName?: string | undefined;
|
|
22
23
|
popupClassName?: string | undefined;
|
|
24
|
+
rootClassName?: string | undefined;
|
|
23
25
|
}, unknown>, keyof import('react').Component<any, {}, any>>;
|
|
24
26
|
declare const DropdownDatePickerStyles: import('react').NamedExoticComponent<import('styled-components').ExecutionProps & object>;
|
|
25
27
|
export { StyledAntdDatePicker, StyledAntdRangePicker, DropdownDatePickerStyles };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Theme } from '../../utils/theme';
|
|
2
|
-
|
|
3
2
|
declare const StyledDivider: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHRElement>, HTMLHRElement>, {
|
|
4
3
|
$vertical?: boolean;
|
|
5
4
|
theme: Theme;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Theme } from '../../utils/theme';
|
|
2
|
-
|
|
3
2
|
declare const StyledDot: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
3
|
theme: Theme;
|
|
5
4
|
size: number;
|
|
@@ -17,9 +17,9 @@ export declare const StyledDropdownInnerButton: import('styled-components/dist/t
|
|
|
17
17
|
children?: import('react').ReactNode;
|
|
18
18
|
dataId?: string;
|
|
19
19
|
'data-testid'?: string;
|
|
20
|
-
} & import('react').ButtonHTMLAttributes<HTMLButtonElement
|
|
20
|
+
} & import('react').ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement> & {
|
|
21
21
|
dataId?: string;
|
|
22
|
-
}> & import('react').RefAttributes<unknown>, "ref"> & {
|
|
22
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> & {
|
|
23
23
|
ref?: ((instance: unknown) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<unknown> | null | undefined;
|
|
24
24
|
}, never>> & string & Omit<import('react').ForwardRefExoticComponent<Omit<{
|
|
25
25
|
text?: string;
|
|
@@ -39,9 +39,9 @@ export declare const StyledDropdownInnerButton: import('styled-components/dist/t
|
|
|
39
39
|
children?: import('react').ReactNode;
|
|
40
40
|
dataId?: string;
|
|
41
41
|
'data-testid'?: string;
|
|
42
|
-
} & import('react').ButtonHTMLAttributes<HTMLButtonElement
|
|
42
|
+
} & import('react').ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement> & {
|
|
43
43
|
dataId?: string;
|
|
44
|
-
}> & import('react').RefAttributes<unknown>>, keyof import('react').Component<any, {}, any>>;
|
|
44
|
+
}, "ref"> & import('react').RefAttributes<unknown>>, keyof import('react').Component<any, {}, any>>;
|
|
45
45
|
export declare const StyledDropdownButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<Omit<{
|
|
46
46
|
text?: string;
|
|
47
47
|
size?: string | import('../../components/index.ts').ButtonSize;
|
|
@@ -60,9 +60,9 @@ export declare const StyledDropdownButton: import('styled-components/dist/types'
|
|
|
60
60
|
children?: import('react').ReactNode;
|
|
61
61
|
dataId?: string;
|
|
62
62
|
'data-testid'?: string;
|
|
63
|
-
} & import('react').ButtonHTMLAttributes<HTMLButtonElement
|
|
63
|
+
} & import('react').ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement> & {
|
|
64
64
|
dataId?: string;
|
|
65
|
-
}> & import('react').RefAttributes<unknown>, "ref"> & {
|
|
65
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> & {
|
|
66
66
|
ref?: ((instance: unknown) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<unknown> | null | undefined;
|
|
67
67
|
}, never>> & string & Omit<import('react').ForwardRefExoticComponent<Omit<{
|
|
68
68
|
text?: string;
|
|
@@ -82,7 +82,7 @@ export declare const StyledDropdownButton: import('styled-components/dist/types'
|
|
|
82
82
|
children?: import('react').ReactNode;
|
|
83
83
|
dataId?: string;
|
|
84
84
|
'data-testid'?: string;
|
|
85
|
-
} & import('react').ButtonHTMLAttributes<HTMLButtonElement
|
|
85
|
+
} & import('react').ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement> & {
|
|
86
86
|
dataId?: string;
|
|
87
|
-
}> & import('react').RefAttributes<unknown>>, keyof import('react').Component<any, {}, any>>;
|
|
87
|
+
}, "ref"> & import('react').RefAttributes<unknown>>, keyof import('react').Component<any, {}, any>>;
|
|
88
88
|
export { StyledGlobalDropdown };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Theme } from '../../utils/theme';
|
|
2
2
|
import { FieldGroupType } from '../../components/FieldGroup';
|
|
3
|
-
|
|
4
3
|
export declare const getSplitVariant: (props: StyledFieldGroupProps) => import('styled-components').RuleSet<object>;
|
|
5
4
|
export declare const getCustomVariant: (props: StyledFieldGroupProps) => import('styled-components').RuleSet<object>;
|
|
6
5
|
export declare const getVertical: () => import('styled-components').RuleSet<object>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Theme } from '../../utils/theme';
|
|
2
|
-
|
|
3
2
|
declare const StyledGrid: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
3
|
$fluid?: boolean;
|
|
5
4
|
theme: Theme;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Theme } from '../../utils/theme';
|
|
2
|
-
|
|
3
2
|
declare const StyledHeading: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
3
|
as: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
5
4
|
$color: string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Theme } from '../../utils/theme';
|
|
2
|
-
|
|
3
2
|
export declare const getLoading: (props: any) => import('styled-components').RuleSet<object>;
|
|
4
3
|
export declare const getIcon: (props: any) => import('styled-components').RuleSet<object>;
|
|
5
4
|
declare const StyledInput: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ModalProps as AntDModalProps } from 'antd';
|
|
2
2
|
import { Theme } from '../../utils/theme';
|
|
3
|
-
|
|
4
3
|
type ModalProps = AntDModalProps & {
|
|
5
4
|
theme: Theme;
|
|
6
5
|
};
|
|
@@ -8,7 +7,7 @@ declare const StyledModal: import('styled-components/dist/types').IStyledCompone
|
|
|
8
7
|
useModal: typeof import('antd/es/modal/useModal').default;
|
|
9
8
|
destroyAll: () => void;
|
|
10
9
|
config: typeof import('antd/es/modal/confirm').modalGlobalConfig;
|
|
11
|
-
_InternalPanelDoNotUseOrYouWillBeFired:
|
|
10
|
+
_InternalPanelDoNotUseOrYouWillBeFired: (props: any) => React.JSX.Element;
|
|
12
11
|
}, keyof import('react').Component<any, {}, any>>;
|
|
13
12
|
declare const StyledModalGlobal: import('react').NamedExoticComponent<import('styled-components').ExecutionProps & object>;
|
|
14
13
|
export { StyledModal, StyledModalGlobal };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Theme } from '../../utils/theme';
|
|
2
|
-
|
|
3
2
|
export declare const getStyledPagination: (theme: Theme) => import('styled-components').RuleSet<object>;
|
|
4
3
|
declare const StyledPagination: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
5
4
|
theme: Theme;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Theme } from '../../utils/theme';
|
|
2
|
-
|
|
3
2
|
declare const StyledParagraph: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
3
|
$margin: string;
|
|
5
4
|
color: string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Theme } from '../../utils/theme';
|
|
2
|
-
|
|
3
2
|
declare const StyledProgress: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
3
|
theme: Theme;
|
|
5
4
|
$percent: number;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Theme } from '../../utils/theme';
|
|
2
|
-
|
|
3
2
|
declare const StyledRow: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
3
|
$reverse?: boolean;
|
|
5
4
|
$alignItems?: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DefaultTheme } from 'styled-components';
|
|
2
2
|
import { Theme } from '../../utils/theme';
|
|
3
|
-
|
|
4
3
|
export declare const hexToRGBA: (hex: string, a: number) => string;
|
|
5
4
|
export declare const StyledPaginationPageWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<{
|
|
6
5
|
xs?: number;
|
|
@@ -55,9 +54,9 @@ export declare const StyledButtonSelectAll: import('styled-components/dist/types
|
|
|
55
54
|
children?: import('react').ReactNode;
|
|
56
55
|
dataId?: string;
|
|
57
56
|
'data-testid'?: string;
|
|
58
|
-
} & import('react').ButtonHTMLAttributes<HTMLButtonElement
|
|
57
|
+
} & import('react').ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement> & {
|
|
59
58
|
dataId?: string;
|
|
60
|
-
}> & import('react').RefAttributes<unknown>, "ref"> & {
|
|
59
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> & {
|
|
61
60
|
ref?: ((instance: unknown) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<unknown> | null | undefined;
|
|
62
61
|
}, never>> & string & Omit<import('react').ForwardRefExoticComponent<Omit<{
|
|
63
62
|
text?: string;
|
|
@@ -77,9 +76,9 @@ export declare const StyledButtonSelectAll: import('styled-components/dist/types
|
|
|
77
76
|
children?: import('react').ReactNode;
|
|
78
77
|
dataId?: string;
|
|
79
78
|
'data-testid'?: string;
|
|
80
|
-
} & import('react').ButtonHTMLAttributes<HTMLButtonElement
|
|
79
|
+
} & import('react').ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement> & {
|
|
81
80
|
dataId?: string;
|
|
82
|
-
}> & import('react').RefAttributes<unknown>>, keyof import('react').Component<any, {}, any>>;
|
|
81
|
+
}, "ref"> & import('react').RefAttributes<unknown>>, keyof import('react').Component<any, {}, any>>;
|
|
83
82
|
export declare const StyledPaginationSelector: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
84
83
|
export declare const StyledSelectDropdown: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
85
84
|
export declare const StyledSpanOptionSelected: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Theme } from '../../utils/theme';
|
|
2
|
-
|
|
3
2
|
export declare const getTagPrimary: (props: StyledTagProps) => import('styled-components').RuleSet<object>;
|
|
4
3
|
export declare const getTagOutline: (props: StyledTagProps) => import('styled-components').RuleSet<object>;
|
|
5
4
|
type StyledTagProps = {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Theme } from '../../utils/theme';
|
|
2
|
-
|
|
3
2
|
declare const StyledTagGroup: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
3
|
theme: Theme;
|
|
5
4
|
}>> & string;
|