@xylabs/react-scroll-to-top 6.3.6 → 6.3.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.
@@ -0,0 +1,12 @@
1
+ import { ZoomProps } from '@mui/material';
2
+ import React from 'react';
3
+
4
+ declare const ScrollToTop: () => null;
5
+
6
+ interface ScrollToTopButtonProps extends ZoomProps {
7
+ anchorId: string;
8
+ }
9
+ declare const ScrollToTopButton: React.FC<ScrollToTopButtonProps>;
10
+
11
+ export { ScrollToTop, ScrollToTopButton };
12
+ export type { ScrollToTopButtonProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xylabs/react-scroll-to-top",
3
- "version": "6.3.6",
3
+ "version": "6.3.8",
4
4
  "description": "Common React library for all XY Labs projects that use React",
5
5
  "keywords": [
6
6
  "utility",
@@ -26,24 +26,24 @@
26
26
  "type": "module",
27
27
  "exports": {
28
28
  ".": {
29
- "types": "./dist/types/index.d.ts",
29
+ "types": "./dist/browser/index.d.ts",
30
30
  "default": "./dist/browser/index.mjs"
31
31
  },
32
32
  "./package.json": "./package.json"
33
33
  },
34
34
  "module": "./dist/browser/index.mjs",
35
- "types": "dist/types/index.d.ts",
35
+ "types": "dist/browser/index.d.ts",
36
36
  "workspaces": [
37
37
  "packages/*"
38
38
  ],
39
39
  "dependencies": {
40
- "react-router-dom": "^7.6.2"
40
+ "react-router-dom": "^7.6.3"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/react": "^19.1.8",
44
- "@xylabs/ts-scripts-yarn3": "^6.5.8",
45
- "@xylabs/tsconfig-react": "^6.5.8",
46
- "knip": "^5.61.2",
44
+ "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.8",
45
+ "@xylabs/tsconfig-react": "^7.0.0-rc.8",
46
+ "knip": "^5.61.3",
47
47
  "react": "^19.1.0",
48
48
  "react-dom": "^19.1.0",
49
49
  "typescript": "^5.8.3"
@@ -1,2 +0,0 @@
1
- export declare const ScrollToTop: () => null;
2
- //# sourceMappingURL=ScrollToTop.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ScrollToTop.d.ts","sourceRoot":"","sources":["../../src/ScrollToTop.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW,YAOvB,CAAA"}
@@ -1,7 +0,0 @@
1
- import type { ZoomProps } from '@mui/material';
2
- import React from 'react';
3
- export interface ScrollToTopButtonProps extends ZoomProps {
4
- anchorId: string;
5
- }
6
- export declare const ScrollToTopButton: React.FC<ScrollToTopButtonProps>;
7
- //# sourceMappingURL=ScrollToTopButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ScrollToTopButton.d.ts","sourceRoot":"","sources":["../../src/ScrollToTopButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAI9C,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,sBAAuB,SAAQ,SAAS;IACvD,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAyB9D,CAAA"}
@@ -1,3 +0,0 @@
1
- export * from './ScrollToTop.tsx';
2
- export * from './ScrollToTopButton.tsx';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA"}