Skip to content

Commit 419b11d

Browse files
docs(appframe,appframesidenav): update component names
1 parent 9769f07 commit 419b11d

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

components/appframe/stories/appframe.stories.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import { Template } from "./template.js";
33

44
/**
55
* The app frame component is a starting point for an app's overall layout. It contains the header, side navigation, and main content area.
6-
*
6+
*
77
* ⚠️ This is currently an early prototype based on a draft version of design specs.
88
*/
99
export default {
10-
title: "Components/App frame",
10+
title: "App frame",
1111
component: "AppFrame",
1212
argTypes: {
1313
hasSideNavigation: {

components/appframesidenav/stories/appframesidenav.stories.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import { Template, defaultSideNavItems } from "./template.js";
44
* The app frame side navigation has a series of navigation items with an icon and a text label and can be
55
* viewed expanded or minimized with icons only. It has an option for a button above the navigation items,
66
* and for some navigation item(s) to be displayed at the vertical end.
7-
*
7+
*
88
* ⚠️ This is currently an early prototype based on a draft version of design specs.
99
*/
1010
export default {
11-
title: "Components/App frame side nav",
12-
component: "App frame side nav",
11+
title: "App frame side nav",
12+
component: "AppFrameSideNav",
1313
argTypes: {
1414
isMinimized: {
1515
name: "Minimized (icons only)",
@@ -67,9 +67,9 @@ Default.args = {};
6767
/**
6868
* Some navigation items can be displayed at the vertical "end section" when the navigation is taller than the height of its content.
6969
* 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.
7171
* All subsequent list items will appear in the end section.
72-
*
72+
*
7373
* This behavior is demonstrated in the following example by setting a minimum height on the navigation.
7474
*/
7575
export const EndSection = Template.bind({});
@@ -81,12 +81,12 @@ EndSection.args = {
8181

8282
/**
8383
* The minimized version of the app frame side nav only displays the icons.
84-
*
84+
*
8585
* Accessibility notes:
8686
* - The text labels should still be present for screen readers.
8787
* - Implementations should show the text label on hover in a popover [WIP; this needs more info].
8888
*/
8989
export const Minimized = Template.bind({});
9090
Minimized.args = {
9191
isMinimized: true,
92-
};
92+
};

0 commit comments

Comments
 (0)