@ssa-ui-kit/core 0.0.18-alpha → 0.0.20-alpha
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/AccordionGroup/Accordion.d.ts +1 -1
- package/dist/components/AccordionGroup/AccordionContent.d.ts +1 -1
- package/dist/components/AccordionGroup/types.d.ts +2 -1
- package/dist/components/Popover/hooks/index.d.ts +2 -0
- package/dist/components/Popover/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/AccordionGroup/Accordion.tsx +2 -0
- package/src/components/AccordionGroup/types.ts +2 -1
- package/src/components/Popover/hooks/index.ts +2 -0
- package/src/components/Popover/index.ts +1 -0
- package/tsbuildcache +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AccordionViewProps } from './types';
|
|
2
|
-
export declare const Accordion: ({ title, isOpened, ariaControls, id, size, renderTitle, renderContent, onClick, ...rest }: AccordionViewProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const Accordion: ({ title, isOpened, ariaControls, id, size, contentProps, renderTitle, renderContent, onClick, ...rest }: AccordionViewProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,6 +4,6 @@ export declare const AccordionContent: ({ isOpened, children, size, ...rest }: P
|
|
|
4
4
|
isOpened?: boolean | undefined;
|
|
5
5
|
as?: import("react").ElementType<any> | undefined;
|
|
6
6
|
className?: string | undefined;
|
|
7
|
-
} & {
|
|
7
|
+
} & Record<string, any> & {
|
|
8
8
|
children: React.ReactNode;
|
|
9
9
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -28,7 +28,7 @@ export type RenderContentProps = Pick<AccordionProps, 'id' | 'size'> & Pick<Aria
|
|
|
28
28
|
isOpened?: boolean;
|
|
29
29
|
as?: React.ElementType;
|
|
30
30
|
className?: string;
|
|
31
|
-
}
|
|
31
|
+
} & Record<string, any>;
|
|
32
32
|
export interface AccordionViewProps extends AccordionProps {
|
|
33
33
|
ariaControls?: string;
|
|
34
34
|
isOpened?: boolean;
|
|
@@ -36,6 +36,7 @@ export interface AccordionViewProps extends AccordionProps {
|
|
|
36
36
|
title: string;
|
|
37
37
|
onClick?: () => void;
|
|
38
38
|
children?: React.ReactNode;
|
|
39
|
+
contentProps?: Record<string, any>;
|
|
39
40
|
}
|
|
40
41
|
export interface IAccordionGroupContext {
|
|
41
42
|
openedAccordions: Array<AccordionProps> | [];
|