@ballistix.digital/react-components 0.4.10 → 0.4.12
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.
- package/dist/index.d.ts +30 -30
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ declare const base$i: {
|
|
|
18
18
|
};
|
|
19
19
|
type TAvatarElementStyles = DeepPartial$1<typeof base$i>;
|
|
20
20
|
|
|
21
|
-
type TProps$
|
|
21
|
+
type TProps$f = {
|
|
22
22
|
src?: string | undefined;
|
|
23
23
|
placeholder?: string | undefined;
|
|
24
24
|
children?: ReactNode | ReactNode[] | string;
|
|
@@ -30,7 +30,7 @@ type TProps$g = {
|
|
|
30
30
|
isLoading?: boolean;
|
|
31
31
|
styles?: TAvatarElementStyles;
|
|
32
32
|
};
|
|
33
|
-
declare const AvatarElement: FC<TProps$
|
|
33
|
+
declare const AvatarElement: FC<TProps$f>;
|
|
34
34
|
|
|
35
35
|
declare const base$h: {
|
|
36
36
|
container: string;
|
|
@@ -39,7 +39,7 @@ declare const base$h: {
|
|
|
39
39
|
};
|
|
40
40
|
type TBadgeElementStyles = DeepPartial$1<typeof base$h>;
|
|
41
41
|
|
|
42
|
-
type TProps$
|
|
42
|
+
type TProps$e = {
|
|
43
43
|
children: string | ReactNode;
|
|
44
44
|
color?: 'gray' | 'red' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink';
|
|
45
45
|
type?: 'normal' | 'indicator' | 'close';
|
|
@@ -50,7 +50,7 @@ type TProps$f = {
|
|
|
50
50
|
onClose?: () => void;
|
|
51
51
|
styles?: TBadgeElementStyles;
|
|
52
52
|
};
|
|
53
|
-
declare const BadgeElement: FC<TProps$
|
|
53
|
+
declare const BadgeElement: FC<TProps$e>;
|
|
54
54
|
|
|
55
55
|
declare const base$g: {
|
|
56
56
|
container: string;
|
|
@@ -60,7 +60,7 @@ declare const base$g: {
|
|
|
60
60
|
};
|
|
61
61
|
type TButtonElementStyles = DeepPartial$1<typeof base$g>;
|
|
62
62
|
|
|
63
|
-
type TProps$
|
|
63
|
+
type TProps$d = {
|
|
64
64
|
children: string | ReactNode;
|
|
65
65
|
innerRef?: RefObject<HTMLButtonElement>;
|
|
66
66
|
htmlType?: 'button' | 'submit';
|
|
@@ -72,7 +72,7 @@ type TProps$e = {
|
|
|
72
72
|
styles?: TButtonElementStyles;
|
|
73
73
|
onClick: () => void;
|
|
74
74
|
};
|
|
75
|
-
declare const ButtonElement: FC<TProps$
|
|
75
|
+
declare const ButtonElement: FC<TProps$d>;
|
|
76
76
|
|
|
77
77
|
declare const base$f: {
|
|
78
78
|
container: string;
|
|
@@ -82,11 +82,11 @@ declare const base$f: {
|
|
|
82
82
|
};
|
|
83
83
|
type TButtonGroupElementStyles = DeepPartial$1<typeof base$f>;
|
|
84
84
|
|
|
85
|
-
type TProps$
|
|
85
|
+
type TProps$c = {
|
|
86
86
|
children: ReactElement[];
|
|
87
87
|
styles?: TButtonGroupElementStyles;
|
|
88
88
|
};
|
|
89
|
-
declare const ButtonGroupElement: FC<TProps$
|
|
89
|
+
declare const ButtonGroupElement: FC<TProps$c>;
|
|
90
90
|
|
|
91
91
|
declare const base$e: {
|
|
92
92
|
container: string;
|
|
@@ -97,7 +97,7 @@ declare const base$e: {
|
|
|
97
97
|
};
|
|
98
98
|
type TDropdownElementStyles = DeepPartial$1<typeof base$e>;
|
|
99
99
|
|
|
100
|
-
type TProps$
|
|
100
|
+
type TProps$b = {
|
|
101
101
|
children: ReactElement | ReactElement[];
|
|
102
102
|
label: string | ReactElement;
|
|
103
103
|
type?: 'button' | 'compact';
|
|
@@ -105,33 +105,18 @@ type TProps$c = {
|
|
|
105
105
|
styles?: TDropdownElementStyles;
|
|
106
106
|
};
|
|
107
107
|
declare const DropdownElement: {
|
|
108
|
-
Container: FC<TProps$
|
|
108
|
+
Container: FC<TProps$b>;
|
|
109
109
|
Item: typeof Menu.Item;
|
|
110
110
|
};
|
|
111
111
|
|
|
112
|
-
type TProps$
|
|
112
|
+
type TProps$a = {
|
|
113
113
|
accessor: IconName;
|
|
114
114
|
type: 'brands' | 'light' | 'regular' | 'solid';
|
|
115
115
|
className?: string;
|
|
116
116
|
};
|
|
117
|
-
declare const IconElement: FC<TProps$
|
|
118
|
-
|
|
119
|
-
declare const base$d: {
|
|
120
|
-
container: string;
|
|
121
|
-
head: string;
|
|
122
|
-
body: string;
|
|
123
|
-
foot: string;
|
|
124
|
-
label: string;
|
|
125
|
-
hint: string;
|
|
126
|
-
leading: string;
|
|
127
|
-
input: string;
|
|
128
|
-
trailing: string;
|
|
129
|
-
description: string;
|
|
130
|
-
error: string;
|
|
131
|
-
};
|
|
132
|
-
type TInputGroupStyles = DeepPartial$1<typeof base$d>;
|
|
117
|
+
declare const IconElement: FC<TProps$a>;
|
|
133
118
|
|
|
134
|
-
type
|
|
119
|
+
type TInputGroupFormProps = {
|
|
135
120
|
name: string;
|
|
136
121
|
htmlType: HTMLInputTypeAttribute;
|
|
137
122
|
label?: string | ReactNode;
|
|
@@ -158,7 +143,22 @@ type TProps$a = {
|
|
|
158
143
|
onBlur: any;
|
|
159
144
|
styles?: TInputGroupStyles;
|
|
160
145
|
};
|
|
161
|
-
declare const InputGroupForm: FC<
|
|
146
|
+
declare const InputGroupForm: FC<TInputGroupFormProps>;
|
|
147
|
+
|
|
148
|
+
declare const base$d: {
|
|
149
|
+
container: string;
|
|
150
|
+
head: string;
|
|
151
|
+
body: string;
|
|
152
|
+
foot: string;
|
|
153
|
+
label: string;
|
|
154
|
+
hint: string;
|
|
155
|
+
leading: string;
|
|
156
|
+
input: string;
|
|
157
|
+
trailing: string;
|
|
158
|
+
description: string;
|
|
159
|
+
error: string;
|
|
160
|
+
};
|
|
161
|
+
type TInputGroupStyles = DeepPartial$1<typeof base$d>;
|
|
162
162
|
|
|
163
163
|
declare const base$c: {
|
|
164
164
|
container: string;
|
|
@@ -696,4 +696,4 @@ type TProps = {
|
|
|
696
696
|
};
|
|
697
697
|
declare const SlideOverOverlay: FC<TProps>;
|
|
698
698
|
|
|
699
|
-
export { AvatarElement, BadgeElement, BreadcrumbsNavigation, ButtonElement, ButtonGroupElement, ContainerLayout, DividerLayout, DropdownElement, IconElement, InputGroupForm, ListContainerLayout, MediaObjectLayout, ModalOverlay, NotificationOverlay, PagePaginationNavigation, LayoutPanel as PanelLayout, PanelPaginationNavigation, SlideOverOverlay, TTableListProps, TTableListStyles, TabNavigation, TableList, VerticalNavigation };
|
|
699
|
+
export { AvatarElement, BadgeElement, BreadcrumbsNavigation, ButtonElement, ButtonGroupElement, ContainerLayout, DividerLayout, DropdownElement, IconElement, InputGroupForm, ListContainerLayout, MediaObjectLayout, ModalOverlay, NotificationOverlay, PagePaginationNavigation, LayoutPanel as PanelLayout, PanelPaginationNavigation, SlideOverOverlay, TInputGroupFormProps, TInputGroupStyles, TTableListProps, TTableListStyles, TabNavigation, TableList, VerticalNavigation };
|
package/dist/index.esm.js
CHANGED
|
@@ -95,7 +95,7 @@ var AvatarElement = function (props) {
|
|
|
95
95
|
if (!src) {
|
|
96
96
|
return (jsxs("span", __assign({ className: styles.placeholder }, { children: [jsx("span", __assign({ className: "text-".concat(size, " font-medium leading-none text-white") }, { children: placeholder })), status && jsx("span", { className: styles.indicator })] })));
|
|
97
97
|
}
|
|
98
|
-
return (jsx("a", __assign({ href: url }, { children: jsxs("div", __assign({ className: "flex items-center" }, { children: [jsxs("span", __assign({ className: "
|
|
98
|
+
return (jsx("a", __assign({ href: url }, { children: jsxs("div", __assign({ className: "flex items-center" }, { children: [jsxs("span", __assign({ className: "flex items-center justify-center" }, { children: [jsx("div", { className: styles.container, style: { backgroundImage: "url(".concat(src, ")") } }), status && jsx("span", { className: styles.indicator })] })), children && jsx("div", __assign({ className: "ml-3" }, { children: children }))] })) })));
|
|
99
99
|
};
|
|
100
100
|
|
|
101
101
|
var base$i = {
|
|
@@ -17580,7 +17580,7 @@ var ModalOverlay = function (props) {
|
|
|
17580
17580
|
};
|
|
17581
17581
|
|
|
17582
17582
|
var base$2 = {
|
|
17583
|
-
container: 'relative z-
|
|
17583
|
+
container: 'relative z-40',
|
|
17584
17584
|
background: {
|
|
17585
17585
|
container: 'fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity',
|
|
17586
17586
|
transition: {
|
package/dist/index.js
CHANGED
|
@@ -105,7 +105,7 @@ var AvatarElement = function (props) {
|
|
|
105
105
|
if (!src) {
|
|
106
106
|
return (jsxRuntime.jsxs("span", __assign({ className: styles.placeholder }, { children: [jsxRuntime.jsx("span", __assign({ className: "text-".concat(size, " font-medium leading-none text-white") }, { children: placeholder })), status && jsxRuntime.jsx("span", { className: styles.indicator })] })));
|
|
107
107
|
}
|
|
108
|
-
return (jsxRuntime.jsx("a", __assign({ href: url }, { children: jsxRuntime.jsxs("div", __assign({ className: "flex items-center" }, { children: [jsxRuntime.jsxs("span", __assign({ className: "
|
|
108
|
+
return (jsxRuntime.jsx("a", __assign({ href: url }, { children: jsxRuntime.jsxs("div", __assign({ className: "flex items-center" }, { children: [jsxRuntime.jsxs("span", __assign({ className: "flex items-center justify-center" }, { children: [jsxRuntime.jsx("div", { className: styles.container, style: { backgroundImage: "url(".concat(src, ")") } }), status && jsxRuntime.jsx("span", { className: styles.indicator })] })), children && jsxRuntime.jsx("div", __assign({ className: "ml-3" }, { children: children }))] })) })));
|
|
109
109
|
};
|
|
110
110
|
|
|
111
111
|
var base$i = {
|
|
@@ -17590,7 +17590,7 @@ var ModalOverlay = function (props) {
|
|
|
17590
17590
|
};
|
|
17591
17591
|
|
|
17592
17592
|
var base$2 = {
|
|
17593
|
-
container: 'relative z-
|
|
17593
|
+
container: 'relative z-40',
|
|
17594
17594
|
background: {
|
|
17595
17595
|
container: 'fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity',
|
|
17596
17596
|
transition: {
|