@apexcura/ui-components 0.0.15-Beta57 → 0.0.15-Beta59
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.mts +6 -9
- package/dist/index.d.ts +6 -9
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3,6 +3,10 @@ import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
|
3
3
|
import { UploadFile } from 'antd/lib/upload/interface';
|
|
4
4
|
import { CheckboxOptionType } from 'antd';
|
|
5
5
|
|
|
6
|
+
type pagenationType = {
|
|
7
|
+
page?: number;
|
|
8
|
+
pageSize?: number;
|
|
9
|
+
};
|
|
6
10
|
type ElementType$1 = {
|
|
7
11
|
[x: string]: any;
|
|
8
12
|
selectedStyle?: boolean;
|
|
@@ -17,7 +21,7 @@ type ElementType$1 = {
|
|
|
17
21
|
firstValue?: string;
|
|
18
22
|
secondValue?: string;
|
|
19
23
|
size?: SizeType;
|
|
20
|
-
value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile
|
|
24
|
+
value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile[] | pagenationType;
|
|
21
25
|
status?: "error" | "warning";
|
|
22
26
|
styles?: React.CSSProperties;
|
|
23
27
|
variant?: "outlined" | "borderless" | "filled";
|
|
@@ -132,14 +136,7 @@ declare const Sidebar: (props: ElementType$1) => React$1.JSX.Element;
|
|
|
132
136
|
|
|
133
137
|
declare const Navbar: (props: ElementType$1) => React$1.JSX.Element;
|
|
134
138
|
|
|
135
|
-
|
|
136
|
-
page?: number;
|
|
137
|
-
pageSize?: number;
|
|
138
|
-
}
|
|
139
|
-
interface TableElementProps extends ElementType$1 {
|
|
140
|
-
value?: PaginationType;
|
|
141
|
-
}
|
|
142
|
-
declare const TableElement: (props: TableElementProps) => React$1.JSX.Element;
|
|
139
|
+
declare const TableElement: (props: ElementType$1) => React$1.JSX.Element;
|
|
143
140
|
|
|
144
141
|
declare const DatePickerElement: (props: ElementType$1) => React$1.JSX.Element;
|
|
145
142
|
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,10 @@ import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
|
3
3
|
import { UploadFile } from 'antd/lib/upload/interface';
|
|
4
4
|
import { CheckboxOptionType } from 'antd';
|
|
5
5
|
|
|
6
|
+
type pagenationType = {
|
|
7
|
+
page?: number;
|
|
8
|
+
pageSize?: number;
|
|
9
|
+
};
|
|
6
10
|
type ElementType$1 = {
|
|
7
11
|
[x: string]: any;
|
|
8
12
|
selectedStyle?: boolean;
|
|
@@ -17,7 +21,7 @@ type ElementType$1 = {
|
|
|
17
21
|
firstValue?: string;
|
|
18
22
|
secondValue?: string;
|
|
19
23
|
size?: SizeType;
|
|
20
|
-
value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile
|
|
24
|
+
value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile[] | pagenationType;
|
|
21
25
|
status?: "error" | "warning";
|
|
22
26
|
styles?: React.CSSProperties;
|
|
23
27
|
variant?: "outlined" | "borderless" | "filled";
|
|
@@ -132,14 +136,7 @@ declare const Sidebar: (props: ElementType$1) => React$1.JSX.Element;
|
|
|
132
136
|
|
|
133
137
|
declare const Navbar: (props: ElementType$1) => React$1.JSX.Element;
|
|
134
138
|
|
|
135
|
-
|
|
136
|
-
page?: number;
|
|
137
|
-
pageSize?: number;
|
|
138
|
-
}
|
|
139
|
-
interface TableElementProps extends ElementType$1 {
|
|
140
|
-
value?: PaginationType;
|
|
141
|
-
}
|
|
142
|
-
declare const TableElement: (props: TableElementProps) => React$1.JSX.Element;
|
|
139
|
+
declare const TableElement: (props: ElementType$1) => React$1.JSX.Element;
|
|
143
140
|
|
|
144
141
|
declare const DatePickerElement: (props: ElementType$1) => React$1.JSX.Element;
|
|
145
142
|
|
package/dist/index.js
CHANGED
|
@@ -529,11 +529,11 @@ var ButtonElement = (props) => {
|
|
|
529
529
|
cursor: props.loading ? "no-drop" : "pointer"
|
|
530
530
|
}
|
|
531
531
|
},
|
|
532
|
-
/* @__PURE__ */ import_react12.default.createElement("span", { className: props.iconsClassName }, props.
|
|
532
|
+
props.icon ? /* @__PURE__ */ import_react12.default.createElement("span", { className: props.iconsClassName }, props.isSVGStylesOverride === false ? /* @__PURE__ */ import_react12.default.createElement("img", { src: props.icon, className: props.iconsClassName }) : icons[props.icon], /* @__PURE__ */ import_react12.default.createElement("style", null, textColorClass && `.${props.className?.match(/text-[\w-]+/g)?.[0]} path {
|
|
533
533
|
filter: brightness(0) invert(1);
|
|
534
534
|
}`, `.${props.className?.match(/text-[\w-]+/g)?.[0]}:hover path {
|
|
535
535
|
filter: brightness(0) invert(1);
|
|
536
|
-
}`)),
|
|
536
|
+
}`)) : "",
|
|
537
537
|
props.label
|
|
538
538
|
);
|
|
539
539
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -460,11 +460,11 @@ var ButtonElement = (props) => {
|
|
|
460
460
|
cursor: props.loading ? "no-drop" : "pointer"
|
|
461
461
|
}
|
|
462
462
|
},
|
|
463
|
-
/* @__PURE__ */ React12.createElement("span", { className: props.iconsClassName }, props.
|
|
463
|
+
props.icon ? /* @__PURE__ */ React12.createElement("span", { className: props.iconsClassName }, props.isSVGStylesOverride === false ? /* @__PURE__ */ React12.createElement("img", { src: props.icon, className: props.iconsClassName }) : icons[props.icon], /* @__PURE__ */ React12.createElement("style", null, textColorClass && `.${props.className?.match(/text-[\w-]+/g)?.[0]} path {
|
|
464
464
|
filter: brightness(0) invert(1);
|
|
465
465
|
}`, `.${props.className?.match(/text-[\w-]+/g)?.[0]}:hover path {
|
|
466
466
|
filter: brightness(0) invert(1);
|
|
467
|
-
}`)),
|
|
467
|
+
}`)) : "",
|
|
468
468
|
props.label
|
|
469
469
|
);
|
|
470
470
|
};
|