@esic-lab/data-core-ui 0.0.28 → 0.0.29
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.css +17 -0
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
65
65
|
--default-font-family: var(--font-sans);
|
|
66
66
|
--default-mono-font-family: var(--font-mono);
|
|
67
|
+
--color-primary-700: #3745af;
|
|
67
68
|
--color-primary-500: #4e61f6;
|
|
68
69
|
--color-primary-400: #7181f8;
|
|
69
70
|
--color-primary-200: #aeb6fb;
|
|
@@ -650,6 +651,9 @@
|
|
|
650
651
|
.gap-4 {
|
|
651
652
|
gap: calc(var(--spacing) * 4);
|
|
652
653
|
}
|
|
654
|
+
.gap-10 {
|
|
655
|
+
gap: calc(var(--spacing) * 10);
|
|
656
|
+
}
|
|
653
657
|
.gap-\[8px\] {
|
|
654
658
|
gap: 8px;
|
|
655
659
|
}
|
|
@@ -758,6 +762,10 @@
|
|
|
758
762
|
border-bottom-style: var(--tw-border-style);
|
|
759
763
|
border-bottom-width: 1px;
|
|
760
764
|
}
|
|
765
|
+
.border-b-2 {
|
|
766
|
+
border-bottom-style: var(--tw-border-style);
|
|
767
|
+
border-bottom-width: 2px;
|
|
768
|
+
}
|
|
761
769
|
.border-l-\[10px\] {
|
|
762
770
|
border-left-style: var(--tw-border-style);
|
|
763
771
|
border-left-width: 10px;
|
|
@@ -793,6 +801,12 @@
|
|
|
793
801
|
.border-white {
|
|
794
802
|
border-color: var(--color-white);
|
|
795
803
|
}
|
|
804
|
+
.border-b-gray-200 {
|
|
805
|
+
border-bottom-color: var(--color-gray-200);
|
|
806
|
+
}
|
|
807
|
+
.border-b-primary-700 {
|
|
808
|
+
border-bottom-color: var(--color-primary-700);
|
|
809
|
+
}
|
|
796
810
|
.bg-\[\#E9E9E9\] {
|
|
797
811
|
background-color: #E9E9E9;
|
|
798
812
|
}
|
|
@@ -960,6 +974,9 @@
|
|
|
960
974
|
.text-indigo-800 {
|
|
961
975
|
color: var(--color-indigo-800);
|
|
962
976
|
}
|
|
977
|
+
.text-primary-700 {
|
|
978
|
+
color: var(--color-primary-700);
|
|
979
|
+
}
|
|
963
980
|
.text-red-500 {
|
|
964
981
|
color: var(--color-red-500);
|
|
965
982
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -149,10 +149,11 @@ interface AntDataTableProps<T> {
|
|
|
149
149
|
onRowSelect?: (newSelectedRowKeys: React.Key[]) => void;
|
|
150
150
|
width?: number;
|
|
151
151
|
height?: number;
|
|
152
|
+
pagination?: boolean;
|
|
152
153
|
}
|
|
153
154
|
declare function AntDataTable<T extends {
|
|
154
155
|
key: React.Key;
|
|
155
|
-
}>({ dataSource, columns, pageSize, rowCheckbox, onRowSelect, width, height, }: AntDataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
156
|
+
}>({ dataSource, columns, pageSize, rowCheckbox, onRowSelect, width, height, pagination, }: AntDataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
156
157
|
|
|
157
158
|
interface CalendarProps {
|
|
158
159
|
events: EventSourceInput | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -149,10 +149,11 @@ interface AntDataTableProps<T> {
|
|
|
149
149
|
onRowSelect?: (newSelectedRowKeys: React.Key[]) => void;
|
|
150
150
|
width?: number;
|
|
151
151
|
height?: number;
|
|
152
|
+
pagination?: boolean;
|
|
152
153
|
}
|
|
153
154
|
declare function AntDataTable<T extends {
|
|
154
155
|
key: React.Key;
|
|
155
|
-
}>({ dataSource, columns, pageSize, rowCheckbox, onRowSelect, width, height, }: AntDataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
156
|
+
}>({ dataSource, columns, pageSize, rowCheckbox, onRowSelect, width, height, pagination, }: AntDataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
156
157
|
|
|
157
158
|
interface CalendarProps {
|
|
158
159
|
events: EventSourceInput | undefined;
|
package/dist/index.js
CHANGED
|
@@ -915,7 +915,8 @@ function AntDataTable({
|
|
|
915
915
|
rowCheckbox,
|
|
916
916
|
onRowSelect,
|
|
917
917
|
width,
|
|
918
|
-
height
|
|
918
|
+
height,
|
|
919
|
+
pagination
|
|
919
920
|
}) {
|
|
920
921
|
const [selectedRowKeys, setSelectedRowKeys] = (0, import_react4.useState)([]);
|
|
921
922
|
const rowSelection = {
|
|
@@ -941,7 +942,7 @@ function AntDataTable({
|
|
|
941
942
|
dataSource,
|
|
942
943
|
columns,
|
|
943
944
|
rowSelection: rowCheckbox ? rowSelection : void 0,
|
|
944
|
-
pagination: { position: ["bottomCenter"], pageSize },
|
|
945
|
+
pagination: pagination ? { position: ["bottomCenter"], pageSize } : false,
|
|
945
946
|
style: { width },
|
|
946
947
|
scroll: { y: height }
|
|
947
948
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -861,7 +861,8 @@ function AntDataTable({
|
|
|
861
861
|
rowCheckbox,
|
|
862
862
|
onRowSelect,
|
|
863
863
|
width,
|
|
864
|
-
height
|
|
864
|
+
height,
|
|
865
|
+
pagination
|
|
865
866
|
}) {
|
|
866
867
|
const [selectedRowKeys, setSelectedRowKeys] = useState3([]);
|
|
867
868
|
const rowSelection = {
|
|
@@ -887,7 +888,7 @@ function AntDataTable({
|
|
|
887
888
|
dataSource,
|
|
888
889
|
columns,
|
|
889
890
|
rowSelection: rowCheckbox ? rowSelection : void 0,
|
|
890
|
-
pagination: { position: ["bottomCenter"], pageSize },
|
|
891
|
+
pagination: pagination ? { position: ["bottomCenter"], pageSize } : false,
|
|
891
892
|
style: { width },
|
|
892
893
|
scroll: { y: height }
|
|
893
894
|
}
|