@loja-integrada/admin-components 0.18.23 → 0.18.25

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.
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const EyeSlash: () => JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const Rocket: () => JSX.Element;
@@ -73,4 +73,6 @@ export declare const icons: {
73
73
  whatsapp: () => JSX.Element;
74
74
  iconSolidLI: () => JSX.Element;
75
75
  thinAngleRight: () => JSX.Element;
76
+ eyeSlash: () => JSX.Element;
77
+ rocket: () => JSX.Element;
76
78
  };
@@ -8,11 +8,17 @@ declare const badgeTypes: {
8
8
  warning: string;
9
9
  focus: string;
10
10
  };
11
+ declare const badgeRounded: {
12
+ full: string;
13
+ small: string;
14
+ none: string;
15
+ };
11
16
  declare const badgeSizes: {
12
17
  default: string;
13
18
  small: string;
19
+ xsmall: string;
14
20
  };
15
- export declare const Badge: React.MemoExoticComponent<({ type, text, size, expanded, }: BadgeProps) => JSX.Element>;
21
+ export declare const Badge: React.MemoExoticComponent<({ type, text, size, expanded, rounded, }: BadgeProps) => JSX.Element>;
16
22
  export interface BadgeProps {
17
23
  /** Badge color
18
24
  * @default neutral
@@ -30,5 +36,9 @@ export interface BadgeProps {
30
36
  * Enlarge width of the badge
31
37
  * */
32
38
  expanded?: boolean;
39
+ /**
40
+ * Style of rounded corners
41
+ * */
42
+ rounded?: keyof typeof badgeRounded;
33
43
  }
34
44
  export {};
@@ -0,0 +1,42 @@
1
+ import React, { ButtonHTMLAttributes } from 'react';
2
+ import { IconProps } from '../../Icons';
3
+ export interface ListActionsTagProps {
4
+ type: ListActionButtonProps['tagType'];
5
+ text?: string;
6
+ }
7
+ export declare const ListActions: React.MemoExoticComponent<({ actions, isVisible, }: ListActionsProps) => JSX.Element>;
8
+ export interface ListActionsButtons {
9
+ buttons: ListActionButtonProps[];
10
+ }
11
+ export interface ListActionsProps {
12
+ /**
13
+ * Actions of list
14
+ */
15
+ actions: ListActionsButtons[];
16
+ /**
17
+ * Visibility of component
18
+ */
19
+ isVisible?: boolean;
20
+ }
21
+ export interface ListActionButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
22
+ /**
23
+ * Button tag
24
+ */
25
+ tagType?: 'new' | 'sign';
26
+ /**
27
+ * Button tag text
28
+ */
29
+ tagText?: string;
30
+ /**
31
+ * Button icon
32
+ */
33
+ icon: IconProps['icon'];
34
+ /**
35
+ * Button text
36
+ */
37
+ text: string | React.ReactNode;
38
+ /**
39
+ * Button type
40
+ */
41
+ variant?: 'default' | 'danger';
42
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import { ListActionsProps } from '.';
2
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
3
+ export default _default;
4
+ export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ListActionsProps>;
@@ -0,0 +1 @@
1
+ export * from './ListActions';
@@ -2,4 +2,5 @@ export * from './Box';
2
2
  export * from './Sidebar';
3
3
  export * from './Topbar';
4
4
  export * from './ActionBar';
5
+ export * from './ListActions';
5
6
  export * from './Container';