cr-ui-lib 1.1.17 → 1.1.19
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 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -176,11 +176,11 @@ interface SingleListInputProps {
|
|
|
176
176
|
}
|
|
177
177
|
declare const SingleListInput: React$1.FC<SingleListInputProps>;
|
|
178
178
|
|
|
179
|
-
type Option = {
|
|
179
|
+
declare type Option = {
|
|
180
180
|
id: string;
|
|
181
181
|
name: string;
|
|
182
182
|
};
|
|
183
|
-
type SingleSelectDropdownProps = {
|
|
183
|
+
declare type SingleSelectDropdownProps = {
|
|
184
184
|
label?: string;
|
|
185
185
|
value: string | null;
|
|
186
186
|
onChange: (value: string) => void;
|
|
@@ -420,14 +420,14 @@ interface SuccessToastProps {
|
|
|
420
420
|
}
|
|
421
421
|
declare const SuccessToast: ({ message, onClose, autoClose, autoCloseDelay, isVisible: externalIsVisible, }: SuccessToastProps) => JSX.Element | null;
|
|
422
422
|
|
|
423
|
-
type NavBarProps = {
|
|
423
|
+
declare type NavBarProps = {
|
|
424
424
|
children?: React.ReactNode;
|
|
425
425
|
wrapperClassName?: string;
|
|
426
426
|
innerClassName?: string;
|
|
427
427
|
} & React.HTMLAttributes<HTMLElement>;
|
|
428
428
|
declare const NavBar: ({ children, wrapperClassName, innerClassName, ...rest }: NavBarProps) => JSX.Element;
|
|
429
429
|
|
|
430
|
-
type ModalProps = {
|
|
430
|
+
declare type ModalProps = {
|
|
431
431
|
isOpen: boolean;
|
|
432
432
|
type?: "left" | "right" | "center";
|
|
433
433
|
onClose?: () => void;
|
|
@@ -439,7 +439,7 @@ type ModalProps = {
|
|
|
439
439
|
};
|
|
440
440
|
declare const Modal: ({ isOpen, type, onClose, widthClassName, children, overlayClassName, modalClassName, stayMounted, }: ModalProps) => JSX.Element | null;
|
|
441
441
|
|
|
442
|
-
type PopupWrapperProps = {
|
|
442
|
+
declare type PopupWrapperProps = {
|
|
443
443
|
children?: React.ReactNode;
|
|
444
444
|
className?: string;
|
|
445
445
|
isOpen: boolean;
|
|
@@ -449,7 +449,7 @@ type PopupWrapperProps = {
|
|
|
449
449
|
} & React.HTMLAttributes<HTMLElement>;
|
|
450
450
|
declare const PopupWrapper: ({ children, className, isOpen, stayMounted, closePopup, hasClosePopup, ...rest }: PopupWrapperProps) => JSX.Element | null;
|
|
451
451
|
|
|
452
|
-
type LayoutProps = {
|
|
452
|
+
declare type LayoutProps = {
|
|
453
453
|
children: React.ReactNode;
|
|
454
454
|
wrapperClassName?: string;
|
|
455
455
|
navClassName?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -176,11 +176,11 @@ interface SingleListInputProps {
|
|
|
176
176
|
}
|
|
177
177
|
declare const SingleListInput: React$1.FC<SingleListInputProps>;
|
|
178
178
|
|
|
179
|
-
type Option = {
|
|
179
|
+
declare type Option = {
|
|
180
180
|
id: string;
|
|
181
181
|
name: string;
|
|
182
182
|
};
|
|
183
|
-
type SingleSelectDropdownProps = {
|
|
183
|
+
declare type SingleSelectDropdownProps = {
|
|
184
184
|
label?: string;
|
|
185
185
|
value: string | null;
|
|
186
186
|
onChange: (value: string) => void;
|
|
@@ -420,14 +420,14 @@ interface SuccessToastProps {
|
|
|
420
420
|
}
|
|
421
421
|
declare const SuccessToast: ({ message, onClose, autoClose, autoCloseDelay, isVisible: externalIsVisible, }: SuccessToastProps) => JSX.Element | null;
|
|
422
422
|
|
|
423
|
-
type NavBarProps = {
|
|
423
|
+
declare type NavBarProps = {
|
|
424
424
|
children?: React.ReactNode;
|
|
425
425
|
wrapperClassName?: string;
|
|
426
426
|
innerClassName?: string;
|
|
427
427
|
} & React.HTMLAttributes<HTMLElement>;
|
|
428
428
|
declare const NavBar: ({ children, wrapperClassName, innerClassName, ...rest }: NavBarProps) => JSX.Element;
|
|
429
429
|
|
|
430
|
-
type ModalProps = {
|
|
430
|
+
declare type ModalProps = {
|
|
431
431
|
isOpen: boolean;
|
|
432
432
|
type?: "left" | "right" | "center";
|
|
433
433
|
onClose?: () => void;
|
|
@@ -439,7 +439,7 @@ type ModalProps = {
|
|
|
439
439
|
};
|
|
440
440
|
declare const Modal: ({ isOpen, type, onClose, widthClassName, children, overlayClassName, modalClassName, stayMounted, }: ModalProps) => JSX.Element | null;
|
|
441
441
|
|
|
442
|
-
type PopupWrapperProps = {
|
|
442
|
+
declare type PopupWrapperProps = {
|
|
443
443
|
children?: React.ReactNode;
|
|
444
444
|
className?: string;
|
|
445
445
|
isOpen: boolean;
|
|
@@ -449,7 +449,7 @@ type PopupWrapperProps = {
|
|
|
449
449
|
} & React.HTMLAttributes<HTMLElement>;
|
|
450
450
|
declare const PopupWrapper: ({ children, className, isOpen, stayMounted, closePopup, hasClosePopup, ...rest }: PopupWrapperProps) => JSX.Element | null;
|
|
451
451
|
|
|
452
|
-
type LayoutProps = {
|
|
452
|
+
declare type LayoutProps = {
|
|
453
453
|
children: React.ReactNode;
|
|
454
454
|
wrapperClassName?: string;
|
|
455
455
|
navClassName?: string;
|
package/dist/index.js
CHANGED
|
@@ -434,6 +434,7 @@ var LineChart = ({
|
|
|
434
434
|
label: labelPopupTitle,
|
|
435
435
|
data: values,
|
|
436
436
|
borderColor: lineColor,
|
|
437
|
+
borderWidth: 2,
|
|
437
438
|
backgroundColor: (context) => {
|
|
438
439
|
if (!context.chart.chartArea) return "rgba(23, 202, 67, 0.5)";
|
|
439
440
|
const { ctx, chartArea } = context.chart;
|
|
@@ -3609,9 +3610,9 @@ var Pagination = ({
|
|
|
3609
3610
|
forcePage: currentPage - 1,
|
|
3610
3611
|
containerClassName: "flex items-center gap-2",
|
|
3611
3612
|
pageClassName: "min-w-[32px] w-auto h-[32px] flex items-center justify-center rounded-md",
|
|
3612
|
-
pageLinkClassName: "w-full h-full flex items-center justify-center
|
|
3613
|
-
activeClassName: "bg-[#4062E5] rounded-md cursor-default pointer-events-none",
|
|
3614
|
-
activeLinkClassName: "text-white",
|
|
3613
|
+
pageLinkClassName: "w-full h-full flex items-center justify-center hover:bg-[#ECEFFC] rounded-md cursor-pointer text-[#4062E5]",
|
|
3614
|
+
activeClassName: "bg-[#4062E5] rounded-md cursor-default pointer-events-none text-white",
|
|
3615
|
+
activeLinkClassName: "!text-white",
|
|
3615
3616
|
previousClassName: "min-w-[32px] w-auto h-[32px] flex items-center justify-center rounded-md",
|
|
3616
3617
|
previousLinkClassName: "w-full h-full flex items-center justify-center pagination-color hover:bg-[#ECEFFC] rounded-md cursor-pointer disabled:text-gray-300",
|
|
3617
3618
|
nextClassName: "min-w-[32px] w-auto h-[32px] flex items-center justify-center rounded-md",
|