@esic-lab/data-core-ui 0.0.42 → 0.0.43

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 CHANGED
@@ -34,6 +34,8 @@
34
34
  --color-green-600: #3da755;
35
35
  --color-blue-100: #b0deff;
36
36
  --color-blue-500: #0095ff;
37
+ --color-blue-600: #0088e8;
38
+ --color-blue-700: #006ab5;
37
39
  --color-blue-800: #00528c;
38
40
  --color-indigo-100: oklch(93% 0.034 272.788);
39
41
  --color-indigo-800: oklch(39.8% 0.195 277.366);
@@ -45,6 +47,7 @@
45
47
  --color-gray-500: #6d717f;
46
48
  --color-gray-600: #4d5461;
47
49
  --color-gray-700: #394050;
50
+ --color-gray-800: #212936;
48
51
  --color-black: #000;
49
52
  --color-white: #fff;
50
53
  --spacing: 0.25rem;
@@ -54,8 +57,10 @@
54
57
  --text-sm--line-height: calc(1.25 / 0.875);
55
58
  --text-lg: 1.125rem;
56
59
  --text-lg--line-height: calc(1.75 / 1.125);
60
+ --font-weight-light: 300;
57
61
  --font-weight-medium: 500;
58
62
  --font-weight-semibold: 600;
63
+ --font-weight-bold: 700;
59
64
  --radius-sm: 0.25rem;
60
65
  --radius-md: 0.375rem;
61
66
  --radius-lg: 0.5rem;
@@ -301,6 +306,9 @@
301
306
  .right-3 {
302
307
  right: calc(var(--spacing) * 3);
303
308
  }
309
+ .left-0 {
310
+ left: calc(var(--spacing) * 0);
311
+ }
304
312
  .left-full {
305
313
  left: 100%;
306
314
  }
@@ -313,12 +321,18 @@
313
321
  .mx-2 {
314
322
  margin-inline: calc(var(--spacing) * 2);
315
323
  }
324
+ .mx-auto {
325
+ margin-inline: auto;
326
+ }
316
327
  .my-1 {
317
328
  margin-block: calc(var(--spacing) * 1);
318
329
  }
319
330
  .my-2 {
320
331
  margin-block: calc(var(--spacing) * 2);
321
332
  }
333
+ .mt-1 {
334
+ margin-top: calc(var(--spacing) * 1);
335
+ }
322
336
  .mt-2 {
323
337
  margin-top: calc(var(--spacing) * 2);
324
338
  }
@@ -364,6 +378,9 @@
364
378
  .mb-\[8px\] {
365
379
  margin-bottom: 8px;
366
380
  }
381
+ .ml-1 {
382
+ margin-left: calc(var(--spacing) * 1);
383
+ }
367
384
  .ml-2 {
368
385
  margin-left: calc(var(--spacing) * 2);
369
386
  }
@@ -406,6 +423,9 @@
406
423
  .h-7 {
407
424
  height: calc(var(--spacing) * 7);
408
425
  }
426
+ .h-9 {
427
+ height: calc(var(--spacing) * 9);
428
+ }
409
429
  .h-\[10px\] {
410
430
  height: 10px;
411
431
  }
@@ -490,6 +510,9 @@
490
510
  .w-6 {
491
511
  width: calc(var(--spacing) * 6);
492
512
  }
513
+ .w-9 {
514
+ width: calc(var(--spacing) * 9);
515
+ }
493
516
  .w-13 {
494
517
  width: calc(var(--spacing) * 13);
495
518
  }
@@ -571,6 +594,9 @@
571
594
  .flex-1 {
572
595
  flex: 1;
573
596
  }
597
+ .flex-shrink-0 {
598
+ flex-shrink: 0;
599
+ }
574
600
  .-translate-x-2 {
575
601
  --tw-translate-x: calc(var(--spacing) * -2);
576
602
  translate: var(--tw-translate-x) var(--tw-translate-y);
@@ -607,6 +633,12 @@
607
633
  --tw-scale-z: 100%;
608
634
  scale: var(--tw-scale-x) var(--tw-scale-y);
609
635
  }
