@voxel51/voodo 2.8.0-responsive.1 → 2.8.0-responsive.3
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/components/DataTable/DataTable.d.ts +33 -1
- package/dist/components/DataTable/DataTable.d.ts.map +1 -1
- package/dist/components/Stack/Stack.d.ts +1 -1
- package/dist/components/Stack/Stack.d.ts.map +1 -1
- package/dist/components/Table/Table.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2822 -2753
- package/dist/index.js.map +1 -1
- package/dist/util/useScrollEdges.d.ts +12 -0
- package/dist/util/useScrollEdges.d.ts.map +1 -0
- package/dist/voodo.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Hook that fades the edge of a sideways-scrolling element on each side which
|
|
4
|
+
* has more content beyond it, so the row shows that it scrolls.
|
|
5
|
+
*
|
|
6
|
+
* @returns `ref` to attach to the scrolling element, and `style` holding the fade.
|
|
7
|
+
*/
|
|
8
|
+
export declare function useScrollEdges(): {
|
|
9
|
+
ref: (el: HTMLElement | null) => void;
|
|
10
|
+
style: CSSProperties | undefined;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=useScrollEdges.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useScrollEdges.d.ts","sourceRoot":"","sources":["../../src/util/useScrollEdges.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAiC,MAAM,OAAO,CAAC;AAY1E;;;;;GAKG;AACH,wBAAgB,cAAc,IAAI;IAChC,GAAG,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IACtC,KAAK,EAAE,aAAa,GAAG,SAAS,CAAC;CAClC,CA8BA"}
|