@selfdecode/sd-component-library 2.43.7 → 2.43.8
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/lib/components/containers/grid-containers/grid-container-v2/grid-container-v2.d.ts +3 -0
- package/lib/components/containers/grid-containers/grid-container-v2/index.d.ts +1 -0
- package/lib/components/containers/grid-containers/grid-container-v2/interfaces.d.ts +15 -0
- package/lib/components/tabs/tab-bar-v2/interfaces.d.ts +0 -4
- package/lib/components/tabs/tab-bar-v2/partials/tab-v2/interfaces.d.ts +1 -0
- package/lib/core/custom-hooks.d.ts +8 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GridContainerV2 } from "./grid-container-v2";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BoxProps } from "rebass";
|
|
2
|
+
export interface GridContainerV2Props extends Omit<BoxProps, "display"> {
|
|
3
|
+
/**
|
|
4
|
+
* Grid columns template.
|
|
5
|
+
*/
|
|
6
|
+
gridTemplateColumns?: string | string[];
|
|
7
|
+
/**
|
|
8
|
+
* Grid rows template.
|
|
9
|
+
*/
|
|
10
|
+
gridTemplateRows?: string | string[];
|
|
11
|
+
/**
|
|
12
|
+
* Gap between elements.
|
|
13
|
+
*/
|
|
14
|
+
gap?: string | string[];
|
|
15
|
+
}
|
|
@@ -41,3 +41,11 @@ export declare function useBreakPoints(): {
|
|
|
41
41
|
isTab: boolean;
|
|
42
42
|
isDesktop: boolean;
|
|
43
43
|
};
|
|
44
|
+
/**
|
|
45
|
+
* Provided intersection observer for the specified elements.
|
|
46
|
+
*
|
|
47
|
+
* @param rootRef Ref for the root element.
|
|
48
|
+
* @param rootMargin Margin for the root element area.
|
|
49
|
+
* @param callback Function to process intersection changes.
|
|
50
|
+
*/
|
|
51
|
+
export declare function useIntersectionObserver(rootRef: RefObject<HTMLElement>, rootMargin: string, callback: IntersectionObserverCallback): IntersectionObserver | undefined;
|
package/lib/index.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ export { MaxFrContainer } from "./components/containers/grid-containers/max-fr-c
|
|
|
53
53
|
export { MaxMaxContainer } from "./components/containers/grid-containers/max-max-container";
|
|
54
54
|
export { SectionContainer } from "./components/containers/section-container";
|
|
55
55
|
export { MaxWidthContainer } from "./components/containers/max-width-container";
|
|
56
|
+
export { GridContainerV2 as Grid } from "./components/containers/grid-containers/grid-container-v2";
|
|
56
57
|
export { CarouselSectionContainer } from "./components/carousels/carousel-section-container";
|
|
57
58
|
export { ResponsiveGridContainerT1 } from "./components/containers/responsive-containers/responsive-container-t1";
|
|
58
59
|
export { ResponsiveGridContainerT2 } from "./components/containers/responsive-containers/responsive-container-t2";
|