@veeqo/ui 5.15.2 → 5.16.0
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/components/Accordion/Accordion.d.ts +2 -11
- package/dist/components/Accordion/styled.d.ts +12 -1
- package/dist/components/Accordion/types.d.ts +15 -0
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
import { FC
|
|
2
|
-
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
label: string;
|
|
5
|
-
iconSlot?: ReactElement;
|
|
6
|
-
glyphColor?: string;
|
|
7
|
-
className?: string;
|
|
8
|
-
timeout?: number;
|
|
9
|
-
description?: string;
|
|
10
|
-
shouldOpenOnMount?: boolean;
|
|
11
|
-
}
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { AccordionProps } from './types';
|
|
12
3
|
export declare const Accordion: FC<AccordionProps>;
|
|
@@ -22,4 +22,15 @@ declare const AccordionContent: import("styled-components").StyledComponent<impo
|
|
|
22
22
|
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
23
23
|
}>, any, {}, never>;
|
|
24
24
|
declare const AccordionDetails: import("styled-components").StyledComponent<"details", any, {}, never>;
|
|
25
|
-
|
|
25
|
+
declare const UnstyledAccordionContent: import("styled-components").StyledComponent<import("framer-motion").CustomDomComponent<{
|
|
26
|
+
[x: string]: any;
|
|
27
|
+
[x: number]: any;
|
|
28
|
+
[x: symbol]: any;
|
|
29
|
+
} & {
|
|
30
|
+
theme?: any;
|
|
31
|
+
} & {
|
|
32
|
+
as?: string | import("react").ComponentType<any> | undefined;
|
|
33
|
+
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
34
|
+
}>, any, {}, never>;
|
|
35
|
+
declare const UnstyledAccordionSummary: import("styled-components").StyledComponent<"summary", any, {}, never>;
|
|
36
|
+
export { AccordionSummary, Top, Text, Left, Right, Description, AccordionDetails, AccordionContent, UnstyledAccordionContent, UnstyledAccordionSummary, };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { TextVariant } from '../Text/types';
|
|
3
|
+
export type AccordionProps = {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
label: string;
|
|
6
|
+
iconSlot?: ReactElement;
|
|
7
|
+
glyphColor?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
timeout?: number;
|
|
10
|
+
description?: string;
|
|
11
|
+
shouldOpenOnMount?: boolean;
|
|
12
|
+
variant?: AccordianVariants;
|
|
13
|
+
summaryTextVariant?: TextVariant;
|
|
14
|
+
};
|
|
15
|
+
export type AccordianVariants = 'default' | 'unstyled';
|
|
@@ -5,7 +5,7 @@ export type SelectOption = {
|
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
hidden?: boolean;
|
|
7
7
|
};
|
|
8
|
-
export interface SelectProps {
|
|
8
|
+
export interface SelectProps extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, 'size' | 'onChange'> {
|
|
9
9
|
id?: string;
|
|
10
10
|
className?: string;
|
|
11
11
|
options: Array<SelectOption>;
|