636
+ .scale-105 {
637
+ --tw-scale-x: 105%;
638
+ --tw-scale-y: 105%;
639
+ --tw-scale-z: 105%;
640
+ scale: var(--tw-scale-x) var(--tw-scale-y);
641
+ }
610
642
  .transform {
611
643
  transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
612
644
  }
@@ -737,6 +769,9 @@
737
769
  margin-inline-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse)));
738
770
  }
739
771
  }
772
+ .gap-y-1 {
773
+ row-gap: calc(var(--spacing) * 1);
774
+ }
740
775
  .self-center {
741
776
  align-self: center;
742
777
  }
@@ -852,6 +887,9 @@
852
887
  .border-black {
853
888
  border-color: var(--color-black);
854
889
  }
890
+ .border-blue-500 {
891
+ border-color: var(--color-blue-500);
892
+ }
855
893
  .border-gray-200 {
856
894
  border-color: var(--color-gray-200);
857
895
  }
@@ -891,9 +929,15 @@
891
929
  background-color: color-mix(in oklab, var(--color-black) 50%, transparent);
892
930
  }
893
931
  }
932
+ .bg-blue-100 {
933
+ background-color: var(--color-blue-100);
934
+ }
894
935
  .bg-blue-500 {
895
936
  background-color: var(--color-blue-500);
896
937
  }
938
+ .bg-blue-600 {
939
+ background-color: var(--color-blue-600);
940
+ }
897
941
  .bg-gray-50 {
898
942
  background-color: var(--color-gray-50);
899
943
  }
@@ -999,6 +1043,9 @@
999
1043
  .text-left {
1000
1044
  text-align: left;
1001
1045
  }
1046
+ .text-right {
1047
+ text-align: right;
1048
+ }
1002
1049
  .text-lg {
1003
1050
  font-size: var(--text-lg);
1004
1051
  line-height: var(--tw-leading, var(--text-lg--line-height));
@@ -1014,6 +1061,14 @@
1014
1061
  .text-\[20px\] {
1015
1062
  font-size: 20px;
1016
1063
  }
1064
+ .font-bold {
1065
+ --tw-font-weight: var(--font-weight-bold);
1066
+ font-weight: var(--font-weight-bold);
1067
+ }
1068
+ .font-light {
1069
+ --tw-font-weight: var(--font-weight-light);
1070
+ font-weight: var(--font-weight-light);
1071
+ }
1017
1072
  .font-medium {
1018
1073
  --tw-font-weight: var(--font-weight-medium);
1019
1074
  font-weight: var(--font-weight-medium);
@@ -1031,6 +1086,12 @@
1031
1086
  .text-black {
1032
1087
  color: var(--color-black);
1033
1088
  }
1089
+ .text-blue-600 {
1090
+ color: var(--color-blue-600);
1091
+ }
1092
+ .text-blue-700 {
1093
+ color: var(--color-blue-700);
1094
+ }
1034
1095
  .text-gray-300 {
1035
1096
  color: var(--color-gray-300);
1036
1097
  }
@@ -1046,6 +1107,9 @@
1046
1107
  .text-gray-700 {
1047
1108
  color: var(--color-gray-700);
1048
1109
  }
1110
+ .text-gray-800 {
1111
+ color: var(--color-gray-800);
1112
+ }
1049
1113
  .text-green-600 {
1050
1114
  color: var(--color-green-600);
1051
1115
  }
@@ -1194,6 +1258,10 @@
1194
1258
  --tw-duration: 150ms;
1195
1259
  transition-duration: 150ms;
1196
1260
  }
1261
+ .duration-200 {
1262
+ --tw-duration: 200ms;
1263
+ transition-duration: 200ms;
1264
+ }
1197
1265
  .duration-300 {
1198
1266
  --tw-duration: 300ms;
1199
1267
  transition-duration: 300ms;
@@ -1468,6 +1536,21 @@
1468
1536
  opacity: 50%;
1469
1537
  }
1470
1538
  }
