@ama-pt/agora-design-system 2.2.7 → 2.2.8

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.
@@ -2,7 +2,7 @@ import React, { ComponentPropsWithRef, ForwardRefRenderFunction, ReactElement }
2
2
  import { BooleanProp } from '../../models';
3
3
  import { AccordionProps } from '../../components/accordion';
4
4
  import './accordion-group.scss';
5
- export interface AccordionGroupProps extends ComponentPropsWithRef<'div'> {
5
+ export interface AccordionGroupProps extends ComponentPropsWithRef<'ul'> {
6
6
  /**
7
7
  * List of accordion components to use as children of the group.
8
8
  */
@@ -12,5 +12,5 @@ export interface AccordionGroupProps extends ComponentPropsWithRef<'div'> {
12
12
  */
13
13
  darkMode?: BooleanProp;
14
14
  }
15
- export declare const InnerAccordionGroup: ForwardRefRenderFunction<HTMLDivElement, AccordionGroupProps>;
16
- export declare const AccordionGroup: React.ForwardRefExoticComponent<Omit<AccordionGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
15
+ export declare const InnerAccordionGroup: ForwardRefRenderFunction<HTMLUListElement, AccordionGroupProps>;
16
+ export declare const AccordionGroup: React.ForwardRefExoticComponent<Omit<AccordionGroupProps, "ref"> & React.RefAttributes<HTMLUListElement>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ama-pt/agora-design-system",
3
3
  "description": "Ágora Design system",
4
- "version": "2.2.7",
4
+ "version": "2.2.8",
5
5
  "main": "artifacts/dist/index.mjs",
6
6
  "module": "artifacts/dist/index.umd.js",
7
7
  "files": [