ssovee-os-web-ui 0.1.36 → 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/README.md CHANGED
@@ -75,7 +75,7 @@ const app = {
75
75
 
76
76
  export function NotesWindow() {
77
77
  return (
78
- <WindowWithoutSideMenu app={app} defaultSize={{ width: 420, height: 320 }}>
78
+ <WindowWithoutSideMenu app={app} defaultSize={ { width: 420, height: 320 } }>
79
79
  <Typography variant="h6">Notes</Typography>
80
80
  </WindowWithoutSideMenu>
81
81
  );
@@ -102,15 +102,15 @@ export function SettingsWindow() {
102
102
  return (
103
103
  <WindowWithSideMenu
104
104
  app={app}
105
- defaultSize={{ width: 720, height: 500 }}
106
- actionButtons={{ title: "Save", onClick: () => console.log("Saved") }}
107
- menu={{
105
+ defaultSize={ { width: 720, height: 500 } }
106
+ actionButtons={ { title: "Save", onClick: () => console.log("Saved") } }
107
+ menu={ {
108
108
  title: "Navigation",
109
109
  items: [
110
110
  { title: "Profile", icon: "👤", onClick: () => console.log("Profile"), isActive: true },
111
111
  { title: "Security", icon: "🔒", onClick: () => console.log("Security") },
112
112
  ],
113
- }}
113
+ } }
114
114
  >
115
115
  <Typography variant="h6">Settings</Typography>
116
116
  <Button variant="primary">Update</Button>
@@ -126,7 +126,7 @@ import { Skeleton } from "ssovee-os-web-ui";
126
126
 
127
127
  export function LoadingState() {
128
128
  return (
129
- <div style={{ display: "grid", gap: 12 }}>
129
+ <div style={ { display: "grid", gap: 12 } }>
130
130
  <Skeleton variant="text" lines={3} />
131
131
  <Skeleton variant="avatar" className="h-12 w-12" />
132
132
  <Skeleton variant="image" className="h-40" />