@loja-integrada/admin-components 0.19.4 → 0.19.6

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.
@@ -10,5 +10,5 @@ interface TabsItemProps extends TabsItemInterface {
10
10
  */
11
11
  onChange: (arg0: string) => void;
12
12
  }
13
- export declare const TabsItem: ({ id, title, active, disabled, onChange, }: TabsItemProps) => JSX.Element;
13
+ export declare const TabsItem: ({ id, title, titleComplement, active, disabled, onChange, }: TabsItemProps) => JSX.Element;
14
14
  export {};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface TabsItemInterface {
2
3
  /**
3
4
  * Item identification
@@ -7,6 +8,10 @@ export interface TabsItemInterface {
7
8
  * Item visible title
8
9
  */
9
10
  title: string;
11
+ /**
12
+ * Complement to title
13
+ * */
14
+ titleComplement?: string | React.ReactNode;
10
15
  /**
11
16
  * Disabled a specific tab
12
17
  */
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const Table: () => JSX.Element;
@@ -70,6 +70,7 @@ export declare const icons: {
70
70
  shoppingCart: () => JSX.Element;
71
71
  sortDown: () => JSX.Element;
72
72
  sync: () => JSX.Element;
73
+ table: () => JSX.Element;
73
74
  thinAngleRight: () => JSX.Element;
74
75
  times: () => JSX.Element;
75
76
  timesCircle: () => JSX.Element;
@@ -8,7 +8,7 @@ declare const InformationBoxTypes: Record<InformationBoxTypesOptions, {
8
8
  icon: IconProps['icon'];
9
9
  iconClass: string;
10
10
  }>;
11
- export declare const InformationBox: React.MemoExoticComponent<({ type, subtitle, title, }: InformationBoxProps) => JSX.Element>;
11
+ export declare const InformationBox: React.MemoExoticComponent<({ type, title, subtitle, showClose, onClose, }: InformationBoxProps) => JSX.Element | null>;
12
12
  export interface InformationBoxProps {
13
13
  /** InformationBox color
14
14
  * @default info
@@ -22,5 +22,13 @@ export interface InformationBoxProps {
22
22
  * InformationBox text below title
23
23
  */
24
24
  subtitle?: string | React.ReactNode;
25
+ /** Show close button
26
+ * @default false
27
+ */
28
+ showClose?: boolean;
29
+ /**
30
+ * Function to close InformationBox (also activate `showClose`)
31
+ */
32
+ onClose?: () => void;
25
33
  }
26
34
  export {};