@veeqo/ui 5.15.3 → 5.16.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.
@@ -1,12 +1,3 @@
1
- import { FC, ReactNode, ReactElement } from 'react';
2
- export interface AccordionProps {
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
- export { AccordionSummary, Top, Text, Left, Right, Description, AccordionDetails, AccordionContent, };
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';