You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/definition-schema.d.ts
+34-7Lines changed: 34 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -5,38 +5,53 @@
5
5
* and run json-schema-to-typescript to regenerate this file.
6
6
*/
7
7
8
+
/**
9
+
* The header text displayed at the top of the side navigation, typically used for branding or section identification.
10
+
*/
8
11
exporttypeTitleSettings=string;
9
12
/**
10
-
* Navigation to perform on title click. Example: If you are at route /my/route/asset then 'settings/profile' routes to '/my/route/settings/profile'.
13
+
* The destination path when the title/header is clicked. Use for navigating to a home or main page. Use relative paths or enable leadingSlash for absolute routing.
11
14
*/
12
15
exporttypeTitleNavigation=string;
13
16
/**
14
-
* Whether to add a leading slash to the navigation route.
17
+
* When enabled, prepends '/' to the title's navigation route making it absolute from the root. When disabled, routes are relative to the current location.
15
18
*/
16
19
exporttypeAddLeadingSlash=boolean;
17
20
/**
18
-
* Whether to add a trailing slash to the navigation route.
21
+
* When enabled, appends '/' to the end of the title's navigation route. Required by some routing configurations.
19
22
*/
20
23
exporttypeAddTraillingSlash=boolean;
24
+
/**
25
+
* Font size in pixels for navigation item labels.
26
+
*/
21
27
exporttypeFontSize=number;
28
+
/**
29
+
* Font weight for navigation items (100=thin, 400=normal, 700=bold, 900=black).
30
+
*/
22
31
exporttypeFontWeight=number;
32
+
/**
33
+
* The text displayed for this navigation item. Should clearly describe the destination section.
34
+
*/
23
35
exporttypeLabel=string;
24
36
/**
25
-
* Name of the icon from https://fonts.google.com/icons
37
+
* Material icon name displayed alongside the label. Find icon names at https://fonts.google.com/icons (e.g., 'dashboard', 'settings', 'analytics', 'people').
26
38
*/
27
39
exporttypeIconName=string;
28
40
/**
29
-
* Navigation to perform on click. Example: If you are at route /my/route/asset then 'settings/profile' routes to '/my/route/settings/profile'.
41
+
* The destination path when this item is clicked. Use relative paths that append to the current URL, or enable leadingSlash for absolute routing.
30
42
*/
31
43
exporttypeNavigationRoute=string;
32
44
/**
33
-
* Whether to add a leading slash to the navigation route.
45
+
* When enabled, prepends '/' to this item's route making it absolute from the root.
34
46
*/
35
47
exporttypeAddLeadingSlash1=boolean;
36
48
/**
37
-
* Whether to add a trailing slash to the navigation route.
49
+
* When enabled, appends '/' to the end of this item's route.
38
50
*/
39
51
exporttypeAddTraillingSlash1=boolean;
52
+
/**
53
+
* Array of navigation links displayed vertically in the sidebar. Each item can have a label, icon, and destination route.
54
+
*/
40
55
exporttypeNavigationItems={
41
56
label?: Label;
42
57
iconName?: IconName;
@@ -46,6 +61,9 @@ export type NavigationItems = {
46
61
[k: string]: unknown;
47
62
}[];
48
63
64
+
/**
65
+
* A vertical side navigation widget for creating sidebar menus in dashboards. Use this widget to provide hierarchical or list-based navigation along the side of the dashboard. Features a clickable title/header and multiple navigation items with icons. Supports customizable styling for fonts and colors to match your dashboard theme. Ideal for applications with multiple sections, settings pages, or when you need persistent navigation that doesn't take up header space.
66
+
*/
49
67
exportinterfaceInputData{
50
68
title?: TitleSettings;
51
69
route?: TitleNavigation;
@@ -55,16 +73,25 @@ export interface InputData {
55
73
navItems?: NavigationItems;
56
74
[k: string]: unknown;
57
75
}
76
+
/**
77
+
* Global styling options applied to all navigation items in the sidebar.
78
+
*/
58
79
exportinterfaceItemStyle{
59
80
fontSize?: FontSize;
60
81
fontWeight?: FontWeight;
61
82
color?: FontColor;
62
83
backgroundColor?: BackgroundColor;
63
84
[k: string]: unknown;
64
85
}
86
+
/**
87
+
* Text color for navigation item labels and icons.
0 commit comments