@aurora-ds/components 0.17.13 → 0.17.14

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,10 +1,11 @@
1
+ import { ReactElement } from 'react';
1
2
  export type TabItemProps = {
2
3
  /** Label of the tab */
3
4
  label?: string;
4
5
  /** Start icon of the tab */
5
- startIcon?: string;
6
+ startIcon?: ReactElement;
6
7
  /** End icon of the tab */
7
- endIcon?: string;
8
+ endIcon?: ReactElement;
8
9
  /** Optional value associated with the tab */
9
10
  value?: string | number;
10
11
  /** Whether the tab is active */
@@ -1,10 +1,11 @@
1
+ import { ReactElement } from 'react';
1
2
  export type TabItemProps = {
2
3
  /** Label of the tab */
3
4
  label?: string;
4
5
  /** Start icon of the tab */
5
- startIcon?: string;
6
+ startIcon?: ReactElement;
6
7
  /** End icon of the tab */
7
- endIcon?: string;
8
+ endIcon?: ReactElement;
8
9
  /** Optional value associated with the tab */
9
10
  value?: string | number;
10
11
  /** Whether the tab is active */
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { PropsWithChildren, FC, ReactNode, MouseEvent, CSSProperties, FormEvent, ComponentPropsWithoutRef, RefObject } from 'react';
2
+ import { PropsWithChildren, FC, ReactNode, MouseEvent, CSSProperties, FormEvent, ComponentPropsWithoutRef, ReactElement, RefObject } from 'react';
3
3
  import { Theme } from '@aurora-ds/theme';
4
4
 
5
5
  type IconProps = PropsWithChildren<{
@@ -923,9 +923,9 @@ type TabItemProps = {
923
923
  /** Label of the tab */
924
924
  label?: string;
925
925
  /** Start icon of the tab */
926
- startIcon?: string;
926
+ startIcon?: ReactElement;
927
927
  /** End icon of the tab */
928
- endIcon?: string;
928
+ endIcon?: ReactElement;
929
929
  /** Optional value associated with the tab */
930
930
  value?: string | number;
931
931
  /** Whether the tab is active */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurora-ds/components",
3
- "version": "0.17.13",
3
+ "version": "0.17.14",
4
4
  "type": "module",
5
5
  "description": "Aurora DS - React Components Library",
6
6
  "main": "dist/cjs/index.js",