@julseb-lib/react 1.0.10 → 1.0.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.cjs +34 -25
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.js +34 -25
- package/dist/index.js.map +1 -1
- package/dist/types/components-props.d.cts +17 -14
- package/dist/types/components-props.d.ts +17 -14
- package/package.json +1 -1
|
@@ -496,6 +496,9 @@ type ILibRatingBase = Omit<LibComponentBase<HTMLDivElement>, "element"> & Omit<I
|
|
|
496
496
|
default?: ReactElement$2;
|
|
497
497
|
checked?: ReactElement$2;
|
|
498
498
|
};
|
|
499
|
+
iconsSize?: number;
|
|
500
|
+
accentColor?: LibColorsHover;
|
|
501
|
+
gap?: LibSpacers;
|
|
499
502
|
children?: never;
|
|
500
503
|
};
|
|
501
504
|
type RatingEditable = ILibRatingBase & {
|
|
@@ -805,6 +808,18 @@ interface ILibTabs extends LibComponentBase<HTMLDivElement> {
|
|
|
805
808
|
children?: never;
|
|
806
809
|
}
|
|
807
810
|
|
|
811
|
+
interface ILibSlideshowPagination {
|
|
812
|
+
position?: LibSlideshowPaginationPosition;
|
|
813
|
+
hideOnTouch?: boolean;
|
|
814
|
+
color?: LibColorsHover;
|
|
815
|
+
type?: LibSlideshowPagination;
|
|
816
|
+
className?: ClassNames;
|
|
817
|
+
images?: Array<string>;
|
|
818
|
+
active: number;
|
|
819
|
+
setActive: DispatchState<number>;
|
|
820
|
+
contentLength: number;
|
|
821
|
+
handleClick: (n: number) => void;
|
|
822
|
+
}
|
|
808
823
|
interface ILibPaginationControls {
|
|
809
824
|
className?: string;
|
|
810
825
|
size?: LibSlideshowButtonsSize;
|
|
@@ -821,18 +836,6 @@ interface ILibPaginationOptions {
|
|
|
821
836
|
autoPlay?: number;
|
|
822
837
|
speed?: number;
|
|
823
838
|
}
|
|
824
|
-
interface ILibSlideshowPagination {
|
|
825
|
-
position?: LibSlideshowPaginationPosition;
|
|
826
|
-
hideOnTouch?: boolean;
|
|
827
|
-
color?: LibColorsHover;
|
|
828
|
-
type?: LibSlideshowPagination;
|
|
829
|
-
}
|
|
830
|
-
interface ILibSlideshowPagination extends Pick<ILibSlideshow, "className" | "pagination" | "images" | "hidePagination"> {
|
|
831
|
-
active: number;
|
|
832
|
-
setActive: DispatchState<number>;
|
|
833
|
-
contentLength: number;
|
|
834
|
-
handleClick: (n: number) => void;
|
|
835
|
-
}
|
|
836
839
|
|
|
837
840
|
interface ILibSlideshowBase extends LibComponentBase<HTMLDivElement> {
|
|
838
841
|
imgFit?: CssObjectFit;
|
|
@@ -844,12 +847,12 @@ interface ILibSlideshowBase extends LibComponentBase<HTMLDivElement> {
|
|
|
844
847
|
}
|
|
845
848
|
interface SlideshowWithImages extends ILibSlideshowBase {
|
|
846
849
|
images?: Array<string>;
|
|
847
|
-
pagination?: Pick<Partial<ILibSlideshowPagination>, "color" | "className" | "hideOnTouch" | "images" | "
|
|
850
|
+
pagination?: Pick<Partial<ILibSlideshowPagination>, "color" | "className" | "hideOnTouch" | "images" | "position" | "type">;
|
|
848
851
|
children?: never;
|
|
849
852
|
}
|
|
850
853
|
interface SlideshowWithChildren extends ILibSlideshowBase {
|
|
851
854
|
images?: never;
|
|
852
|
-
pagination?: Pick<Partial<ILibSlideshowPagination>, "color" | "className" | "hideOnTouch" | "images" | "
|
|
855
|
+
pagination?: Pick<Partial<ILibSlideshowPagination>, "color" | "className" | "hideOnTouch" | "images" | "position" | "type">;
|
|
853
856
|
children?: Array<ReactNode>;
|
|
854
857
|
}
|
|
855
858
|
type ILibSlideshow = SlideshowWithImages | SlideshowWithChildren;
|
|
@@ -496,6 +496,9 @@ type ILibRatingBase = Omit<LibComponentBase<HTMLDivElement>, "element"> & Omit<I
|
|
|
496
496
|
default?: ReactElement$2;
|
|
497
497
|
checked?: ReactElement$2;
|
|
498
498
|
};
|
|
499
|
+
iconsSize?: number;
|
|
500
|
+
accentColor?: LibColorsHover;
|
|
501
|
+
gap?: LibSpacers;
|
|
499
502
|
children?: never;
|
|
500
503
|
};
|
|
501
504
|
type RatingEditable = ILibRatingBase & {
|
|
@@ -805,6 +808,18 @@ interface ILibTabs extends LibComponentBase<HTMLDivElement> {
|
|
|
805
808
|
children?: never;
|
|
806
809
|
}
|
|
807
810
|
|
|
811
|
+
interface ILibSlideshowPagination {
|
|
812
|
+
position?: LibSlideshowPaginationPosition;
|
|
813
|
+
hideOnTouch?: boolean;
|
|
814
|
+
color?: LibColorsHover;
|
|
815
|
+
type?: LibSlideshowPagination;
|
|
816
|
+
className?: ClassNames;
|
|
817
|
+
images?: Array<string>;
|
|
818
|
+
active: number;
|
|
819
|
+
setActive: DispatchState<number>;
|
|
820
|
+
contentLength: number;
|
|
821
|
+
handleClick: (n: number) => void;
|
|
822
|
+
}
|
|
808
823
|
interface ILibPaginationControls {
|
|
809
824
|
className?: string;
|
|
810
825
|
size?: LibSlideshowButtonsSize;
|
|
@@ -821,18 +836,6 @@ interface ILibPaginationOptions {
|
|
|
821
836
|
autoPlay?: number;
|
|
822
837
|
speed?: number;
|
|
823
838
|
}
|
|
824
|
-
interface ILibSlideshowPagination {
|
|
825
|
-
position?: LibSlideshowPaginationPosition;
|
|
826
|
-
hideOnTouch?: boolean;
|
|
827
|
-
color?: LibColorsHover;
|
|
828
|
-
type?: LibSlideshowPagination;
|
|
829
|
-
}
|
|
830
|
-
interface ILibSlideshowPagination extends Pick<ILibSlideshow, "className" | "pagination" | "images" | "hidePagination"> {
|
|
831
|
-
active: number;
|
|
832
|
-
setActive: DispatchState<number>;
|
|
833
|
-
contentLength: number;
|
|
834
|
-
handleClick: (n: number) => void;
|
|
835
|
-
}
|
|
836
839
|
|
|
837
840
|
interface ILibSlideshowBase extends LibComponentBase<HTMLDivElement> {
|
|
838
841
|
imgFit?: CssObjectFit;
|
|
@@ -844,12 +847,12 @@ interface ILibSlideshowBase extends LibComponentBase<HTMLDivElement> {
|
|
|
844
847
|
}
|
|
845
848
|
interface SlideshowWithImages extends ILibSlideshowBase {
|
|
846
849
|
images?: Array<string>;
|
|
847
|
-
pagination?: Pick<Partial<ILibSlideshowPagination>, "color" | "className" | "hideOnTouch" | "images" | "
|
|
850
|
+
pagination?: Pick<Partial<ILibSlideshowPagination>, "color" | "className" | "hideOnTouch" | "images" | "position" | "type">;
|
|
848
851
|
children?: never;
|
|
849
852
|
}
|
|
850
853
|
interface SlideshowWithChildren extends ILibSlideshowBase {
|
|
851
854
|
images?: never;
|
|
852
|
-
pagination?: Pick<Partial<ILibSlideshowPagination>, "color" | "className" | "hideOnTouch" | "images" | "
|
|
855
|
+
pagination?: Pick<Partial<ILibSlideshowPagination>, "color" | "className" | "hideOnTouch" | "images" | "position" | "type">;
|
|
853
856
|
children?: Array<ReactNode>;
|
|
854
857
|
}
|
|
855
858
|
type ILibSlideshow = SlideshowWithImages | SlideshowWithChildren;
|