Skip to content

Commit

Permalink
feat: expose sidebar context (#66)
Browse files Browse the repository at this point in the history
* feat: expose sidebarV2 context

* chore: bump v0.10.1

* chore: bump version
  • Loading branch information
rianmandala authored Nov 1, 2024
1 parent 5ff93b0 commit 0782b4c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"packages": ["packages/*"],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "0.10.0",
"version": "0.10.1",
"command": {
"version": {
"message": "chore(release): publish %s"
Expand Down
2 changes: 1 addition & 1 deletion packages/apsara-icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@goto-company/icons",
"version": "0.10.0",
"version": "0.10.1",
"description": "Apsara icons",
"scripts": {
"build": "node scripts/build.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/apsara-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@goto-company/apsara",
"version": "0.10.0",
"version": "0.10.1",
"description": "A list of base components for apsara",
"author": "Praveen Yadav <[email protected]>",
"license": "Apache-2.0",
Expand Down
5 changes: 3 additions & 2 deletions packages/apsara-ui/src/SidebarV2/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export { default } from "./sidebar";
export * from "./sidebar.types";
import SidebarV2 from "./sidebar";
import { useSidebarContext as useSidebarV2Context } from "./context";
export { SidebarV2, useSidebarV2Context };
3 changes: 2 additions & 1 deletion packages/apsara-ui/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import Learn from "./Learn";
import Markdown from "./Markdown";
import ContentLayout from "./ContentLayout";
import Sidebar from "./Sidebar";
import SidebarV2 from "./SidebarV2";
import { SidebarV2, useSidebarV2Context } from "./SidebarV2";
import Drawer from "./Drawer";
import Header from "./Header";
import { ListSkeleton, EditorSkeleton, DetailsSkeleton } from "./Skeleton";
Expand Down Expand Up @@ -80,6 +80,7 @@ export {
ContentLayout,
Sidebar,
SidebarV2,
useSidebarV2Context,
Drawer,
Header,
ListSkeleton,
Expand Down

0 comments on commit 0782b4c

Please sign in to comment.