1539
+ .sm\:right-auto {
1540
+ @media (width >= 40rem) {
1541
+ right: auto;
1542
+ }
1543
+ }
1544
+ .sm\:left-auto {
1545
+ @media (width >= 40rem) {
1546
+ left: auto;
1547
+ }
1548
+ }
1549
+ .sm\:mx-0 {
1550
+ @media (width >= 40rem) {
1551
+ margin-inline: calc(var(--spacing) * 0);
1552
+ }
1553
+ }
1471
1554
  }
1472
1555
  @layer base {
1473
1556
  *,
package/dist/index.d.mts CHANGED
@@ -268,10 +268,26 @@ interface DatePickerBasicProps {
268
268
  minDate?: Date;
269
269
  maxDate?: Date;
270
270
  disabledDate?: (currentDate: Date) => boolean;
271
+ disablePast?: boolean;
271
272
  className?: string;
272
273
  size?: "small" | "middle" | "large";
273
274
  }
274
- declare function DatePickerBasic({ value, onChange, label, required, error, disabled, placeholder, minDate, maxDate, disabledDate, }: DatePickerBasicProps): react_jsx_runtime.JSX.Element;
275
+ declare function DatePickerBasic({ value, onChange, label, required, error, disabled, placeholder, minDate, maxDate, disabledDate, disablePast, }: DatePickerBasicProps): react_jsx_runtime.JSX.Element;
276
+
277
+ interface DatePickerRangeProps {
278
+ value: [Date | null, Date | null];
279
+ onChange: (range: [Date | null, Date | null]) => void;
280
+ required?: boolean;
281
+ label?: string;
282
+ error?: string;
283
+ disabled?: boolean;
284
+ minDate?: Date;
285
+ maxDate?: Date;
286
+ disabledDate?: (currentDate: Date) => boolean;
287
+ disablePast?: boolean;
288
+ className?: string;
289
+ }
290
+ declare function DatePickerRange({ value, onChange, label, required, error, disabled, minDate, maxDate, disabledDate, disablePast, }: DatePickerRangeProps): react_jsx_runtime.JSX.Element;
275
291
 
276
292
  interface ColorPickerProps {
277
293
  value: string | null;
@@ -525,4 +541,4 @@ declare const FilterPopUp: (filter: {
525
541
  handleSearch: (listFiler: string[]) => void;
526
542
  }) => react_jsx_runtime.JSX.Element;
527
543
 
528
- export { AntDModal, AntDataTable, Breadcrumbs, Calendar, Checkbox, CheckboxGroup, ColorPalettePickerBasic, ColorPickerBasic, DataTable, DatePickerBasic, FileUploader, FilterPopUp, GhostButton, HeadingPage, Indicator, InputField, InputFieldNumber, KpiSection, Loader, MenuNavBar, type MenuNavBarProps, PrimaryButton, ProgressBar, Radio, RadioGroup, SecondaryButton, SelectCustom, SelectField, SelectFieldGroup, SelectFieldStatus, SelectFieldStatusReport, SelectFieldTag, Sidebar, SortFilter, Switch, SwitchSelect, TabSelectionButton, TextAreaInput, TextInput, TopNavBar, messageError, messageInfo, messageLoading, messageSuccess, messageWarning, setMessageApi };
544
+ export { AntDModal, AntDataTable, Breadcrumbs, Calendar, Checkbox, CheckboxGroup, ColorPalettePickerBasic, ColorPickerBasic, DataTable, DatePickerBasic, DatePickerRange, FileUploader, FilterPopUp, GhostButton, HeadingPage, Indicator, InputField, InputFieldNumber, KpiSection, Loader, MenuNavBar, type MenuNavBarProps, PrimaryButton, ProgressBar, Radio, RadioGroup, SecondaryButton, SelectCustom, SelectField, SelectFieldGroup, SelectFieldStatus, SelectFieldStatusReport, SelectFieldTag, Sidebar, SortFilter, Switch, SwitchSelect, TabSelectionButton, TextAreaInput, TextInput, TopNavBar, messageError, messageInfo, messageLoading, messageSuccess, messageWarning, setMessageApi };
package/dist/index.d.ts CHANGED
@@ -268,10 +268,26 @@ interface DatePickerBasicProps {
268
268
  minDate?: Date;
269
269
  maxDate?: Date;
270
270
  disabledDate?: (currentDate: Date) => boolean;
271
+ disablePast?: boolean;
271
272
  className?: string;
272
273
  size?: "small" | "middle" | "large";
273
274
  }
274
- declare function DatePickerBasic({ value, onChange, label, required, error, disabled, placeholder, minDate, maxDate, disabledDate, }: DatePickerBasicProps): react_jsx_runtime.JSX.Element;
275
+ declare function DatePickerBasic({ value, onChange, label, required, error, disabled, placeholder, minDate, maxDate, disabledDate, disablePast, }: DatePickerBasicProps): react_jsx_runtime.JSX.Element;
276
+
277
+ interface DatePickerRangeProps {
278
+ value: [Date | null, Date | null];
279
+ onChange: (range: [Date | null, Date | null]) => void;
280
+ required?: boolean;
281
+ label?: string;
282
+ error?: string;
283
+ disabled?: boolean;
284
+ minDate?: Date;
285
+ maxDate?: Date;
286
+ disabledDate?: (currentDate: Date) => boolean;
287
+ disablePast?: boolean;
288
+ className?: string;
289
+ }
290
+ declare function DatePickerRange({ value, onChange, label, required, error, disabled, minDate, maxDate, disabledDate, disablePast, }: DatePickerRangeProps): react_jsx_runtime.JSX.Element;
275
291
 
276
292
  interface ColorPickerProps {
277
293
  value: string | null;
@@ -525,4 +541,4 @@ declare const FilterPopUp: (filter: {
525
541
  handleSearch: (listFiler: string[]) => void;
526
542
  }) => react_jsx_runtime.JSX.Element;
527
543
 
528
- export { AntDModal, AntDataTable, Breadcrumbs, Calendar, Checkbox, CheckboxGroup, ColorPalettePickerBasic, ColorPickerBasic, DataTable, DatePickerBasic, FileUploader, FilterPopUp, GhostButton, HeadingPage, Indicator, InputField, InputFieldNumber, KpiSection, Loader, MenuNavBar, type MenuNavBarProps, PrimaryButton, ProgressBar, Radio, RadioGroup, SecondaryButton, SelectCustom, SelectField, SelectFieldGroup, SelectFieldStatus, SelectFieldStatusReport, SelectFieldTag, Sidebar, SortFilter, Switch, SwitchSelect, TabSelectionButton, TextAreaInput, TextInput, TopNavBar, messageError, messageInfo, messageLoading, messageSuccess, messageWarning, setMessageApi };
544
+ export { AntDModal, AntDataTable, Breadcrumbs, Calendar, Checkbox, CheckboxGroup, ColorPalettePickerBasic, ColorPickerBasic, DataTable, DatePickerBasic, DatePickerRange, FileUploader, FilterPopUp, GhostButton, HeadingPage, Indicator, InputField, InputFieldNumber, KpiSection, Loader, MenuNavBar, type MenuNavBarProps, PrimaryButton, ProgressBar, Radio, RadioGroup, SecondaryButton, SelectCustom, SelectField, SelectFieldGroup, SelectFieldStatus, SelectFieldStatusReport, SelectFieldTag, Sidebar, SortFilter, Switch, SwitchSelect, TabSelectionButton, TextAreaInput, TextInput, TopNavBar, messageError, messageInfo, messageLoading, messageSuccess, messageWarning, setMessageApi };