@@ -4,12 +4,12 @@ import { Template, defaultSideNavItems } from "./template.js";
4
4
* The app frame side navigation has a series of navigation items with an icon and a text label and can be
5
5
* viewed expanded or minimized with icons only. It has an option for a button above the navigation items,
6
6
* and for some navigation item(s) to be displayed at the vertical end.
7
- *
7
+ *
8
8
* ⚠️ This is currently an early prototype based on a draft version of design specs.
9
9
*/
10
10
export default {
11
- title : "Components/ App frame side nav" ,
12
- component : "App frame side nav " ,
11
+ title : "App frame side nav" ,
12
+ component : "AppFrameSideNav " ,
13
13
argTypes : {
14
14
isMinimized : {
15
15
name : "Minimized (icons only)" ,
@@ -67,9 +67,9 @@ Default.args = {};
67
67
/**
68
68
* Some navigation items can be displayed at the vertical "end section" when the navigation is taller than the height of its content.
69
69
* For example, in the app frame the side nav may take up the full viewport height.
70
- * The end section is designated by applying the class `spectrum-AppFrameSideNav-list-item--endSectionStart` to one of the navigation list items.
70
+ * The end section is designated by applying the class `spectrum-AppFrameSideNav-list-item--endSectionStart` to one of the navigation list items.
71
71
* All subsequent list items will appear in the end section.
72
- *
72
+ *
73
73
* This behavior is demonstrated in the following example by setting a minimum height on the navigation.
74
74
*/
75
75
export const EndSection = Template . bind ( { } ) ;
@@ -81,12 +81,12 @@ EndSection.args = {
81
81
82
82
/**
83
83
* The minimized version of the app frame side nav only displays the icons.
84
- *
84
+ *
85
85
* Accessibility notes:
86
86
* - The text labels should still be present for screen readers.
87
87
* - Implementations should show the text label on hover in a popover [WIP; this needs more info].
88
88
*/
89
89
export const Minimized = Template . bind ( { } ) ;
90
90
Minimized . args = {
91
91
isMinimized : true ,
92
- } ;
92
+ } ;
0 commit comments