oziko-ui-kit 0.0.27 → 0.0.29

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 from "react";
2
2
  import { TypeFluidContainer } from "../../atoms/fluid-container/FluidContainer";
3
3
  import { TypeFlexElement } from "../../atoms/flex-element/FlexElement";
4
4
  export type TypeAccordionItem = {
5
- title: string;
5
+ title: React.ReactNode;
6
6
  content: React.ReactNode;
7
7
  icon?: React.ReactNode;
8
8
  className?: string;
@@ -19,6 +19,7 @@ export type TypeAccordionGroup = TypeFlexElement & {
19
19
  headerClassName?: string;
20
20
  suffixOnHover?: boolean;
21
21
  noBackgroundOnFocus?: boolean;
22
+ disableSuffixIcon?: boolean;
22
23
  };
23
24
  declare const _default: React.NamedExoticComponent<TypeAccordionGroup>;
24
25
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { IconName } from "../../../utils/iconList";
2
2
  export type TypeAccordionElement = {
3
- title: string;
3
+ title: React.ReactNode;
4
4
  children: React.ReactNode;
5
5
  icon?: React.ReactNode | IconName;
6
6
  isOpen: boolean;
@@ -12,6 +12,7 @@ export type TypeAccordionElement = {
12
12
  suffixOnHover?: boolean;
13
13
  noBackgroundOnFocus?: boolean;
14
14
  onClick: () => void;
15
+ disableSuffixIcon?: boolean;
15
16
  };
16
17
  declare const _default: import("react").NamedExoticComponent<TypeAccordionElement>;
17
18
  export default _default;
@@ -2,11 +2,10 @@ import React from "react";
2
2
  import { TypeFlexElement } from "../../atoms/flex-element/FlexElement";
3
3
  export type TypeMenuGroup = {
4
4
  options?: Record<string, {
5
- label: string;
5
+ label?: string;
6
6
  value?: React.ReactNode;
7
7
  }>;
8
8
  showDivider?: boolean;
9
- showTitle?: boolean;
10
9
  } & TypeFlexElement;
11
10
  declare const _default: React.NamedExoticComponent<TypeMenuGroup>;
12
11
  export default _default;