@kwantis-id3/frontend-library 0.17.0 → 0.17.2
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/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Button/Button.d.ts +1 -0
- package/dist/esm/types/components/SelectFilter/MultiSelect.d.ts +1 -0
- package/dist/esm/types/components/SelectFilter/SingleSelect.d.ts +1 -0
- package/dist/index.d.ts +3 -0
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ import { Theme } from "@emotion/react";
|
|
|
6
6
|
export type ButtonVariants = "contained" | "outlined" | "text";
|
|
7
7
|
export type ButtonProps = {
|
|
8
8
|
color?: ThemeColorsExtended;
|
|
9
|
+
type?: "button" | "submit" | "reset";
|
|
9
10
|
sx?: Interpolation<Theme>;
|
|
10
11
|
variant?: ButtonVariants;
|
|
11
12
|
onClick?: () => void;
|
|
@@ -18,6 +18,7 @@ export interface MultiSelectProps<Option = {
|
|
|
18
18
|
containerId?: string;
|
|
19
19
|
htmlId?: string;
|
|
20
20
|
className?: string;
|
|
21
|
+
menuPosition?: "fixed" | "absolute";
|
|
21
22
|
required?: boolean;
|
|
22
23
|
}
|
|
23
24
|
export declare const MultiSelect: <Option>(props: MultiSelectProps<Option>) => JSX.Element;
|
|
@@ -18,6 +18,7 @@ export interface SingleSelectProps<Option = {
|
|
|
18
18
|
containerId?: string;
|
|
19
19
|
htmlId?: string;
|
|
20
20
|
className?: string;
|
|
21
|
+
menuPosition?: "fixed" | "absolute";
|
|
21
22
|
required?: boolean;
|
|
22
23
|
}
|
|
23
24
|
export declare const SingleSelect: <Option>(props: SingleSelectProps<Option>) => JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ declare const useThemeContext: () => ThemeProperties;
|
|
|
43
43
|
type ButtonVariants = "contained" | "outlined" | "text";
|
|
44
44
|
type ButtonProps = {
|
|
45
45
|
color?: ThemeColorsExtended;
|
|
46
|
+
type?: "button" | "submit" | "reset";
|
|
46
47
|
sx?: Interpolation<Theme>;
|
|
47
48
|
variant?: ButtonVariants;
|
|
48
49
|
onClick?: () => void;
|
|
@@ -107,6 +108,7 @@ interface SingleSelectProps<Option = {
|
|
|
107
108
|
containerId?: string;
|
|
108
109
|
htmlId?: string;
|
|
109
110
|
className?: string;
|
|
111
|
+
menuPosition?: "fixed" | "absolute";
|
|
110
112
|
required?: boolean;
|
|
111
113
|
}
|
|
112
114
|
declare const SingleSelect: <Option>(props: SingleSelectProps<Option>) => JSX.Element;
|
|
@@ -129,6 +131,7 @@ interface MultiSelectProps<Option = {
|
|
|
129
131
|
containerId?: string;
|
|
130
132
|
htmlId?: string;
|
|
131
133
|
className?: string;
|
|
134
|
+
menuPosition?: "fixed" | "absolute";
|
|
132
135
|
required?: boolean;
|
|
133
136
|
}
|
|
134
137
|
declare const MultiSelect: <Option>(props: MultiSelectProps<Option>) => JSX.Element;
|