@superdangerous/app-framework 4.16.19 → 4.16.22
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 +1 -1
- package/package.json +1 -1
- package/ui/dist/index.d.mts +9 -1
- package/ui/dist/index.d.ts +9 -1
- package/ui/dist/index.js +34 -34
- package/ui/dist/index.js.map +1 -1
- package/ui/dist/index.mjs +34 -34
- package/ui/dist/index.mjs.map +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ A comprehensive, production-ready framework for building enterprise internal too
|
|
|
13
13
|
### Features
|
|
14
14
|
|
|
15
15
|
- **[WebSocket](./docs/WEBSOCKET.md)** - Real-time communication implementation
|
|
16
|
-
- **[Desktop](./docs/DESKTOP.md)** - Desktop application support with
|
|
16
|
+
- **[Desktop](./docs/DESKTOP.md)** - Desktop application support with Electron
|
|
17
17
|
- **[Bundling](./docs/BUNDLING.md)** - Desktop bundling guide
|
|
18
18
|
- **[AI](./docs/AI.md)** - AI service integration
|
|
19
19
|
- **[Patterns](./docs/PATTERNS.md)** - Proven architectural patterns
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdangerous/app-framework",
|
|
3
|
-
"version": "4.16.
|
|
3
|
+
"version": "4.16.22",
|
|
4
4
|
"description": "Opinionated TypeScript framework for structured vibecoding - building internal web and desktop apps with batteries included",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
package/ui/dist/index.d.mts
CHANGED
|
@@ -747,12 +747,20 @@ interface AppLayoutProps {
|
|
|
747
747
|
connectionStatusUrl?: string;
|
|
748
748
|
className?: string;
|
|
749
749
|
primaryColor?: string;
|
|
750
|
+
/** 'stacked' = current two-row layout (default), 'inline' = nav beside logo in one row */
|
|
751
|
+
navLayout?: 'stacked' | 'inline';
|
|
752
|
+
/** 'bar' = current full-width bg block (default), 'pill' = rounded pill highlight */
|
|
753
|
+
navActiveStyle?: 'bar' | 'pill';
|
|
754
|
+
/** Custom class for the <header> element (replaces default 'bg-black') */
|
|
755
|
+
headerClassName?: string;
|
|
756
|
+
/** Custom class for the <nav> element (replaces default 'bg-[#444444]'); unused in inline mode */
|
|
757
|
+
navClassName?: string;
|
|
750
758
|
}
|
|
751
759
|
/**
|
|
752
760
|
* Standardized application layout for web apps
|
|
753
761
|
* Provides consistent header, navigation, and connection status
|
|
754
762
|
*/
|
|
755
|
-
declare function AppLayout({ appName, appVersion, navigation, children, logoSrc, logoClassName, logoOffset, headerHeight, showLogout, onLogout, authenticated, connectionStatusUrl, className, primaryColor }: AppLayoutProps): react_jsx_runtime.JSX.Element;
|
|
763
|
+
declare function AppLayout({ appName, appVersion, navigation, children, logoSrc, logoClassName, logoOffset, headerHeight, showLogout, onLogout, authenticated, connectionStatusUrl, className, primaryColor, navLayout, navActiveStyle, headerClassName, navClassName }: AppLayoutProps): react_jsx_runtime.JSX.Element;
|
|
756
764
|
/**
|
|
757
765
|
* Layout with sidebar navigation (alternative layout style)
|
|
758
766
|
*/
|
package/ui/dist/index.d.ts
CHANGED
|
@@ -747,12 +747,20 @@ interface AppLayoutProps {
|
|
|
747
747
|
connectionStatusUrl?: string;
|
|
748
748
|
className?: string;
|
|
749
749
|
primaryColor?: string;
|
|
750
|
+
/** 'stacked' = current two-row layout (default), 'inline' = nav beside logo in one row */
|
|
751
|
+
navLayout?: 'stacked' | 'inline';
|
|
752
|
+
/** 'bar' = current full-width bg block (default), 'pill' = rounded pill highlight */
|
|
753
|
+
navActiveStyle?: 'bar' | 'pill';
|
|
754
|
+
/** Custom class for the <header> element (replaces default 'bg-black') */
|
|
755
|
+
headerClassName?: string;
|
|
756
|
+
/** Custom class for the <nav> element (replaces default 'bg-[#444444]'); unused in inline mode */
|
|
757
|
+
navClassName?: string;
|
|
750
758
|
}
|
|
751
759
|
/**
|
|
752
760
|
* Standardized application layout for web apps
|
|
753
761
|
* Provides consistent header, navigation, and connection status
|
|
754
762
|
*/
|
|
755
|
-
declare function AppLayout({ appName, appVersion, navigation, children, logoSrc, logoClassName, logoOffset, headerHeight, showLogout, onLogout, authenticated, connectionStatusUrl, className, primaryColor }: AppLayoutProps): react_jsx_runtime.JSX.Element;
|
|
763
|
+
declare function AppLayout({ appName, appVersion, navigation, children, logoSrc, logoClassName, logoOffset, headerHeight, showLogout, onLogout, authenticated, connectionStatusUrl, className, primaryColor, navLayout, navActiveStyle, headerClassName, navClassName }: AppLayoutProps): react_jsx_runtime.JSX.Element;
|
|
756
764
|
/**
|
|
757
765
|
* Layout with sidebar navigation (alternative layout style)
|
|
758
766
|
*/
|