@x-wave/blog 2.8.0 → 2.9.0
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/index.js +4173 -4163
- package/package.json +2 -2
- package/utils/links.d.ts +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@x-wave/blog",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@vitejs/plugin-react-swc": "^3.10.1",
|
|
55
55
|
"sass": "^1.97.3",
|
|
56
|
-
"vite": "^6.
|
|
56
|
+
"vite": "^6.4.2",
|
|
57
57
|
"vite-plugin-dts": "^4.5.4",
|
|
58
58
|
"vite-tsconfig-paths": "^5.1.4"
|
|
59
59
|
},
|
package/utils/links.d.ts
CHANGED
|
@@ -20,6 +20,12 @@ export declare function parseSearchParams(search: string): {
|
|
|
20
20
|
advanced: boolean;
|
|
21
21
|
anchor: string;
|
|
22
22
|
};
|
|
23
|
+
/**
|
|
24
|
+
* Format URL search params while preserving `advanced` as a bare flag.
|
|
25
|
+
*/
|
|
26
|
+
export declare function formatSearchParams(searchParams: URLSearchParams, options?: {
|
|
27
|
+
advanced?: boolean;
|
|
28
|
+
}): string;
|
|
23
29
|
/**
|
|
24
30
|
* Smooth scroll to an element by ID
|
|
25
31
|
*
|