@talogic/react 0.12.0 → 0.14.0
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/app/app-shell.component.d.ts +6 -2
- package/index.js +690 -709
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/talogic-react.css +1 -1
- package/tokens.css +1 -15
- package/ui/navigation/tabs.component.d.ts +5 -7
|
@@ -85,6 +85,10 @@ export interface AppShellProps {
|
|
|
85
85
|
statusBar?: ReactNode;
|
|
86
86
|
/** The commands of the palette, opened with ⌘K or Ctrl+K. Without commands, the search button and shortcut are hidden. */
|
|
87
87
|
commands?: readonly AppCommand[];
|
|
88
|
+
/** The placeholder of the palette's search field. Default: "Type a command or search…". */
|
|
89
|
+
commandPlaceholder?: string;
|
|
90
|
+
/** The text the palette shows when no command matches. Default: "No results.". */
|
|
91
|
+
commandEmpty?: ReactNode;
|
|
88
92
|
/** The page. */
|
|
89
93
|
children: ReactNode;
|
|
90
94
|
className?: string;
|
|
@@ -95,7 +99,7 @@ export interface AppShellProps {
|
|
|
95
99
|
* card and the user, beside a top bar and the page. The sidebar collapses to its icons; on a phone it opens in a
|
|
96
100
|
* sheet from the top bar. ⌘K or Ctrl+K opens the command palette; the search shows the one for the user's system.
|
|
97
101
|
*
|
|
98
|
-
* @param props - Product, navigation, user, top bar, commands and the page.
|
|
102
|
+
* @param props - Product, navigation, user, top bar, commands with their palette texts, and the page.
|
|
99
103
|
* @returns The shell.
|
|
100
104
|
*/
|
|
101
|
-
export declare function AppShell({ product, brand, workspace, onProductChange, nav, secondaryNav, sidebarFooter, sidebarNote, user, breadcrumb, topActions, statusBar, commands, children, className }: AppShellProps): import("react").JSX.Element;
|
|
105
|
+
export declare function AppShell({ product, brand, workspace, onProductChange, nav, secondaryNav, sidebarFooter, sidebarNote, user, breadcrumb, topActions, statusBar, commands, commandPlaceholder, commandEmpty, children, className }: AppShellProps): import("react").JSX.Element;
|