@mci-ui/mci-ui 0.0.82 → 0.0.84
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.css +1 -1
- package/dist/index.es.js +1365 -1283
- package/dist/index.umd.js +2 -2
- package/dist/types/index.d.ts +1 -0
- package/dist/types/shared/types/ui/accordion.types.d.ts +7 -0
- package/dist/types/shared/ui/mciAccordion/MciAccordion.d.ts +22 -0
- package/dist/types/shared/ui/mciInput/mci-input.utils.d.ts +1 -0
- package/dist/types/shared/ui/mciSelect/mci-select.utils.d.ts +1 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export { default as MciBreadcrumb } from './shared/ui/mciBreadcrumb/MciBreadcrum
|
|
|
2
2
|
export { default as MciButton } from './shared/ui/mciButton/MciButton.tsx';
|
|
3
3
|
export { default as MciCheck } from './shared/ui/mciCheck/MciCheck.tsx';
|
|
4
4
|
export { default as MciCollapse } from './shared/ui/mciCollapse/MciCollapse.tsx';
|
|
5
|
+
export { default as MciAccordion } from './shared/ui/mciAccordion/MciAccordion.tsx';
|
|
5
6
|
export { default as MciDrawer } from './shared/ui/mciDrawer/MciDrawer.tsx';
|
|
6
7
|
export { default as MciInput } from './shared/ui/mciInput/MciInput.tsx';
|
|
7
8
|
export { default as MciPicker } from './shared/ui/mciPicker/MciPicker.tsx';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { AccordionProps } from '../../types/ui/accordion.types';
|
|
3
|
+
declare function AccordionTitle({ children, className, }: {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare namespace AccordionTitle {
|
|
8
|
+
var displayName: string;
|
|
9
|
+
}
|
|
10
|
+
declare function AccordionContent({ children, className, }: {
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
className?: string;
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare namespace AccordionContent {
|
|
15
|
+
var displayName: string;
|
|
16
|
+
}
|
|
17
|
+
declare function MciAccordion({ children, defaultValue, icon, className }: AccordionProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare namespace MciAccordion {
|
|
19
|
+
var Title: typeof AccordionTitle;
|
|
20
|
+
var Content: typeof AccordionContent;
|
|
21
|
+
}
|
|
22
|
+
export default MciAccordion;
|
|
@@ -16,4 +16,5 @@ export declare function getInputSizes(hasLeftIcon: boolean, hasRightIcon: boolea
|
|
|
16
16
|
};
|
|
17
17
|
export declare function getInputStateStyles(error?: string): "border-red-600 focus:border-red-600 shadow-red" | "border-slate-200 hover:border-slate-400 focus:shadow-blue focus:border-blue-600";
|
|
18
18
|
export declare function getInputIconColor(disabled: boolean, error: string | undefined, isFocused: boolean): "text-slate-400" | "text-red-600" | "text-black";
|
|
19
|
+
export declare function getInputRightPaddingClass(size: 'sm' | 'md' | 'base', rightControlsCount: number): "" | "pr-14" | "pr-11" | "pr-7" | "pr-16" | "pr-12" | "pr-8" | "pr-20" | "pr-10";
|
|
19
20
|
export {};
|
|
@@ -26,7 +26,7 @@ export declare const SELECT_SIZES: {
|
|
|
26
26
|
readonly container: "h-12 text-base";
|
|
27
27
|
readonly padding: "px-4";
|
|
28
28
|
readonly iconPaddingLeft: "pl-10";
|
|
29
|
-
readonly iconPaddingRight: "
|
|
29
|
+
readonly iconPaddingRight: "pr-10";
|
|
30
30
|
readonly iconSize: "w-5 h-5";
|
|
31
31
|
readonly iconWrapper: "left-4";
|
|
32
32
|
readonly rightIconWrapper: "right-16";
|