@dexma/ui-components 8.0.2 → 8.0.4
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/Select/Select.d.ts +2 -0
- package/dist/lib/styles/Select/StyledSelect.d.ts +1 -2
- package/dist/style.css +1 -1
- package/dist/ui-components.es.js +7977 -7955
- package/dist/ui-components.umd.js +288 -288
- package/package.json +1 -1
|
@@ -12,10 +12,12 @@ type Option = {
|
|
|
12
12
|
value: string | number;
|
|
13
13
|
label: string;
|
|
14
14
|
color?: string;
|
|
15
|
+
disabled?: boolean;
|
|
15
16
|
};
|
|
16
17
|
export declare const tagRenderButtonPagination: (props: CustomTagProps, options: Option[], maxTagLength: number, theme: Theme) => ReactElement;
|
|
17
18
|
export declare const dropdownRenderSelect: (menu: React.ReactElement, currentPage: number, options: Option[], handleChangePage: (page: number) => void, handleSelectAll: () => void, text: SelectTextProps, searchValue: string, showDropdown: boolean, mode: string, theme: Theme, pageSize?: number) => import("react/jsx-runtime").JSX.Element;
|
|
18
19
|
export declare const renderUnselectedOption: (option: any, searchValue: string, dataId: string) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare const singleOptionsRenderer: (options: Option[], selectedValue: string | number | undefined, theme: Theme, dataId: string) => import("react/jsx-runtime").JSX.Element;
|
|
19
21
|
export declare const optionsRenderer: (options: Option[], selectedValues: Array<string | number>, searchValue: string, theme: Theme, dataId: string, pageSize?: number) => import("react/jsx-runtime").JSX.Element;
|
|
20
22
|
export type SelectTextProps = {
|
|
21
23
|
select: string;
|
|
@@ -179,8 +179,7 @@ export declare const StyledSpanOptionSelected: import('styled-components/dist/ty
|
|
|
179
179
|
theme: Theme;
|
|
180
180
|
icon?: any;
|
|
181
181
|
closable?: any;
|
|
182
|
-
|
|
183
|
-
value: string;
|
|
182
|
+
color?: string;
|
|
184
183
|
}>> & string;
|
|
185
184
|
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
185
|
value: string | null;
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.custom-select .ant-select-selector{background-color:#f0f2f5;border:2px solid #00B3BC;border-radius:8px}.custom-select .ant-select-selection-item span{color:#00b3bc;font-weight:700}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;clip:rect(0,0,0,0);overflow:hidden}
|
|
1
|
+
.custom-select .ant-select-selector{background-color:#f0f2f5;border:2px solid #00B3BC;border-radius:8px}.custom-select .ant-select-selection-item span{color:#00b3bc;font-weight:700;background-color:#fff}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;clip:rect(0,0,0,0);overflow:hidden}
|