@campxdev/react-blueprint 0.1.38 → 0.1.39

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campxdev/react-blueprint",
3
- "version": "0.1.38",
3
+ "version": "0.1.39",
4
4
  "main": "./export.ts",
5
5
  "private": false,
6
6
  "dependencies": {
@@ -1,11 +1,11 @@
1
- import { Meta, StoryObj } from "@storybook/react";
2
1
  import { Box } from "@mui/material";
3
- import { FloatingSidebar, Icons } from "../../components/export";
2
+ import { Meta, StoryObj } from "@storybook/react";
3
+ import { Icons, Sidebar } from "../../components/export";
4
4
 
5
- // Define the default export with Meta type including the component type
6
- const meta: Meta<typeof FloatingSidebar> = {
5
+ // Define the default export Sidebar Meta type including the component type
6
+ const meta: Meta<typeof Sidebar> = {
7
7
  title: "Navigation/FloatingSidebar",
8
- component: FloatingSidebar,
8
+ component: Sidebar,
9
9
  decorators: [
10
10
  (Story) => (
11
11
  <Box
@@ -28,11 +28,11 @@ const meta: Meta<typeof FloatingSidebar> = {
28
28
  };
29
29
 
30
30
  export default meta;
31
- type Story = StoryObj<typeof FloatingSidebar>;
31
+ type Story = StoryObj<typeof Sidebar>;
32
32
 
33
33
  // Primary story
34
34
  export const Primary: Story = {
35
- render: (args) => <FloatingSidebar {...args} />,
35
+ render: (args) => <Sidebar {...args} />,
36
36
  args: {
37
37
  menu: [
38
38
  { name: "Home", path: "/home", icon: Icons.DashBoardIcon },