@scalar/sidebar 0.8.11 → 0.8.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/components/ScalarSidebar.vue.d.ts +2 -2
- package/dist/components/SidebarItem.vue.d.ts +2 -2
- package/dist/components/SidebarItemLabel.vue.d.ts +1 -1
- package/dist/helpers/filter-items.d.ts +1 -1
- package/dist/helpers/has-children.d.ts +1 -1
- package/dist/helpers/is-sidebar-folder.d.ts +1 -1
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DraggingItem, HoveredItem, UseDraggableOptions } from '
|
|
2
|
-
import type { Item, Layout } from '
|
|
1
|
+
import type { DraggingItem, HoveredItem, UseDraggableOptions } from '../hooks/use-draggable';
|
|
2
|
+
import type { Item, Layout } from '../types';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
/**
|
|
5
5
|
* Layout type for the sidebar.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type DraggingItem, type HoveredItem, type UseDraggableOptions } from '
|
|
2
|
-
import type { Item, Layout } from '
|
|
1
|
+
import { type DraggingItem, type HoveredItem, type UseDraggableOptions } from '../hooks/use-draggable';
|
|
2
|
+
import type { Item, Layout } from '../types';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
/**
|
|
5
5
|
* The sidebar item to render.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { Item, Layout } from '
|
|
1
|
+
import type { Item, Layout } from '../types';
|
|
2
2
|
export declare const filterItems: (layout: Layout, items: Item[]) => import("@scalar/workspace-store/schemas/navigation").TraversedEntry[];
|
|
3
3
|
//# sourceMappingURL=filter-items.d.ts.map
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"url": "git+https://github.com/scalar/scalar.git",
|
|
11
11
|
"directory": "packages/sidebar"
|
|
12
12
|
},
|
|
13
|
-
"version": "0.8.
|
|
13
|
+
"version": "0.8.12",
|
|
14
14
|
"engines": {
|
|
15
15
|
"node": ">=22"
|
|
16
16
|
},
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"vue": "^3.5.26",
|
|
34
|
-
"@scalar/
|
|
35
|
-
"@scalar/icons": "0.6.
|
|
36
|
-
"@scalar/use-hooks": "0.4.1",
|
|
34
|
+
"@scalar/helpers": "0.4.2",
|
|
35
|
+
"@scalar/icons": "0.6.3",
|
|
37
36
|
"@scalar/themes": "0.15.1",
|
|
37
|
+
"@scalar/components": "0.20.12",
|
|
38
38
|
"@scalar/workspace-store": "0.40.4",
|
|
39
|
-
"@scalar/
|
|
39
|
+
"@scalar/use-hooks": "0.4.1"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@tailwindcss/vite": "^4.2.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"vitest": "4.1.0"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
|
-
"build": "vite build && vue-tsc -p tsconfig.build.json",
|
|
53
|
+
"build": "vite build && vue-tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
|
|
54
54
|
"dev": "vite ./playground -c ./vite.config.ts",
|
|
55
55
|
"test": "vitest",
|
|
56
56
|
"types:check": "vue-tsc --noEmit"
|