@slotted/react 0.1.0-beta.42 → 0.1.0-beta.43
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/dist/{app-shell-D54YkU7E.js → app-shell-DsWhsSMU.js} +3 -2
- package/dist/app-shell.js +1 -1
- package/dist/attachment-TZykYNu5.js +300 -0
- package/dist/attachment.js +2 -2
- package/dist/{avatar-group-bJaZE1_C.js → avatar-group-Bzmmj2HI.js} +2 -1
- package/dist/avatar-group.js +1 -1
- package/dist/{carousel-B9nMK7Yf.js → carousel-CRNz-T3g.js} +1 -1
- package/dist/carousel.js +1 -1
- package/dist/{command-palette-C90CzfQi.js → command-palette-Bgf5tfCI.js} +160 -156
- package/dist/command-palette.js +1 -1
- package/dist/{data-grid-D106baPp.js → data-grid-DUft3rJb.js} +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/{data-list-BA0xrySM.js → data-list-Dv3orBtf.js} +15 -15
- package/dist/data-list.js +1 -1
- package/dist/detail-panel-Cke3ZFU3.js +342 -0
- package/dist/detail-panel.js +2 -2
- package/dist/docs/action-bar.examples.md +768 -0
- package/dist/docs/action-bar.json +74 -50
- package/dist/docs/action-bar.md +49 -311
- package/dist/docs/app-shell.examples.md +1221 -64
- package/dist/docs/app-shell.json +92 -60
- package/dist/docs/app-shell.md +92 -57
- package/dist/docs/attachment.examples.md +689 -0
- package/dist/docs/attachment.json +69 -37
- package/dist/docs/attachment.md +44 -203
- package/dist/docs/avatar-group.json +111 -23
- package/dist/docs/avatar-group.md +487 -28
- package/dist/docs/button-group.json +98 -2
- package/dist/docs/button-group.md +411 -8
- package/dist/docs/calendar.examples.md +512 -0
- package/dist/docs/calendar.json +72 -24
- package/dist/docs/calendar.md +18 -147
- package/dist/docs/carousel.examples.md +868 -0
- package/dist/docs/carousel.json +58 -50
- package/dist/docs/carousel.md +66 -300
- package/dist/docs/cascader.examples.md +1269 -0
- package/dist/docs/cascader.json +72 -16
- package/dist/docs/cascader.md +78 -154
- package/dist/docs/chart.examples.md +734 -24
- package/dist/docs/chart.json +93 -13
- package/dist/docs/chart.md +28 -7
- package/dist/docs/clock.json +71 -15
- package/dist/docs/clock.md +326 -21
- package/dist/docs/code-block.json +79 -55
- package/dist/docs/code-block.md +417 -74
- package/dist/docs/color-picker.json +60 -12
- package/dist/docs/color-picker.md +245 -22
- package/dist/docs/column-manager.examples.md +764 -0
- package/dist/docs/column-manager.json +68 -12
- package/dist/docs/column-manager.md +44 -203
- package/dist/docs/command-palette.examples.md +747 -0
- package/dist/docs/command-palette.json +48 -24
- package/dist/docs/command-palette.md +60 -339
- package/dist/docs/currency-field.examples.md +355 -73
- package/dist/docs/currency-field.json +96 -64
- package/dist/docs/currency-field.md +57 -50
- package/dist/docs/dashboard-grid.examples.md +629 -0
- package/dist/docs/dashboard-grid.json +64 -16
- package/dist/docs/dashboard-grid.md +34 -152
- package/dist/docs/data-list.examples.md +1556 -0
- package/dist/docs/data-list.json +58 -18
- package/dist/docs/data-list.md +139 -224
- package/dist/docs/date-field.examples.md +543 -0
- package/dist/docs/date-field.json +64 -24
- package/dist/docs/date-field.md +22 -168
- package/dist/docs/datetime-field.examples.md +699 -0
- package/dist/docs/datetime-field.json +79 -31
- package/dist/docs/datetime-field.md +24 -269
- package/dist/docs/datetime-range-picker.examples.md +682 -0
- package/dist/docs/datetime-range-picker.json +117 -61
- package/dist/docs/datetime-range-picker.md +59 -224
- package/dist/docs/description-list.examples.md +652 -0
- package/dist/docs/description-list.json +49 -25
- package/dist/docs/description-list.md +33 -188
- package/dist/docs/detail-panel.examples.md +1177 -0
- package/dist/docs/detail-panel.json +69 -53
- package/dist/docs/detail-panel.md +114 -324
- package/dist/docs/entity-picker.examples.md +1037 -0
- package/dist/docs/entity-picker.json +66 -18
- package/dist/docs/entity-picker.md +56 -246
- package/dist/docs/event-calendar.examples.md +749 -49
- package/dist/docs/event-calendar.json +46 -22
- package/dist/docs/event-calendar.md +81 -11
- package/dist/docs/field-group.examples.md +554 -0
- package/dist/docs/field-group.json +98 -34
- package/dist/docs/field-group.md +55 -133
- package/dist/docs/filter-bar.examples.md +772 -0
- package/dist/docs/filter-bar.json +41 -25
- package/dist/docs/filter-bar.md +42 -246
- package/dist/docs/form.examples.md +579 -0
- package/dist/docs/form.json +87 -39
- package/dist/docs/form.md +53 -177
- package/dist/docs/fullscreen.examples.md +558 -0
- package/dist/docs/fullscreen.json +58 -18
- package/dist/docs/fullscreen.md +50 -169
- package/dist/docs/highlight.json +57 -25
- package/dist/docs/highlight.md +402 -50
- package/dist/docs/icon.json +85 -5
- package/dist/docs/icon.md +401 -10
- package/dist/docs/image.examples.md +670 -0
- package/dist/docs/image.json +44 -28
- package/dist/docs/image.md +24 -176
- package/dist/docs/import-export-center.examples.md +1280 -0
- package/dist/docs/import-export-center.json +67 -27
- package/dist/docs/import-export-center.md +121 -226
- package/dist/docs/list-item.examples.md +769 -0
- package/dist/docs/list-item.json +110 -38
- package/dist/docs/list-item.md +84 -201
- package/dist/docs/listbox.examples.md +858 -0
- package/dist/docs/listbox.json +76 -28
- package/dist/docs/listbox.md +41 -263
- package/dist/docs/markdown.json +79 -55
- package/dist/docs/markdown.md +581 -85
- package/dist/docs/media-viewer.examples.md +1038 -0
- package/dist/docs/media-viewer.json +70 -15
- package/dist/docs/media-viewer.md +84 -135
- package/dist/docs/message-scroller.examples.md +1193 -0
- package/dist/docs/message-scroller.json +41 -17
- package/dist/docs/message-scroller.md +80 -134
- package/dist/docs/message.examples.md +944 -0
- package/dist/docs/message.json +64 -16
- package/dist/docs/message.md +34 -326
- package/dist/docs/meter.json +58 -26
- package/dist/docs/meter.md +312 -32
- package/dist/docs/navigation-menu.examples.md +1107 -0
- package/dist/docs/navigation-menu.json +57 -41
- package/dist/docs/navigation-menu.md +105 -298
- package/dist/docs/notification-center.examples.md +1045 -0
- package/dist/docs/notification-center.json +71 -15
- package/dist/docs/notification-center.md +76 -266
- package/dist/docs/otp-input.examples.md +490 -0
- package/dist/docs/otp-input.json +65 -25
- package/dist/docs/otp-input.md +20 -191
- package/dist/docs/page-header.examples.md +1041 -0
- package/dist/docs/page-header.json +75 -43
- package/dist/docs/page-header.md +79 -291
- package/dist/docs/page.examples.md +633 -0
- package/dist/docs/page.json +48 -16
- package/dist/docs/page.md +62 -129
- package/dist/docs/prompt-composer.examples.md +630 -0
- package/dist/docs/prompt-composer.json +66 -18
- package/dist/docs/prompt-composer.md +35 -161
- package/dist/docs/prose.json +69 -37
- package/dist/docs/prose.md +393 -75
- package/dist/docs/rating.examples.md +525 -0
- package/dist/docs/rating.json +92 -28
- package/dist/docs/rating.md +27 -241
- package/dist/docs/saved-views.examples.md +1108 -0
- package/dist/docs/saved-views.json +53 -21
- package/dist/docs/saved-views.md +86 -171
- package/dist/docs/scroll-area.examples.md +837 -0
- package/dist/docs/scroll-area.json +64 -24
- package/dist/docs/scroll-area.md +57 -140
- package/dist/docs/section.examples.md +676 -0
- package/dist/docs/section.json +68 -20
- package/dist/docs/section.md +39 -162
- package/dist/docs/segmented-control.examples.md +480 -0
- package/dist/docs/segmented-control.json +76 -28
- package/dist/docs/segmented-control.md +20 -191
- package/dist/docs/side-navigation.examples.md +1468 -0
- package/dist/docs/side-navigation.json +53 -53
- package/dist/docs/side-navigation.md +79 -354
- package/dist/docs/slider.examples.md +505 -0
- package/dist/docs/slider.json +91 -51
- package/dist/docs/slider.md +47 -212
- package/dist/docs/sparkline.json +60 -36
- package/dist/docs/sparkline.md +447 -71
- package/dist/docs/split-button.examples.md +509 -0
- package/dist/docs/split-button.json +73 -41
- package/dist/docs/split-button.md +64 -194
- package/dist/docs/splitter.examples.md +921 -0
- package/dist/docs/splitter.json +94 -46
- package/dist/docs/splitter.md +75 -182
- package/dist/docs/stat-card.examples.md +725 -0
- package/dist/docs/stat-card.json +89 -41
- package/dist/docs/stat-card.md +55 -227
- package/dist/docs/status-indicator.json +80 -32
- package/dist/docs/status-indicator.md +409 -65
- package/dist/docs/stepper.json +53 -21
- package/dist/docs/stepper.md +369 -48
- package/dist/docs/table-of-contents.examples.md +550 -0
- package/dist/docs/table-of-contents.json +60 -28
- package/dist/docs/table-of-contents.md +70 -205
- package/dist/docs/tags-input.examples.md +541 -0
- package/dist/docs/tags-input.json +64 -16
- package/dist/docs/tags-input.md +15 -262
- package/dist/docs/time-field.examples.md +587 -0
- package/dist/docs/time-field.json +69 -29
- package/dist/docs/time-field.md +21 -223
- package/dist/docs/time-picker.json +117 -53
- package/dist/docs/time-picker.md +499 -54
- package/dist/docs/time-range-picker.examples.md +750 -0
- package/dist/docs/time-range-picker.json +139 -75
- package/dist/docs/time-range-picker.md +63 -225
- package/dist/docs/timeline.examples.md +617 -0
- package/dist/docs/timeline.json +44 -28
- package/dist/docs/timeline.md +34 -208
- package/dist/docs/toolbar.json +56 -16
- package/dist/docs/toolbar.md +357 -63
- package/dist/docs/top-navigation.examples.md +1206 -140
- package/dist/docs/top-navigation.json +49 -33
- package/dist/docs/top-navigation.md +87 -36
- package/dist/docs/tour.examples.md +960 -0
- package/dist/docs/tour.json +57 -25
- package/dist/docs/tour.md +60 -244
- package/dist/docs/transfer.examples.md +631 -0
- package/dist/docs/transfer.json +80 -16
- package/dist/docs/transfer.md +41 -170
- package/dist/docs/typography.json +96 -0
- package/dist/docs/typography.md +352 -4
- package/dist/docs/upload.examples.md +555 -53
- package/dist/docs/upload.json +62 -30
- package/dist/docs/upload.md +46 -11
- package/dist/docs/wizard.examples.md +1389 -0
- package/dist/docs/wizard.json +89 -49
- package/dist/docs/wizard.md +122 -263
- package/dist/{entity-picker-CC4VoC3p.js → entity-picker-C78f3Z0o.js} +9 -6
- package/dist/entity-picker.js +1 -1
- package/dist/{event-calendar-CjmF_e0H.js → event-calendar-DJPoCi-O.js} +1 -1
- package/dist/event-calendar.js +1 -1
- package/dist/{filter-bar-B3QJD7SZ.js → filter-bar-D61wiQFP.js} +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/{import-export-center-CW8YVZev.js → import-export-center-mqvmlzwB.js} +44 -36
- package/dist/import-export-center.js +1 -1
- package/dist/index.js +58 -58
- package/dist/{markdown-BdskE4-L.js → markdown-8CtV4k44.js} +2 -2
- package/dist/markdown.js +1 -1
- package/dist/{media-viewer-zEXcwfEY.js → media-viewer-C_cbuAq-.js} +64 -60
- package/dist/media-viewer.js +2 -2
- package/dist/message-P91bEGyV.js +455 -0
- package/dist/message.js +2 -2
- package/dist/{page-header-DmwBGwlm.js → page-header-jeAIQSZM.js} +103 -108
- package/dist/page-header.js +1 -1
- package/dist/section-CVTQdWBl.js +216 -0
- package/dist/section.js +2 -2
- package/dist/{segmented-control-CbK7SurB.js → segmented-control-BSMVjukr.js} +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/{side-navigation-CKRETc8E.js → side-navigation-BQzBxz2B.js} +179 -179
- package/dist/side-navigation.js +1 -1
- package/dist/{stat-card-CL3Xe6pV.js → stat-card-BpGZiFbG.js} +12 -14
- package/dist/stat-card.js +1 -1
- package/dist/{stepper-DHdrANZI.js → stepper-Cxb_tHnA.js} +130 -127
- package/dist/stepper.js +2 -2
- package/dist/styles/carousel.css +1 -1
- package/dist/styles/index.css +1 -1
- package/dist/styles.css +1 -1
- package/dist/{timeline-BiL2CXfn.js → timeline-ZngK6zLC.js} +9 -6
- package/dist/timeline.js +1 -1
- package/dist/top-navigation-YSEQzBhD.js +744 -0
- package/dist/top-navigation.js +2 -2
- package/dist/{transfer-sKUvmEKe.js → transfer-Cv5yQuTN.js} +1 -1
- package/dist/transfer.js +1 -1
- package/dist/types/attachment/attachment-parts.d.ts +24 -11
- package/dist/types/attachment/attachment-parts.d.ts.map +1 -1
- package/dist/types/attachment/attachment.d.ts +3 -3
- package/dist/types/attachment/attachment.d.ts.map +1 -1
- package/dist/types/avatar-group/avatar-group.d.ts.map +1 -1
- package/dist/types/carousel/carousel-parts.d.ts +2 -2
- package/dist/types/command-palette/command-palette.d.ts.map +1 -1
- package/dist/types/data-list/data-list.d.ts.map +1 -1
- package/dist/types/detail-panel/detail-panel-parts.d.ts +10 -3
- package/dist/types/detail-panel/detail-panel-parts.d.ts.map +1 -1
- package/dist/types/detail-panel/detail-panel.d.ts.map +1 -1
- package/dist/types/detail-panel/detail-panel.types.d.ts +7 -0
- package/dist/types/detail-panel/detail-panel.types.d.ts.map +1 -1
- package/dist/types/entity-picker/entity-picker.d.ts.map +1 -1
- package/dist/types/import-export-center/import-export-center.d.ts.map +1 -1
- package/dist/types/media-viewer/index.d.ts +2 -2
- package/dist/types/media-viewer/index.d.ts.map +1 -1
- package/dist/types/media-viewer/media-viewer-bar.d.ts +3 -1
- package/dist/types/media-viewer/media-viewer-bar.d.ts.map +1 -1
- package/dist/types/media-viewer/media-viewer.types.d.ts +1 -0
- package/dist/types/media-viewer/media-viewer.types.d.ts.map +1 -1
- package/dist/types/message/message-parts.d.ts +7 -0
- package/dist/types/message/message-parts.d.ts.map +1 -1
- package/dist/types/message/message.d.ts.map +1 -1
- package/dist/types/page-header/page-header-parts.d.ts.map +1 -1
- package/dist/types/section/section-parts.d.ts +16 -8
- package/dist/types/section/section-parts.d.ts.map +1 -1
- package/dist/types/section/section.d.ts.map +1 -1
- package/dist/types/segmented-control/segmented-control-parts.d.ts.map +1 -1
- package/dist/types/side-navigation/side-navigation-parts.d.ts.map +1 -1
- package/dist/types/stat-card/stat-card-delta.d.ts.map +1 -1
- package/dist/types/stat-card/stat-card-parts.d.ts +3 -3
- package/dist/types/stat-card/stat-card-parts.d.ts.map +1 -1
- package/dist/types/stepper/stepper-parts.d.ts +11 -2
- package/dist/types/stepper/stepper-parts.d.ts.map +1 -1
- package/dist/types/stepper/stepper.d.ts.map +1 -1
- package/dist/types/timeline/timeline-parts.d.ts.map +1 -1
- package/dist/types/top-navigation/top-navigation.d.ts.map +1 -1
- package/dist/{wizard-4c0X7Bx_.js → wizard-Dfryz1id.js} +214 -214
- package/dist/wizard.js +1 -1
- package/package.json +6 -6
- package/dist/attachment-MqczA38F.js +0 -292
- package/dist/detail-panel-EImAtksY.js +0 -327
- package/dist/message-D1Dd6Y2k.js +0 -452
- package/dist/section-D_qOfdxR.js +0 -213
- package/dist/top-navigation-D8IHPOmm.js +0 -744
|
@@ -0,0 +1,1468 @@
|
|
|
1
|
+
<!-- index: ./index.md -->
|
|
2
|
+
# side-navigation
|
|
3
|
+
|
|
4
|
+
`data-ui="side-navigation"` · Vertical navigation with groups and counts.
|
|
5
|
+
|
|
6
|
+
## Examples
|
|
7
|
+
|
|
8
|
+
### Playground
|
|
9
|
+
|
|
10
|
+
One column with every axis on it, driven by the controls below the canvas. Tab reaches every row; the arrows walk them.
|
|
11
|
+
|
|
12
|
+
Excerpt — not a complete module
|
|
13
|
+
|
|
14
|
+
```tsx
|
|
15
|
+
<SideNavigation defaultValue="loads">
|
|
16
|
+
<SideNavigationList>
|
|
17
|
+
<SideNavigationItem value="dashboard">
|
|
18
|
+
<SideNavigationLink href="/dashboard">
|
|
19
|
+
<SideNavigationIcon>
|
|
20
|
+
<ChartNoAxesColumn />
|
|
21
|
+
</SideNavigationIcon>
|
|
22
|
+
<SideNavigationLabel>Dashboard</SideNavigationLabel>
|
|
23
|
+
</SideNavigationLink>
|
|
24
|
+
</SideNavigationItem>
|
|
25
|
+
<SideNavigationItem value="loads">
|
|
26
|
+
<SideNavigationLink href="/loads">
|
|
27
|
+
<SideNavigationIcon>
|
|
28
|
+
<Package />
|
|
29
|
+
</SideNavigationIcon>
|
|
30
|
+
<SideNavigationLabel>Loads</SideNavigationLabel>
|
|
31
|
+
<SideNavigationCount>12</SideNavigationCount>
|
|
32
|
+
</SideNavigationLink>
|
|
33
|
+
</SideNavigationItem>
|
|
34
|
+
</SideNavigationList>
|
|
35
|
+
</SideNavigation>;
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Every part, drawn as its own name
|
|
39
|
+
|
|
40
|
+
The frame with no product in it: each part the contract declares, labelled, so the box SideNavigation draws can be told from the product’s content.
|
|
41
|
+
|
|
42
|
+
Excerpt — not a complete module
|
|
43
|
+
|
|
44
|
+
```tsx
|
|
45
|
+
<SideNavigation>
|
|
46
|
+
<SideNavigationSection>
|
|
47
|
+
<SideNavigationSectionLabel>section-label</SideNavigationSectionLabel>
|
|
48
|
+
<SideNavigationList>
|
|
49
|
+
<SideNavigationItem value="row">
|
|
50
|
+
<SideNavigationLink href="/row">
|
|
51
|
+
<SideNavigationIcon>…</SideNavigationIcon>
|
|
52
|
+
<SideNavigationLabel>label</SideNavigationLabel>
|
|
53
|
+
<SideNavigationDescription>description</SideNavigationDescription>
|
|
54
|
+
<SideNavigationCount>12</SideNavigationCount>
|
|
55
|
+
</SideNavigationLink>
|
|
56
|
+
<SideNavigationActions>…</SideNavigationActions>
|
|
57
|
+
</SideNavigationItem>
|
|
58
|
+
<SideNavigationItem value="branch">
|
|
59
|
+
<SideNavigationTrigger>
|
|
60
|
+
<SideNavigationLabel>trigger</SideNavigationLabel>
|
|
61
|
+
</SideNavigationTrigger>
|
|
62
|
+
<SideNavigationGroup>…</SideNavigationGroup>
|
|
63
|
+
</SideNavigationItem>
|
|
64
|
+
<SideNavigationDivider />
|
|
65
|
+
<SideNavigationSkeleton />
|
|
66
|
+
</SideNavigationList>
|
|
67
|
+
</SideNavigationSection>
|
|
68
|
+
</SideNavigation>;
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Groups that open and close
|
|
72
|
+
|
|
73
|
+
A trigger is the whole row and its group opens on a track that grows to its own height; the chevron turns from along the line to down. Under multiple=false the sibling closes.
|
|
74
|
+
|
|
75
|
+
Example
|
|
76
|
+
|
|
77
|
+
```tsx
|
|
78
|
+
import { Badge } from '@slotted/react/badge';
|
|
79
|
+
import { Glyph, Icon } from '@slotted/react/icon';
|
|
80
|
+
import {
|
|
81
|
+
SideNavigation,
|
|
82
|
+
SideNavigationCount,
|
|
83
|
+
SideNavigationEnd,
|
|
84
|
+
SideNavigationGroup,
|
|
85
|
+
SideNavigationIcon,
|
|
86
|
+
SideNavigationItem,
|
|
87
|
+
SideNavigationLabel,
|
|
88
|
+
SideNavigationLink,
|
|
89
|
+
SideNavigationList,
|
|
90
|
+
SideNavigationTrigger,
|
|
91
|
+
} from '@slotted/react/side-navigation';
|
|
92
|
+
|
|
93
|
+
export default function SideNavigationGroups() {
|
|
94
|
+
return (
|
|
95
|
+
<SideNavigation defaultExpanded={['orders']}>
|
|
96
|
+
<SideNavigationList>
|
|
97
|
+
<SideNavigationItem value="overview">
|
|
98
|
+
<SideNavigationLink href="#overview">
|
|
99
|
+
<SideNavigationIcon>
|
|
100
|
+
<Icon>
|
|
101
|
+
<Glyph name="trending-up" />
|
|
102
|
+
</Icon>
|
|
103
|
+
</SideNavigationIcon>
|
|
104
|
+
<SideNavigationLabel>Overview</SideNavigationLabel>
|
|
105
|
+
</SideNavigationLink>
|
|
106
|
+
</SideNavigationItem>
|
|
107
|
+
<SideNavigationItem value="orders">
|
|
108
|
+
<SideNavigationTrigger>
|
|
109
|
+
<SideNavigationIcon>
|
|
110
|
+
<Icon>
|
|
111
|
+
<Glyph name="inbox" />
|
|
112
|
+
</Icon>
|
|
113
|
+
</SideNavigationIcon>
|
|
114
|
+
<SideNavigationLabel>Orders</SideNavigationLabel>
|
|
115
|
+
<SideNavigationCount>128</SideNavigationCount>
|
|
116
|
+
</SideNavigationTrigger>
|
|
117
|
+
<SideNavigationGroup>
|
|
118
|
+
<SideNavigationItem value="all-orders">
|
|
119
|
+
<SideNavigationLink href="#all-orders">
|
|
120
|
+
<SideNavigationLabel>All orders</SideNavigationLabel>
|
|
121
|
+
</SideNavigationLink>
|
|
122
|
+
</SideNavigationItem>
|
|
123
|
+
<SideNavigationItem value="awaiting-pickup">
|
|
124
|
+
<SideNavigationLink href="#awaiting-pickup">
|
|
125
|
+
<SideNavigationLabel>Awaiting pickup</SideNavigationLabel>
|
|
126
|
+
<SideNavigationCount>14</SideNavigationCount>
|
|
127
|
+
</SideNavigationLink>
|
|
128
|
+
</SideNavigationItem>
|
|
129
|
+
<SideNavigationItem value="late">
|
|
130
|
+
<SideNavigationLink href="#late">
|
|
131
|
+
<SideNavigationLabel>Late</SideNavigationLabel>
|
|
132
|
+
<SideNavigationEnd>
|
|
133
|
+
<Badge tone="danger" size="sm">
|
|
134
|
+
3
|
|
135
|
+
</Badge>
|
|
136
|
+
</SideNavigationEnd>
|
|
137
|
+
</SideNavigationLink>
|
|
138
|
+
</SideNavigationItem>
|
|
139
|
+
<SideNavigationItem value="shipped">
|
|
140
|
+
<SideNavigationLink href="#shipped">
|
|
141
|
+
<SideNavigationLabel>Shipped</SideNavigationLabel>
|
|
142
|
+
</SideNavigationLink>
|
|
143
|
+
</SideNavigationItem>
|
|
144
|
+
</SideNavigationGroup>
|
|
145
|
+
</SideNavigationItem>
|
|
146
|
+
<SideNavigationItem value="inventory">
|
|
147
|
+
<SideNavigationTrigger>
|
|
148
|
+
<SideNavigationIcon>
|
|
149
|
+
<Icon>
|
|
150
|
+
<Glyph name="file-archive" />
|
|
151
|
+
</Icon>
|
|
152
|
+
</SideNavigationIcon>
|
|
153
|
+
<SideNavigationLabel>Inventory</SideNavigationLabel>
|
|
154
|
+
</SideNavigationTrigger>
|
|
155
|
+
<SideNavigationGroup>
|
|
156
|
+
<SideNavigationItem value="stock-levels">
|
|
157
|
+
<SideNavigationLink href="#stock-levels">
|
|
158
|
+
<SideNavigationLabel>Stock levels</SideNavigationLabel>
|
|
159
|
+
</SideNavigationLink>
|
|
160
|
+
</SideNavigationItem>
|
|
161
|
+
<SideNavigationItem value="transfers">
|
|
162
|
+
<SideNavigationLink href="#transfers">
|
|
163
|
+
<SideNavigationLabel>Transfers</SideNavigationLabel>
|
|
164
|
+
<SideNavigationCount>5</SideNavigationCount>
|
|
165
|
+
</SideNavigationLink>
|
|
166
|
+
</SideNavigationItem>
|
|
167
|
+
<SideNavigationItem value="cycle-counts">
|
|
168
|
+
<SideNavigationLink href="#cycle-counts">
|
|
169
|
+
<SideNavigationLabel>Cycle counts</SideNavigationLabel>
|
|
170
|
+
</SideNavigationLink>
|
|
171
|
+
</SideNavigationItem>
|
|
172
|
+
</SideNavigationGroup>
|
|
173
|
+
</SideNavigationItem>
|
|
174
|
+
</SideNavigationList>
|
|
175
|
+
</SideNavigation>
|
|
176
|
+
);
|
|
177
|
+
}
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### A destination that is also a parent
|
|
181
|
+
|
|
182
|
+
The APG hybrid row: the link navigates and a mark-only trigger beside it opens the children, named by the row’s label. Five levels deep, the indent below the marked level is a constant step.
|
|
183
|
+
|
|
184
|
+
Example
|
|
185
|
+
|
|
186
|
+
```tsx
|
|
187
|
+
import { Glyph, Icon } from '@slotted/react/icon';
|
|
188
|
+
import {
|
|
189
|
+
SideNavigation,
|
|
190
|
+
SideNavigationGroup,
|
|
191
|
+
SideNavigationIcon,
|
|
192
|
+
SideNavigationItem,
|
|
193
|
+
SideNavigationLabel,
|
|
194
|
+
SideNavigationLink,
|
|
195
|
+
SideNavigationList,
|
|
196
|
+
SideNavigationTrigger,
|
|
197
|
+
} from '@slotted/react/side-navigation';
|
|
198
|
+
|
|
199
|
+
export default function SideNavigationHybrid() {
|
|
200
|
+
return (
|
|
201
|
+
<SideNavigation defaultValue="sales-summary" defaultExpanded={['reports', 'margin']}>
|
|
202
|
+
<SideNavigationList>
|
|
203
|
+
<SideNavigationItem value="overview">
|
|
204
|
+
<SideNavigationLink href="#overview">
|
|
205
|
+
<SideNavigationIcon>
|
|
206
|
+
<Icon>
|
|
207
|
+
<Glyph name="trending-up" />
|
|
208
|
+
</Icon>
|
|
209
|
+
</SideNavigationIcon>
|
|
210
|
+
<SideNavigationLabel>Overview</SideNavigationLabel>
|
|
211
|
+
</SideNavigationLink>
|
|
212
|
+
</SideNavigationItem>
|
|
213
|
+
<SideNavigationItem value="reports">
|
|
214
|
+
<SideNavigationLink href="#reports">
|
|
215
|
+
<SideNavigationIcon>
|
|
216
|
+
<Icon>
|
|
217
|
+
<Glyph name="file-spreadsheet" />
|
|
218
|
+
</Icon>
|
|
219
|
+
</SideNavigationIcon>
|
|
220
|
+
<SideNavigationLabel>Reports</SideNavigationLabel>
|
|
221
|
+
</SideNavigationLink>
|
|
222
|
+
<SideNavigationTrigger />
|
|
223
|
+
<SideNavigationGroup>
|
|
224
|
+
<SideNavigationItem value="sales-summary">
|
|
225
|
+
<SideNavigationLink href="#sales-summary">
|
|
226
|
+
<SideNavigationLabel>Sales summary</SideNavigationLabel>
|
|
227
|
+
</SideNavigationLink>
|
|
228
|
+
</SideNavigationItem>
|
|
229
|
+
<SideNavigationItem value="margin">
|
|
230
|
+
<SideNavigationLink href="#margin">
|
|
231
|
+
<SideNavigationLabel>Margin analysis</SideNavigationLabel>
|
|
232
|
+
</SideNavigationLink>
|
|
233
|
+
<SideNavigationTrigger />
|
|
234
|
+
<SideNavigationGroup>
|
|
235
|
+
<SideNavigationItem value="margin-by-product">
|
|
236
|
+
<SideNavigationLink href="#margin-by-product">
|
|
237
|
+
<SideNavigationLabel>By product</SideNavigationLabel>
|
|
238
|
+
</SideNavigationLink>
|
|
239
|
+
</SideNavigationItem>
|
|
240
|
+
<SideNavigationItem value="margin-by-region">
|
|
241
|
+
<SideNavigationLink href="#margin-by-region">
|
|
242
|
+
<SideNavigationLabel>By region</SideNavigationLabel>
|
|
243
|
+
</SideNavigationLink>
|
|
244
|
+
</SideNavigationItem>
|
|
245
|
+
<SideNavigationItem value="margin-by-carrier">
|
|
246
|
+
<SideNavigationLink href="#margin-by-carrier">
|
|
247
|
+
<SideNavigationLabel>By carrier</SideNavigationLabel>
|
|
248
|
+
</SideNavigationLink>
|
|
249
|
+
<SideNavigationTrigger />
|
|
250
|
+
<SideNavigationGroup>
|
|
251
|
+
<SideNavigationItem value="carrier-ground">
|
|
252
|
+
<SideNavigationLink href="#carrier-ground">
|
|
253
|
+
<SideNavigationLabel>Ground</SideNavigationLabel>
|
|
254
|
+
</SideNavigationLink>
|
|
255
|
+
</SideNavigationItem>
|
|
256
|
+
<SideNavigationItem value="carrier-air">
|
|
257
|
+
<SideNavigationLink href="#carrier-air">
|
|
258
|
+
<SideNavigationLabel>Air freight</SideNavigationLabel>
|
|
259
|
+
</SideNavigationLink>
|
|
260
|
+
</SideNavigationItem>
|
|
261
|
+
</SideNavigationGroup>
|
|
262
|
+
</SideNavigationItem>
|
|
263
|
+
</SideNavigationGroup>
|
|
264
|
+
</SideNavigationItem>
|
|
265
|
+
<SideNavigationItem value="forecast">
|
|
266
|
+
<SideNavigationLink href="#forecast">
|
|
267
|
+
<SideNavigationLabel>Demand forecast</SideNavigationLabel>
|
|
268
|
+
</SideNavigationLink>
|
|
269
|
+
</SideNavigationItem>
|
|
270
|
+
</SideNavigationGroup>
|
|
271
|
+
</SideNavigationItem>
|
|
272
|
+
</SideNavigationList>
|
|
273
|
+
</SideNavigation>
|
|
274
|
+
);
|
|
275
|
+
}
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
### Sections, a divider and a command
|
|
279
|
+
|
|
280
|
+
Two titled sections under one root, a divider between rows that keeps the list a list, and a row that is a button — a command in the column, never current.
|
|
281
|
+
|
|
282
|
+
Example
|
|
283
|
+
|
|
284
|
+
```tsx
|
|
285
|
+
import { useState } from 'react';
|
|
286
|
+
|
|
287
|
+
import { Glyph, Icon } from '@slotted/react/icon';
|
|
288
|
+
import { Kbd } from '@slotted/react/kbd';
|
|
289
|
+
import {
|
|
290
|
+
SideNavigation,
|
|
291
|
+
SideNavigationCount,
|
|
292
|
+
SideNavigationDivider,
|
|
293
|
+
SideNavigationEnd,
|
|
294
|
+
SideNavigationIcon,
|
|
295
|
+
SideNavigationItem,
|
|
296
|
+
SideNavigationLabel,
|
|
297
|
+
SideNavigationLink,
|
|
298
|
+
SideNavigationList,
|
|
299
|
+
SideNavigationSection,
|
|
300
|
+
SideNavigationSectionLabel,
|
|
301
|
+
} from '@slotted/react/side-navigation';
|
|
302
|
+
import { Stack } from '@slotted/react/stack';
|
|
303
|
+
import { Text } from '@slotted/react/typography';
|
|
304
|
+
|
|
305
|
+
export default function SideNavigationSections() {
|
|
306
|
+
const [last, setLast] = useState('None yet');
|
|
307
|
+
|
|
308
|
+
return (
|
|
309
|
+
<Stack gap={4}>
|
|
310
|
+
<SideNavigation defaultValue="orders">
|
|
311
|
+
<SideNavigationSection>
|
|
312
|
+
<SideNavigationSectionLabel>Operations</SideNavigationSectionLabel>
|
|
313
|
+
<SideNavigationList>
|
|
314
|
+
<SideNavigationItem value="orders">
|
|
315
|
+
<SideNavigationLink href="#orders">
|
|
316
|
+
<SideNavigationIcon>
|
|
317
|
+
<Icon>
|
|
318
|
+
<Glyph name="inbox" />
|
|
319
|
+
</Icon>
|
|
320
|
+
</SideNavigationIcon>
|
|
321
|
+
<SideNavigationLabel>Orders</SideNavigationLabel>
|
|
322
|
+
<SideNavigationCount>128</SideNavigationCount>
|
|
323
|
+
</SideNavigationLink>
|
|
324
|
+
</SideNavigationItem>
|
|
325
|
+
<SideNavigationItem value="shipments">
|
|
326
|
+
<SideNavigationLink href="#shipments">
|
|
327
|
+
<SideNavigationIcon>
|
|
328
|
+
<Icon>
|
|
329
|
+
<Glyph name="calendar" />
|
|
330
|
+
</Icon>
|
|
331
|
+
</SideNavigationIcon>
|
|
332
|
+
<SideNavigationLabel>Shipments</SideNavigationLabel>
|
|
333
|
+
</SideNavigationLink>
|
|
334
|
+
</SideNavigationItem>
|
|
335
|
+
<SideNavigationItem value="returns">
|
|
336
|
+
<SideNavigationLink href="#returns">
|
|
337
|
+
<SideNavigationIcon>
|
|
338
|
+
<Icon>
|
|
339
|
+
<Glyph name="rotate-ccw" />
|
|
340
|
+
</Icon>
|
|
341
|
+
</SideNavigationIcon>
|
|
342
|
+
<SideNavigationLabel>Returns</SideNavigationLabel>
|
|
343
|
+
</SideNavigationLink>
|
|
344
|
+
</SideNavigationItem>
|
|
345
|
+
</SideNavigationList>
|
|
346
|
+
</SideNavigationSection>
|
|
347
|
+
<SideNavigationSection>
|
|
348
|
+
<SideNavigationSectionLabel>Finance</SideNavigationSectionLabel>
|
|
349
|
+
<SideNavigationList>
|
|
350
|
+
<SideNavigationItem value="invoices">
|
|
351
|
+
<SideNavigationLink href="#invoices">
|
|
352
|
+
<SideNavigationIcon>
|
|
353
|
+
<Icon>
|
|
354
|
+
<Glyph name="file-text" />
|
|
355
|
+
</Icon>
|
|
356
|
+
</SideNavigationIcon>
|
|
357
|
+
<SideNavigationLabel>Invoices</SideNavigationLabel>
|
|
358
|
+
</SideNavigationLink>
|
|
359
|
+
</SideNavigationItem>
|
|
360
|
+
<SideNavigationItem value="payouts">
|
|
361
|
+
<SideNavigationLink href="#payouts">
|
|
362
|
+
<SideNavigationIcon>
|
|
363
|
+
<Icon>
|
|
364
|
+
<Glyph name="trending-up" />
|
|
365
|
+
</Icon>
|
|
366
|
+
</SideNavigationIcon>
|
|
367
|
+
<SideNavigationLabel>Payouts</SideNavigationLabel>
|
|
368
|
+
</SideNavigationLink>
|
|
369
|
+
</SideNavigationItem>
|
|
370
|
+
<SideNavigationDivider />
|
|
371
|
+
<SideNavigationItem value="new-order">
|
|
372
|
+
<SideNavigationLink onClick={() => setLast('New order')}>
|
|
373
|
+
<SideNavigationIcon>
|
|
374
|
+
<Icon>
|
|
375
|
+
<Glyph name="plus" />
|
|
376
|
+
</Icon>
|
|
377
|
+
</SideNavigationIcon>
|
|
378
|
+
<SideNavigationLabel>New order</SideNavigationLabel>
|
|
379
|
+
<SideNavigationEnd>
|
|
380
|
+
<Kbd>N</Kbd>
|
|
381
|
+
</SideNavigationEnd>
|
|
382
|
+
</SideNavigationLink>
|
|
383
|
+
</SideNavigationItem>
|
|
384
|
+
</SideNavigationList>
|
|
385
|
+
</SideNavigationSection>
|
|
386
|
+
</SideNavigation>
|
|
387
|
+
<Text size="sm" tone="muted">
|
|
388
|
+
Last command: {last}
|
|
389
|
+
</Text>
|
|
390
|
+
</Stack>
|
|
391
|
+
);
|
|
392
|
+
}
|
|
393
|
+
```
|
|
394
|
+
|
|
395
|
+
### Where the reader is
|
|
396
|
+
|
|
397
|
+
value on the root names the destination and a press asks it to move; a link that states current itself wins. The parent of a hidden destination is marked until its group opens, and autoExpand opens it. With a router, usePressSelection paints the press before the route renders: the item is current at once, and the navigation runs after the frame that shows it. A click carrying a modifier key is left to the browser.
|
|
398
|
+
|
|
399
|
+
Example
|
|
400
|
+
|
|
401
|
+
```tsx
|
|
402
|
+
import { useState } from 'react';
|
|
403
|
+
|
|
404
|
+
import { Button } from '@slotted/react/button';
|
|
405
|
+
import { Glyph, Icon } from '@slotted/react/icon';
|
|
406
|
+
import { Inline } from '@slotted/react/inline';
|
|
407
|
+
import {
|
|
408
|
+
SideNavigation,
|
|
409
|
+
SideNavigationGroup,
|
|
410
|
+
SideNavigationIcon,
|
|
411
|
+
SideNavigationItem,
|
|
412
|
+
SideNavigationLabel,
|
|
413
|
+
SideNavigationLink,
|
|
414
|
+
SideNavigationList,
|
|
415
|
+
SideNavigationTrigger,
|
|
416
|
+
} from '@slotted/react/side-navigation';
|
|
417
|
+
import { Stack } from '@slotted/react/stack';
|
|
418
|
+
import { Text } from '@slotted/react/typography';
|
|
419
|
+
|
|
420
|
+
export default function SideNavigationCurrent() {
|
|
421
|
+
const [value, setValue] = useState<string | null>('overview');
|
|
422
|
+
|
|
423
|
+
return (
|
|
424
|
+
<Stack gap={4}>
|
|
425
|
+
<SideNavigation value={value} onValueChange={setValue}>
|
|
426
|
+
<SideNavigationList>
|
|
427
|
+
<SideNavigationItem value="overview">
|
|
428
|
+
<SideNavigationLink href="#overview">
|
|
429
|
+
<SideNavigationIcon>
|
|
430
|
+
<Icon>
|
|
431
|
+
<Glyph name="trending-up" />
|
|
432
|
+
</Icon>
|
|
433
|
+
</SideNavigationIcon>
|
|
434
|
+
<SideNavigationLabel>Overview</SideNavigationLabel>
|
|
435
|
+
</SideNavigationLink>
|
|
436
|
+
</SideNavigationItem>
|
|
437
|
+
<SideNavigationItem value="orders">
|
|
438
|
+
<SideNavigationTrigger>
|
|
439
|
+
<SideNavigationIcon>
|
|
440
|
+
<Icon>
|
|
441
|
+
<Glyph name="inbox" />
|
|
442
|
+
</Icon>
|
|
443
|
+
</SideNavigationIcon>
|
|
444
|
+
<SideNavigationLabel>Orders</SideNavigationLabel>
|
|
445
|
+
</SideNavigationTrigger>
|
|
446
|
+
<SideNavigationGroup>
|
|
447
|
+
<SideNavigationItem value="all-orders">
|
|
448
|
+
<SideNavigationLink href="#all-orders">
|
|
449
|
+
<SideNavigationLabel>All orders</SideNavigationLabel>
|
|
450
|
+
</SideNavigationLink>
|
|
451
|
+
</SideNavigationItem>
|
|
452
|
+
<SideNavigationItem value="late">
|
|
453
|
+
<SideNavigationLink href="#late">
|
|
454
|
+
<SideNavigationLabel>Late</SideNavigationLabel>
|
|
455
|
+
</SideNavigationLink>
|
|
456
|
+
</SideNavigationItem>
|
|
457
|
+
<SideNavigationItem value="shipped">
|
|
458
|
+
<SideNavigationLink href="#shipped">
|
|
459
|
+
<SideNavigationLabel>Shipped</SideNavigationLabel>
|
|
460
|
+
</SideNavigationLink>
|
|
461
|
+
</SideNavigationItem>
|
|
462
|
+
</SideNavigationGroup>
|
|
463
|
+
</SideNavigationItem>
|
|
464
|
+
<SideNavigationItem value="customers">
|
|
465
|
+
<SideNavigationLink href="#customers">
|
|
466
|
+
<SideNavigationIcon>
|
|
467
|
+
<Icon>
|
|
468
|
+
<Glyph name="person" />
|
|
469
|
+
</Icon>
|
|
470
|
+
</SideNavigationIcon>
|
|
471
|
+
<SideNavigationLabel>Customers</SideNavigationLabel>
|
|
472
|
+
</SideNavigationLink>
|
|
473
|
+
</SideNavigationItem>
|
|
474
|
+
</SideNavigationList>
|
|
475
|
+
</SideNavigation>
|
|
476
|
+
<Inline gap={2}>
|
|
477
|
+
<Button size="sm" onClick={() => setValue('late')}>
|
|
478
|
+
Late orders
|
|
479
|
+
</Button>
|
|
480
|
+
<Button size="sm" onClick={() => setValue('overview')}>
|
|
481
|
+
Overview
|
|
482
|
+
</Button>
|
|
483
|
+
</Inline>
|
|
484
|
+
<Text size="sm" tone="muted">
|
|
485
|
+
Current: {value}
|
|
486
|
+
</Text>
|
|
487
|
+
</Stack>
|
|
488
|
+
);
|
|
489
|
+
}
|
|
490
|
+
```
|
|
491
|
+
|
|
492
|
+
### The rail
|
|
493
|
+
|
|
494
|
+
Under mode="compact" — or under 96 pixels of its own width — every part but the mark leaves the eye; the label stays in the DOM, a tooltip repeats it, and a row with a count carries a dot.
|
|
495
|
+
|
|
496
|
+
Example
|
|
497
|
+
|
|
498
|
+
```tsx
|
|
499
|
+
import { Badge } from '@slotted/react/badge';
|
|
500
|
+
import { Glyph, Icon } from '@slotted/react/icon';
|
|
501
|
+
import { Inline } from '@slotted/react/inline';
|
|
502
|
+
import {
|
|
503
|
+
SideNavigation,
|
|
504
|
+
SideNavigationCount,
|
|
505
|
+
SideNavigationEnd,
|
|
506
|
+
SideNavigationGroup,
|
|
507
|
+
SideNavigationIcon,
|
|
508
|
+
SideNavigationItem,
|
|
509
|
+
SideNavigationLabel,
|
|
510
|
+
SideNavigationLink,
|
|
511
|
+
SideNavigationList,
|
|
512
|
+
SideNavigationTrigger,
|
|
513
|
+
} from '@slotted/react/side-navigation';
|
|
514
|
+
|
|
515
|
+
export default function SideNavigationCompact() {
|
|
516
|
+
return (
|
|
517
|
+
<Inline gap={8}>
|
|
518
|
+
<SideNavigation mode="compact" defaultValue="orders" aria-label="Rail">
|
|
519
|
+
<SideNavigationList>
|
|
520
|
+
<SideNavigationItem value="overview">
|
|
521
|
+
<SideNavigationLink href="#overview">
|
|
522
|
+
<SideNavigationIcon>
|
|
523
|
+
<Icon>
|
|
524
|
+
<Glyph name="trending-up" />
|
|
525
|
+
</Icon>
|
|
526
|
+
</SideNavigationIcon>
|
|
527
|
+
<SideNavigationLabel>Overview</SideNavigationLabel>
|
|
528
|
+
</SideNavigationLink>
|
|
529
|
+
</SideNavigationItem>
|
|
530
|
+
<SideNavigationItem value="orders">
|
|
531
|
+
<SideNavigationLink href="#orders">
|
|
532
|
+
<SideNavigationIcon>
|
|
533
|
+
<Icon>
|
|
534
|
+
<Glyph name="inbox" />
|
|
535
|
+
</Icon>
|
|
536
|
+
</SideNavigationIcon>
|
|
537
|
+
<SideNavigationLabel>Orders</SideNavigationLabel>
|
|
538
|
+
<SideNavigationCount>128</SideNavigationCount>
|
|
539
|
+
</SideNavigationLink>
|
|
540
|
+
</SideNavigationItem>
|
|
541
|
+
<SideNavigationItem value="returns">
|
|
542
|
+
<SideNavigationLink href="#returns">
|
|
543
|
+
<SideNavigationIcon>
|
|
544
|
+
<Icon>
|
|
545
|
+
<Glyph name="rotate-ccw" />
|
|
546
|
+
</Icon>
|
|
547
|
+
</SideNavigationIcon>
|
|
548
|
+
<SideNavigationLabel>Returns</SideNavigationLabel>
|
|
549
|
+
<SideNavigationEnd>
|
|
550
|
+
<Badge tone="warning" size="sm">
|
|
551
|
+
7
|
|
552
|
+
</Badge>
|
|
553
|
+
</SideNavigationEnd>
|
|
554
|
+
</SideNavigationLink>
|
|
555
|
+
</SideNavigationItem>
|
|
556
|
+
<SideNavigationItem value="reports">
|
|
557
|
+
<SideNavigationTrigger>
|
|
558
|
+
<SideNavigationIcon>
|
|
559
|
+
<Icon>
|
|
560
|
+
<Glyph name="file-spreadsheet" />
|
|
561
|
+
</Icon>
|
|
562
|
+
</SideNavigationIcon>
|
|
563
|
+
<SideNavigationLabel>Reports</SideNavigationLabel>
|
|
564
|
+
</SideNavigationTrigger>
|
|
565
|
+
<SideNavigationGroup>
|
|
566
|
+
<SideNavigationItem value="sales-summary">
|
|
567
|
+
<SideNavigationLink href="#sales-summary">
|
|
568
|
+
<SideNavigationLabel>Sales summary</SideNavigationLabel>
|
|
569
|
+
</SideNavigationLink>
|
|
570
|
+
</SideNavigationItem>
|
|
571
|
+
<SideNavigationItem value="margin-analysis">
|
|
572
|
+
<SideNavigationLink href="#margin-analysis">
|
|
573
|
+
<SideNavigationLabel>Margin analysis</SideNavigationLabel>
|
|
574
|
+
</SideNavigationLink>
|
|
575
|
+
</SideNavigationItem>
|
|
576
|
+
</SideNavigationGroup>
|
|
577
|
+
</SideNavigationItem>
|
|
578
|
+
</SideNavigationList>
|
|
579
|
+
</SideNavigation>
|
|
580
|
+
<SideNavigation mode="expanded" defaultValue="orders" aria-label="Labelled column">
|
|
581
|
+
<SideNavigationList>
|
|
582
|
+
<SideNavigationItem value="overview">
|
|
583
|
+
<SideNavigationLink href="#overview">
|
|
584
|
+
<SideNavigationIcon>
|
|
585
|
+
<Icon>
|
|
586
|
+
<Glyph name="trending-up" />
|
|
587
|
+
</Icon>
|
|
588
|
+
</SideNavigationIcon>
|
|
589
|
+
<SideNavigationLabel>Overview</SideNavigationLabel>
|
|
590
|
+
</SideNavigationLink>
|
|
591
|
+
</SideNavigationItem>
|
|
592
|
+
<SideNavigationItem value="orders">
|
|
593
|
+
<SideNavigationLink href="#orders">
|
|
594
|
+
<SideNavigationIcon>
|
|
595
|
+
<Icon>
|
|
596
|
+
<Glyph name="inbox" />
|
|
597
|
+
</Icon>
|
|
598
|
+
</SideNavigationIcon>
|
|
599
|
+
<SideNavigationLabel>Orders</SideNavigationLabel>
|
|
600
|
+
<SideNavigationCount>128</SideNavigationCount>
|
|
601
|
+
</SideNavigationLink>
|
|
602
|
+
</SideNavigationItem>
|
|
603
|
+
<SideNavigationItem value="returns">
|
|
604
|
+
<SideNavigationLink href="#returns">
|
|
605
|
+
<SideNavigationIcon>
|
|
606
|
+
<Icon>
|
|
607
|
+
<Glyph name="rotate-ccw" />
|
|
608
|
+
</Icon>
|
|
609
|
+
</SideNavigationIcon>
|
|
610
|
+
<SideNavigationLabel>Returns</SideNavigationLabel>
|
|
611
|
+
<SideNavigationEnd>
|
|
612
|
+
<Badge tone="warning" size="sm">
|
|
613
|
+
7
|
|
614
|
+
</Badge>
|
|
615
|
+
</SideNavigationEnd>
|
|
616
|
+
</SideNavigationLink>
|
|
617
|
+
</SideNavigationItem>
|
|
618
|
+
<SideNavigationItem value="reports">
|
|
619
|
+
<SideNavigationTrigger>
|
|
620
|
+
<SideNavigationIcon>
|
|
621
|
+
<Icon>
|
|
622
|
+
<Glyph name="file-spreadsheet" />
|
|
623
|
+
</Icon>
|
|
624
|
+
</SideNavigationIcon>
|
|
625
|
+
<SideNavigationLabel>Reports</SideNavigationLabel>
|
|
626
|
+
</SideNavigationTrigger>
|
|
627
|
+
<SideNavigationGroup>
|
|
628
|
+
<SideNavigationItem value="sales-summary">
|
|
629
|
+
<SideNavigationLink href="#sales-summary">
|
|
630
|
+
<SideNavigationLabel>Sales summary</SideNavigationLabel>
|
|
631
|
+
</SideNavigationLink>
|
|
632
|
+
</SideNavigationItem>
|
|
633
|
+
<SideNavigationItem value="margin-analysis">
|
|
634
|
+
<SideNavigationLink href="#margin-analysis">
|
|
635
|
+
<SideNavigationLabel>Margin analysis</SideNavigationLabel>
|
|
636
|
+
</SideNavigationLink>
|
|
637
|
+
</SideNavigationItem>
|
|
638
|
+
</SideNavigationGroup>
|
|
639
|
+
</SideNavigationItem>
|
|
640
|
+
</SideNavigationList>
|
|
641
|
+
</SideNavigation>
|
|
642
|
+
</Inline>
|
|
643
|
+
);
|
|
644
|
+
}
|
|
645
|
+
```
|
|
646
|
+
|
|
647
|
+
### A group beside the rail
|
|
648
|
+
|
|
649
|
+
In the rail, pressing a trigger without a link presents its group in a layer beside it. ArrowDown walks into it, Escape returns to the trigger, and focus leaving it closes it.
|
|
650
|
+
|
|
651
|
+
Excerpt — not a complete module
|
|
652
|
+
|
|
653
|
+
```tsx
|
|
654
|
+
const [flyout, setFlyout] = useState<string | null>(null);
|
|
655
|
+
|
|
656
|
+
<SideNavigation mode="compact" flyout={flyout} onFlyoutChange={setFlyout}>
|
|
657
|
+
…
|
|
658
|
+
</SideNavigation>;
|
|
659
|
+
```
|
|
660
|
+
|
|
661
|
+
### Three row heights
|
|
662
|
+
|
|
663
|
+
md reads the row geometry app-shell publishes, so a column in the shell stands on the shell’s own edges; sm and lg read the control scale, and all three move with density.
|
|
664
|
+
|
|
665
|
+
Example
|
|
666
|
+
|
|
667
|
+
```tsx
|
|
668
|
+
import { Glyph, Icon } from '@slotted/react/icon';
|
|
669
|
+
import { Inline } from '@slotted/react/inline';
|
|
670
|
+
import {
|
|
671
|
+
SideNavigation,
|
|
672
|
+
SideNavigationCount,
|
|
673
|
+
SideNavigationIcon,
|
|
674
|
+
SideNavigationItem,
|
|
675
|
+
SideNavigationLabel,
|
|
676
|
+
SideNavigationLink,
|
|
677
|
+
SideNavigationList,
|
|
678
|
+
} from '@slotted/react/side-navigation';
|
|
679
|
+
|
|
680
|
+
export default function SideNavigationSize() {
|
|
681
|
+
return (
|
|
682
|
+
<Inline gap={8}>
|
|
683
|
+
<SideNavigation size="sm" aria-label="Small" defaultValue="orders">
|
|
684
|
+
<SideNavigationList>
|
|
685
|
+
<SideNavigationItem value="overview">
|
|
686
|
+
<SideNavigationLink href="#overview">
|
|
687
|
+
<SideNavigationIcon>
|
|
688
|
+
<Icon>
|
|
689
|
+
<Glyph name="trending-up" />
|
|
690
|
+
</Icon>
|
|
691
|
+
</SideNavigationIcon>
|
|
692
|
+
<SideNavigationLabel>Overview</SideNavigationLabel>
|
|
693
|
+
</SideNavigationLink>
|
|
694
|
+
</SideNavigationItem>
|
|
695
|
+
<SideNavigationItem value="orders">
|
|
696
|
+
<SideNavigationLink href="#orders">
|
|
697
|
+
<SideNavigationIcon>
|
|
698
|
+
<Icon>
|
|
699
|
+
<Glyph name="inbox" />
|
|
700
|
+
</Icon>
|
|
701
|
+
</SideNavigationIcon>
|
|
702
|
+
<SideNavigationLabel>Orders</SideNavigationLabel>
|
|
703
|
+
<SideNavigationCount>128</SideNavigationCount>
|
|
704
|
+
</SideNavigationLink>
|
|
705
|
+
</SideNavigationItem>
|
|
706
|
+
<SideNavigationItem value="customers">
|
|
707
|
+
<SideNavigationLink href="#customers">
|
|
708
|
+
<SideNavigationIcon>
|
|
709
|
+
<Icon>
|
|
710
|
+
<Glyph name="person" />
|
|
711
|
+
</Icon>
|
|
712
|
+
</SideNavigationIcon>
|
|
713
|
+
<SideNavigationLabel>Customers</SideNavigationLabel>
|
|
714
|
+
</SideNavigationLink>
|
|
715
|
+
</SideNavigationItem>
|
|
716
|
+
</SideNavigationList>
|
|
717
|
+
</SideNavigation>
|
|
718
|
+
<SideNavigation size="md" aria-label="Medium" defaultValue="orders">
|
|
719
|
+
<SideNavigationList>
|
|
720
|
+
<SideNavigationItem value="overview">
|
|
721
|
+
<SideNavigationLink href="#overview">
|
|
722
|
+
<SideNavigationIcon>
|
|
723
|
+
<Icon>
|
|
724
|
+
<Glyph name="trending-up" />
|
|
725
|
+
</Icon>
|
|
726
|
+
</SideNavigationIcon>
|
|
727
|
+
<SideNavigationLabel>Overview</SideNavigationLabel>
|
|
728
|
+
</SideNavigationLink>
|
|
729
|
+
</SideNavigationItem>
|
|
730
|
+
<SideNavigationItem value="orders">
|
|
731
|
+
<SideNavigationLink href="#orders">
|
|
732
|
+
<SideNavigationIcon>
|
|
733
|
+
<Icon>
|
|
734
|
+
<Glyph name="inbox" />
|
|
735
|
+
</Icon>
|
|
736
|
+
</SideNavigationIcon>
|
|
737
|
+
<SideNavigationLabel>Orders</SideNavigationLabel>
|
|
738
|
+
<SideNavigationCount>128</SideNavigationCount>
|
|
739
|
+
</SideNavigationLink>
|
|
740
|
+
</SideNavigationItem>
|
|
741
|
+
<SideNavigationItem value="customers">
|
|
742
|
+
<SideNavigationLink href="#customers">
|
|
743
|
+
<SideNavigationIcon>
|
|
744
|
+
<Icon>
|
|
745
|
+
<Glyph name="person" />
|
|
746
|
+
</Icon>
|
|
747
|
+
</SideNavigationIcon>
|
|
748
|
+
<SideNavigationLabel>Customers</SideNavigationLabel>
|
|
749
|
+
</SideNavigationLink>
|
|
750
|
+
</SideNavigationItem>
|
|
751
|
+
</SideNavigationList>
|
|
752
|
+
</SideNavigation>
|
|
753
|
+
<SideNavigation size="lg" aria-label="Large" defaultValue="orders">
|
|
754
|
+
<SideNavigationList>
|
|
755
|
+
<SideNavigationItem value="overview">
|
|
756
|
+
<SideNavigationLink href="#overview">
|
|
757
|
+
<SideNavigationIcon>
|
|
758
|
+
<Icon>
|
|
759
|
+
<Glyph name="trending-up" />
|
|
760
|
+
</Icon>
|
|
761
|
+
</SideNavigationIcon>
|
|
762
|
+
<SideNavigationLabel>Overview</SideNavigationLabel>
|
|
763
|
+
</SideNavigationLink>
|
|
764
|
+
</SideNavigationItem>
|
|
765
|
+
<SideNavigationItem value="orders">
|
|
766
|
+
<SideNavigationLink href="#orders">
|
|
767
|
+
<SideNavigationIcon>
|
|
768
|
+
<Icon>
|
|
769
|
+
<Glyph name="inbox" />
|
|
770
|
+
</Icon>
|
|
771
|
+
</SideNavigationIcon>
|
|
772
|
+
<SideNavigationLabel>Orders</SideNavigationLabel>
|
|
773
|
+
<SideNavigationCount>128</SideNavigationCount>
|
|
774
|
+
</SideNavigationLink>
|
|
775
|
+
</SideNavigationItem>
|
|
776
|
+
<SideNavigationItem value="customers">
|
|
777
|
+
<SideNavigationLink href="#customers">
|
|
778
|
+
<SideNavigationIcon>
|
|
779
|
+
<Icon>
|
|
780
|
+
<Glyph name="person" />
|
|
781
|
+
</Icon>
|
|
782
|
+
</SideNavigationIcon>
|
|
783
|
+
<SideNavigationLabel>Customers</SideNavigationLabel>
|
|
784
|
+
</SideNavigationLink>
|
|
785
|
+
</SideNavigationItem>
|
|
786
|
+
</SideNavigationList>
|
|
787
|
+
</SideNavigation>
|
|
788
|
+
</Inline>
|
|
789
|
+
);
|
|
790
|
+
}
|
|
791
|
+
```
|
|
792
|
+
|
|
793
|
+
### The states a row can be in
|
|
794
|
+
|
|
795
|
+
Current, expanded, open, disabled, and the hover, press and focus every row answers. A disabled destination keeps its href and its name, and refuses the press.
|
|
796
|
+
|
|
797
|
+
Example
|
|
798
|
+
|
|
799
|
+
```tsx
|
|
800
|
+
import { Glyph, Icon } from '@slotted/react/icon';
|
|
801
|
+
import {
|
|
802
|
+
SideNavigation,
|
|
803
|
+
SideNavigationDescription,
|
|
804
|
+
SideNavigationGroup,
|
|
805
|
+
SideNavigationIcon,
|
|
806
|
+
SideNavigationItem,
|
|
807
|
+
SideNavigationLabel,
|
|
808
|
+
SideNavigationLink,
|
|
809
|
+
SideNavigationList,
|
|
810
|
+
SideNavigationTrigger,
|
|
811
|
+
} from '@slotted/react/side-navigation';
|
|
812
|
+
|
|
813
|
+
export default function SideNavigationStates() {
|
|
814
|
+
return (
|
|
815
|
+
<SideNavigation defaultValue="late" defaultExpanded={['orders']}>
|
|
816
|
+
<SideNavigationList>
|
|
817
|
+
<SideNavigationItem value="overview">
|
|
818
|
+
<SideNavigationLink href="#overview">
|
|
819
|
+
<SideNavigationIcon>
|
|
820
|
+
<Icon>
|
|
821
|
+
<Glyph name="trending-up" />
|
|
822
|
+
</Icon>
|
|
823
|
+
</SideNavigationIcon>
|
|
824
|
+
<SideNavigationLabel>Overview</SideNavigationLabel>
|
|
825
|
+
<SideNavigationDescription>Today at all warehouses</SideNavigationDescription>
|
|
826
|
+
</SideNavigationLink>
|
|
827
|
+
</SideNavigationItem>
|
|
828
|
+
<SideNavigationItem value="orders">
|
|
829
|
+
<SideNavigationTrigger>
|
|
830
|
+
<SideNavigationIcon>
|
|
831
|
+
<Icon>
|
|
832
|
+
<Glyph name="inbox" />
|
|
833
|
+
</Icon>
|
|
834
|
+
</SideNavigationIcon>
|
|
835
|
+
<SideNavigationLabel>Orders</SideNavigationLabel>
|
|
836
|
+
</SideNavigationTrigger>
|
|
837
|
+
<SideNavigationGroup>
|
|
838
|
+
<SideNavigationItem value="late">
|
|
839
|
+
<SideNavigationLink href="#late">
|
|
840
|
+
<SideNavigationLabel>Late</SideNavigationLabel>
|
|
841
|
+
</SideNavigationLink>
|
|
842
|
+
</SideNavigationItem>
|
|
843
|
+
<SideNavigationItem value="shipped">
|
|
844
|
+
<SideNavigationLink href="#shipped">
|
|
845
|
+
<SideNavigationLabel>Shipped</SideNavigationLabel>
|
|
846
|
+
</SideNavigationLink>
|
|
847
|
+
</SideNavigationItem>
|
|
848
|
+
</SideNavigationGroup>
|
|
849
|
+
</SideNavigationItem>
|
|
850
|
+
<SideNavigationItem value="billing" disabled>
|
|
851
|
+
<SideNavigationLink href="#billing">
|
|
852
|
+
<SideNavigationIcon>
|
|
853
|
+
<Icon>
|
|
854
|
+
<Glyph name="file-text" />
|
|
855
|
+
</Icon>
|
|
856
|
+
</SideNavigationIcon>
|
|
857
|
+
<SideNavigationLabel>Billing</SideNavigationLabel>
|
|
858
|
+
<SideNavigationDescription>Available on the Team plan</SideNavigationDescription>
|
|
859
|
+
</SideNavigationLink>
|
|
860
|
+
</SideNavigationItem>
|
|
861
|
+
<SideNavigationItem value="integrations" disabled>
|
|
862
|
+
<SideNavigationTrigger>
|
|
863
|
+
<SideNavigationIcon>
|
|
864
|
+
<Icon>
|
|
865
|
+
<Glyph name="pin" />
|
|
866
|
+
</Icon>
|
|
867
|
+
</SideNavigationIcon>
|
|
868
|
+
<SideNavigationLabel>Integrations</SideNavigationLabel>
|
|
869
|
+
</SideNavigationTrigger>
|
|
870
|
+
<SideNavigationGroup>
|
|
871
|
+
<SideNavigationItem value="carriers">
|
|
872
|
+
<SideNavigationLink href="#carriers">
|
|
873
|
+
<SideNavigationLabel>Carriers</SideNavigationLabel>
|
|
874
|
+
</SideNavigationLink>
|
|
875
|
+
</SideNavigationItem>
|
|
876
|
+
</SideNavigationGroup>
|
|
877
|
+
</SideNavigationItem>
|
|
878
|
+
</SideNavigationList>
|
|
879
|
+
</SideNavigation>
|
|
880
|
+
);
|
|
881
|
+
}
|
|
882
|
+
```
|
|
883
|
+
|
|
884
|
+
### Content of any length
|
|
885
|
+
|
|
886
|
+
A long label cut at the end with its whole text in the tooltip; the same column cut in the middle, where setembro and outubro stay apart; a URL; a title in another script; and wrapping, on request.
|
|
887
|
+
|
|
888
|
+
Example
|
|
889
|
+
|
|
890
|
+
```tsx
|
|
891
|
+
import { Grid } from '@slotted/react/grid';
|
|
892
|
+
import { Glyph, Icon } from '@slotted/react/icon';
|
|
893
|
+
import {
|
|
894
|
+
SideNavigation,
|
|
895
|
+
SideNavigationCount,
|
|
896
|
+
SideNavigationIcon,
|
|
897
|
+
SideNavigationItem,
|
|
898
|
+
SideNavigationLabel,
|
|
899
|
+
SideNavigationLink,
|
|
900
|
+
SideNavigationList,
|
|
901
|
+
} from '@slotted/react/side-navigation';
|
|
902
|
+
import { Stack } from '@slotted/react/stack';
|
|
903
|
+
import { Text } from '@slotted/react/typography';
|
|
904
|
+
|
|
905
|
+
export default function SideNavigationContent() {
|
|
906
|
+
return (
|
|
907
|
+
<Grid columns={3} gap={4}>
|
|
908
|
+
<Stack gap={2}>
|
|
909
|
+
<Text size="sm" tone="muted">
|
|
910
|
+
truncate="end"
|
|
911
|
+
</Text>
|
|
912
|
+
<SideNavigation truncate="end" aria-label="Cut at end" defaultValue="september">
|
|
913
|
+
<SideNavigationList>
|
|
914
|
+
<SideNavigationItem value="config">
|
|
915
|
+
<SideNavigationLink href="#config">
|
|
916
|
+
<SideNavigationIcon>
|
|
917
|
+
<Icon>
|
|
918
|
+
<Glyph name="pencil" />
|
|
919
|
+
</Icon>
|
|
920
|
+
</SideNavigationIcon>
|
|
921
|
+
<SideNavigationLabel>
|
|
922
|
+
Organization and integrations settings for the Tacoma warehouse
|
|
923
|
+
</SideNavigationLabel>
|
|
924
|
+
<SideNavigationCount>120</SideNavigationCount>
|
|
925
|
+
</SideNavigationLink>
|
|
926
|
+
</SideNavigationItem>
|
|
927
|
+
<SideNavigationItem value="september">
|
|
928
|
+
<SideNavigationLink href="#september">
|
|
929
|
+
<SideNavigationIcon>
|
|
930
|
+
<Icon>
|
|
931
|
+
<Glyph name="file-text" />
|
|
932
|
+
</Icon>
|
|
933
|
+
</SideNavigationIcon>
|
|
934
|
+
<SideNavigationLabel>Monthly report · September 2026</SideNavigationLabel>
|
|
935
|
+
</SideNavigationLink>
|
|
936
|
+
</SideNavigationItem>
|
|
937
|
+
<SideNavigationItem value="october">
|
|
938
|
+
<SideNavigationLink href="#october">
|
|
939
|
+
<SideNavigationIcon>
|
|
940
|
+
<Icon>
|
|
941
|
+
<Glyph name="file-text" />
|
|
942
|
+
</Icon>
|
|
943
|
+
</SideNavigationIcon>
|
|
944
|
+
<SideNavigationLabel>Monthly report · October 2026</SideNavigationLabel>
|
|
945
|
+
<SideNavigationCount>4</SideNavigationCount>
|
|
946
|
+
</SideNavigationLink>
|
|
947
|
+
</SideNavigationItem>
|
|
948
|
+
<SideNavigationItem value="url">
|
|
949
|
+
<SideNavigationLink href="#url">
|
|
950
|
+
<SideNavigationIcon>
|
|
951
|
+
<Icon>
|
|
952
|
+
<Glyph name="pin" />
|
|
953
|
+
</Icon>
|
|
954
|
+
</SideNavigationIcon>
|
|
955
|
+
<SideNavigationLabel>
|
|
956
|
+
https://northwind.example/reports/2026/monthly
|
|
957
|
+
</SideNavigationLabel>
|
|
958
|
+
</SideNavigationLink>
|
|
959
|
+
</SideNavigationItem>
|
|
960
|
+
<SideNavigationItem value="customers">
|
|
961
|
+
<SideNavigationLink href="#customers">
|
|
962
|
+
<SideNavigationIcon>
|
|
963
|
+
<Icon>
|
|
964
|
+
<Glyph name="person" />
|
|
965
|
+
</Icon>
|
|
966
|
+
</SideNavigationIcon>
|
|
967
|
+
<SideNavigationLabel>العملاء</SideNavigationLabel>
|
|
968
|
+
</SideNavigationLink>
|
|
969
|
+
</SideNavigationItem>
|
|
970
|
+
</SideNavigationList>
|
|
971
|
+
</SideNavigation>
|
|
972
|
+
</Stack>
|
|
973
|
+
<Stack gap={2}>
|
|
974
|
+
<Text size="sm" tone="muted">
|
|
975
|
+
truncate="middle"
|
|
976
|
+
</Text>
|
|
977
|
+
<SideNavigation truncate="middle" aria-label="Cut at middle" defaultValue="september">
|
|
978
|
+
<SideNavigationList>
|
|
979
|
+
<SideNavigationItem value="config">
|
|
980
|
+
<SideNavigationLink href="#config">
|
|
981
|
+
<SideNavigationIcon>
|
|
982
|
+
<Icon>
|
|
983
|
+
<Glyph name="pencil" />
|
|
984
|
+
</Icon>
|
|
985
|
+
</SideNavigationIcon>
|
|
986
|
+
<SideNavigationLabel>
|
|
987
|
+
Organization and integrations settings for the Tacoma warehouse
|
|
988
|
+
</SideNavigationLabel>
|
|
989
|
+
<SideNavigationCount>120</SideNavigationCount>
|
|
990
|
+
</SideNavigationLink>
|
|
991
|
+
</SideNavigationItem>
|
|
992
|
+
<SideNavigationItem value="september">
|
|
993
|
+
<SideNavigationLink href="#september">
|
|
994
|
+
<SideNavigationIcon>
|
|
995
|
+
<Icon>
|
|
996
|
+
<Glyph name="file-text" />
|
|
997
|
+
</Icon>
|
|
998
|
+
</SideNavigationIcon>
|
|
999
|
+
<SideNavigationLabel>Monthly report · September 2026</SideNavigationLabel>
|
|
1000
|
+
</SideNavigationLink>
|
|
1001
|
+
</SideNavigationItem>
|
|
1002
|
+
<SideNavigationItem value="october">
|
|
1003
|
+
<SideNavigationLink href="#october">
|
|
1004
|
+
<SideNavigationIcon>
|
|
1005
|
+
<Icon>
|
|
1006
|
+
<Glyph name="file-text" />
|
|
1007
|
+
</Icon>
|
|
1008
|
+
</SideNavigationIcon>
|
|
1009
|
+
<SideNavigationLabel>Monthly report · October 2026</SideNavigationLabel>
|
|
1010
|
+
<SideNavigationCount>4</SideNavigationCount>
|
|
1011
|
+
</SideNavigationLink>
|
|
1012
|
+
</SideNavigationItem>
|
|
1013
|
+
<SideNavigationItem value="url">
|
|
1014
|
+
<SideNavigationLink href="#url">
|
|
1015
|
+
<SideNavigationIcon>
|
|
1016
|
+
<Icon>
|
|
1017
|
+
<Glyph name="pin" />
|
|
1018
|
+
</Icon>
|
|
1019
|
+
</SideNavigationIcon>
|
|
1020
|
+
<SideNavigationLabel>
|
|
1021
|
+
https://northwind.example/reports/2026/monthly
|
|
1022
|
+
</SideNavigationLabel>
|
|
1023
|
+
</SideNavigationLink>
|
|
1024
|
+
</SideNavigationItem>
|
|
1025
|
+
<SideNavigationItem value="customers">
|
|
1026
|
+
<SideNavigationLink href="#customers">
|
|
1027
|
+
<SideNavigationIcon>
|
|
1028
|
+
<Icon>
|
|
1029
|
+
<Glyph name="person" />
|
|
1030
|
+
</Icon>
|
|
1031
|
+
</SideNavigationIcon>
|
|
1032
|
+
<SideNavigationLabel>العملاء</SideNavigationLabel>
|
|
1033
|
+
</SideNavigationLink>
|
|
1034
|
+
</SideNavigationItem>
|
|
1035
|
+
</SideNavigationList>
|
|
1036
|
+
</SideNavigation>
|
|
1037
|
+
</Stack>
|
|
1038
|
+
<Stack gap={2}>
|
|
1039
|
+
<Text size="sm" tone="muted">
|
|
1040
|
+
truncate="none"
|
|
1041
|
+
</Text>
|
|
1042
|
+
<SideNavigation truncate="none" aria-label="Cut at none" defaultValue="september">
|
|
1043
|
+
<SideNavigationList>
|
|
1044
|
+
<SideNavigationItem value="config">
|
|
1045
|
+
<SideNavigationLink href="#config">
|
|
1046
|
+
<SideNavigationIcon>
|
|
1047
|
+
<Icon>
|
|
1048
|
+
<Glyph name="pencil" />
|
|
1049
|
+
</Icon>
|
|
1050
|
+
</SideNavigationIcon>
|
|
1051
|
+
<SideNavigationLabel>
|
|
1052
|
+
Organization and integrations settings for the Tacoma warehouse
|
|
1053
|
+
</SideNavigationLabel>
|
|
1054
|
+
<SideNavigationCount>120</SideNavigationCount>
|
|
1055
|
+
</SideNavigationLink>
|
|
1056
|
+
</SideNavigationItem>
|
|
1057
|
+
<SideNavigationItem value="september">
|
|
1058
|
+
<SideNavigationLink href="#september">
|
|
1059
|
+
<SideNavigationIcon>
|
|
1060
|
+
<Icon>
|
|
1061
|
+
<Glyph name="file-text" />
|
|
1062
|
+
</Icon>
|
|
1063
|
+
</SideNavigationIcon>
|
|
1064
|
+
<SideNavigationLabel>Monthly report · September 2026</SideNavigationLabel>
|
|
1065
|
+
</SideNavigationLink>
|
|
1066
|
+
</SideNavigationItem>
|
|
1067
|
+
<SideNavigationItem value="october">
|
|
1068
|
+
<SideNavigationLink href="#october">
|
|
1069
|
+
<SideNavigationIcon>
|
|
1070
|
+
<Icon>
|
|
1071
|
+
<Glyph name="file-text" />
|
|
1072
|
+
</Icon>
|
|
1073
|
+
</SideNavigationIcon>
|
|
1074
|
+
<SideNavigationLabel>Monthly report · October 2026</SideNavigationLabel>
|
|
1075
|
+
<SideNavigationCount>4</SideNavigationCount>
|
|
1076
|
+
</SideNavigationLink>
|
|
1077
|
+
</SideNavigationItem>
|
|
1078
|
+
<SideNavigationItem value="url">
|
|
1079
|
+
<SideNavigationLink href="#url">
|
|
1080
|
+
<SideNavigationIcon>
|
|
1081
|
+
<Icon>
|
|
1082
|
+
<Glyph name="pin" />
|
|
1083
|
+
</Icon>
|
|
1084
|
+
</SideNavigationIcon>
|
|
1085
|
+
<SideNavigationLabel>
|
|
1086
|
+
https://northwind.example/reports/2026/monthly
|
|
1087
|
+
</SideNavigationLabel>
|
|
1088
|
+
</SideNavigationLink>
|
|
1089
|
+
</SideNavigationItem>
|
|
1090
|
+
<SideNavigationItem value="customers">
|
|
1091
|
+
<SideNavigationLink href="#customers">
|
|
1092
|
+
<SideNavigationIcon>
|
|
1093
|
+
<Icon>
|
|
1094
|
+
<Glyph name="person" />
|
|
1095
|
+
</Icon>
|
|
1096
|
+
</SideNavigationIcon>
|
|
1097
|
+
<SideNavigationLabel>العملاء</SideNavigationLabel>
|
|
1098
|
+
</SideNavigationLink>
|
|
1099
|
+
</SideNavigationItem>
|
|
1100
|
+
</SideNavigationList>
|
|
1101
|
+
</SideNavigation>
|
|
1102
|
+
</Stack>
|
|
1103
|
+
</Grid>
|
|
1104
|
+
);
|
|
1105
|
+
}
|
|
1106
|
+
```
|
|
1107
|
+
|
|
1108
|
+
### A column still arriving
|
|
1109
|
+
|
|
1110
|
+
Skeleton rows in the geometry of the rows they stand for, so nothing moves when the destinations land; the root carries aria-busy.
|
|
1111
|
+
|
|
1112
|
+
Example
|
|
1113
|
+
|
|
1114
|
+
```tsx
|
|
1115
|
+
import { Glyph, Icon } from '@slotted/react/icon';
|
|
1116
|
+
import {
|
|
1117
|
+
SideNavigation,
|
|
1118
|
+
SideNavigationGroup,
|
|
1119
|
+
SideNavigationIcon,
|
|
1120
|
+
SideNavigationItem,
|
|
1121
|
+
SideNavigationLabel,
|
|
1122
|
+
SideNavigationLink,
|
|
1123
|
+
SideNavigationList,
|
|
1124
|
+
SideNavigationSkeleton,
|
|
1125
|
+
SideNavigationTrigger,
|
|
1126
|
+
} from '@slotted/react/side-navigation';
|
|
1127
|
+
|
|
1128
|
+
export default function SideNavigationLoading() {
|
|
1129
|
+
return (
|
|
1130
|
+
<SideNavigation aria-busy="true" defaultValue="overview" defaultExpanded={['orders']}>
|
|
1131
|
+
<SideNavigationList>
|
|
1132
|
+
<SideNavigationItem value="overview">
|
|
1133
|
+
<SideNavigationLink href="#overview">
|
|
1134
|
+
<SideNavigationIcon>
|
|
1135
|
+
<Icon>
|
|
1136
|
+
<Glyph name="trending-up" />
|
|
1137
|
+
</Icon>
|
|
1138
|
+
</SideNavigationIcon>
|
|
1139
|
+
<SideNavigationLabel>Overview</SideNavigationLabel>
|
|
1140
|
+
</SideNavigationLink>
|
|
1141
|
+
</SideNavigationItem>
|
|
1142
|
+
<SideNavigationItem value="orders">
|
|
1143
|
+
<SideNavigationTrigger>
|
|
1144
|
+
<SideNavigationIcon>
|
|
1145
|
+
<Icon>
|
|
1146
|
+
<Glyph name="inbox" />
|
|
1147
|
+
</Icon>
|
|
1148
|
+
</SideNavigationIcon>
|
|
1149
|
+
<SideNavigationLabel>Orders</SideNavigationLabel>
|
|
1150
|
+
</SideNavigationTrigger>
|
|
1151
|
+
<SideNavigationGroup aria-busy="true">
|
|
1152
|
+
<SideNavigationSkeleton labelSize="50%" />
|
|
1153
|
+
<SideNavigationSkeleton labelSize="65%" />
|
|
1154
|
+
</SideNavigationGroup>
|
|
1155
|
+
</SideNavigationItem>
|
|
1156
|
+
<SideNavigationSkeleton labelSize="55%" />
|
|
1157
|
+
<SideNavigationSkeleton labelSize="70%" />
|
|
1158
|
+
<SideNavigationSkeleton labelSize="45%" />
|
|
1159
|
+
</SideNavigationList>
|
|
1160
|
+
</SideNavigation>
|
|
1161
|
+
);
|
|
1162
|
+
}
|
|
1163
|
+
```
|
|
1164
|
+
|
|
1165
|
+
### Inside the shell
|
|
1166
|
+
|
|
1167
|
+
The column in app-shell’s nav region: a div rather than a second landmark, rows on the shell’s published geometry, and the rail read from the region’s own width when the shell collapses.
|
|
1168
|
+
|
|
1169
|
+
Example
|
|
1170
|
+
|
|
1171
|
+
```tsx
|
|
1172
|
+
import {
|
|
1173
|
+
AppShell,
|
|
1174
|
+
AppShellBanner,
|
|
1175
|
+
AppShellBrand,
|
|
1176
|
+
AppShellMain,
|
|
1177
|
+
AppShellNav,
|
|
1178
|
+
AppShellNavToggle,
|
|
1179
|
+
} from '@slotted/react/app-shell';
|
|
1180
|
+
import { Glyph, Icon } from '@slotted/react/icon';
|
|
1181
|
+
import {
|
|
1182
|
+
SideNavigation,
|
|
1183
|
+
SideNavigationCount,
|
|
1184
|
+
SideNavigationGroup,
|
|
1185
|
+
SideNavigationIcon,
|
|
1186
|
+
SideNavigationItem,
|
|
1187
|
+
SideNavigationLabel,
|
|
1188
|
+
SideNavigationLink,
|
|
1189
|
+
SideNavigationList,
|
|
1190
|
+
SideNavigationSection,
|
|
1191
|
+
SideNavigationSectionLabel,
|
|
1192
|
+
SideNavigationTrigger,
|
|
1193
|
+
} from '@slotted/react/side-navigation';
|
|
1194
|
+
|
|
1195
|
+
export default function SideNavigationShell() {
|
|
1196
|
+
return (
|
|
1197
|
+
<AppShell>
|
|
1198
|
+
<AppShellBanner>
|
|
1199
|
+
<AppShellNavToggle />
|
|
1200
|
+
<AppShellBrand>Northwind</AppShellBrand>
|
|
1201
|
+
</AppShellBanner>
|
|
1202
|
+
<AppShellNav>
|
|
1203
|
+
<SideNavigation defaultValue="orders" defaultExpanded={['shipments']}>
|
|
1204
|
+
<SideNavigationSection>
|
|
1205
|
+
<SideNavigationSectionLabel>Operations</SideNavigationSectionLabel>
|
|
1206
|
+
<SideNavigationList>
|
|
1207
|
+
<SideNavigationItem value="orders">
|
|
1208
|
+
<SideNavigationLink href="#orders">
|
|
1209
|
+
<SideNavigationIcon>
|
|
1210
|
+
<Icon>
|
|
1211
|
+
<Glyph name="inbox" />
|
|
1212
|
+
</Icon>
|
|
1213
|
+
</SideNavigationIcon>
|
|
1214
|
+
<SideNavigationLabel>Orders</SideNavigationLabel>
|
|
1215
|
+
<SideNavigationCount>128</SideNavigationCount>
|
|
1216
|
+
</SideNavigationLink>
|
|
1217
|
+
</SideNavigationItem>
|
|
1218
|
+
<SideNavigationItem value="shipments">
|
|
1219
|
+
<SideNavigationTrigger>
|
|
1220
|
+
<SideNavigationIcon>
|
|
1221
|
+
<Icon>
|
|
1222
|
+
<Glyph name="calendar" />
|
|
1223
|
+
</Icon>
|
|
1224
|
+
</SideNavigationIcon>
|
|
1225
|
+
<SideNavigationLabel>Shipments</SideNavigationLabel>
|
|
1226
|
+
</SideNavigationTrigger>
|
|
1227
|
+
<SideNavigationGroup>
|
|
1228
|
+
<SideNavigationItem value="late">
|
|
1229
|
+
<SideNavigationLink href="#late">
|
|
1230
|
+
<SideNavigationLabel>Late</SideNavigationLabel>
|
|
1231
|
+
</SideNavigationLink>
|
|
1232
|
+
</SideNavigationItem>
|
|
1233
|
+
<SideNavigationItem value="delivered">
|
|
1234
|
+
<SideNavigationLink href="#delivered">
|
|
1235
|
+
<SideNavigationLabel>Delivered</SideNavigationLabel>
|
|
1236
|
+
</SideNavigationLink>
|
|
1237
|
+
</SideNavigationItem>
|
|
1238
|
+
</SideNavigationGroup>
|
|
1239
|
+
</SideNavigationItem>
|
|
1240
|
+
</SideNavigationList>
|
|
1241
|
+
</SideNavigationSection>
|
|
1242
|
+
<SideNavigationSection>
|
|
1243
|
+
<SideNavigationSectionLabel>Finance</SideNavigationSectionLabel>
|
|
1244
|
+
<SideNavigationList>
|
|
1245
|
+
<SideNavigationItem value="invoices">
|
|
1246
|
+
<SideNavigationLink href="#invoices">
|
|
1247
|
+
<SideNavigationIcon>
|
|
1248
|
+
<Icon>
|
|
1249
|
+
<Glyph name="file-text" />
|
|
1250
|
+
</Icon>
|
|
1251
|
+
</SideNavigationIcon>
|
|
1252
|
+
<SideNavigationLabel>Invoices</SideNavigationLabel>
|
|
1253
|
+
</SideNavigationLink>
|
|
1254
|
+
</SideNavigationItem>
|
|
1255
|
+
</SideNavigationList>
|
|
1256
|
+
</SideNavigationSection>
|
|
1257
|
+
</SideNavigation>
|
|
1258
|
+
</AppShellNav>
|
|
1259
|
+
<AppShellMain>
|
|
1260
|
+
<h1>Orders</h1>
|
|
1261
|
+
</AppShellMain>
|
|
1262
|
+
</AppShell>
|
|
1263
|
+
);
|
|
1264
|
+
}
|
|
1265
|
+
```
|
|
1266
|
+
|
|
1267
|
+
### Decided once for an application
|
|
1268
|
+
|
|
1269
|
+
The provider carries the axes for every column under it — a product whose groups open one at a time, with no guides — and a column that states one itself still wins.
|
|
1270
|
+
|
|
1271
|
+
Example
|
|
1272
|
+
|
|
1273
|
+
```tsx
|
|
1274
|
+
import { Glyph, Icon } from '@slotted/react/icon';
|
|
1275
|
+
import {
|
|
1276
|
+
SideNavigation,
|
|
1277
|
+
SideNavigationDefaultsProvider,
|
|
1278
|
+
SideNavigationGroup,
|
|
1279
|
+
SideNavigationIcon,
|
|
1280
|
+
SideNavigationItem,
|
|
1281
|
+
SideNavigationLabel,
|
|
1282
|
+
SideNavigationLink,
|
|
1283
|
+
SideNavigationList,
|
|
1284
|
+
SideNavigationTrigger,
|
|
1285
|
+
} from '@slotted/react/side-navigation';
|
|
1286
|
+
import { Stack } from '@slotted/react/stack';
|
|
1287
|
+
import { Text } from '@slotted/react/typography';
|
|
1288
|
+
|
|
1289
|
+
export default function SideNavigationDefaults() {
|
|
1290
|
+
return (
|
|
1291
|
+
<SideNavigationDefaultsProvider multiple={false} guides={false} truncate="middle">
|
|
1292
|
+
<Stack gap={4}>
|
|
1293
|
+
<Text size="sm" tone="muted">
|
|
1294
|
+
Inherited from the provider
|
|
1295
|
+
</Text>
|
|
1296
|
+
<SideNavigation defaultExpanded={['orders']} aria-label="Inherited">
|
|
1297
|
+
<SideNavigationList>
|
|
1298
|
+
<SideNavigationItem value="orders">
|
|
1299
|
+
<SideNavigationTrigger>
|
|
1300
|
+
<SideNavigationIcon>
|
|
1301
|
+
<Icon>
|
|
1302
|
+
<Glyph name="inbox" />
|
|
1303
|
+
</Icon>
|
|
1304
|
+
</SideNavigationIcon>
|
|
1305
|
+
<SideNavigationLabel>Orders</SideNavigationLabel>
|
|
1306
|
+
</SideNavigationTrigger>
|
|
1307
|
+
<SideNavigationGroup>
|
|
1308
|
+
<SideNavigationItem value="late">
|
|
1309
|
+
<SideNavigationLink href="#late">
|
|
1310
|
+
<SideNavigationLabel>Late</SideNavigationLabel>
|
|
1311
|
+
</SideNavigationLink>
|
|
1312
|
+
</SideNavigationItem>
|
|
1313
|
+
<SideNavigationItem value="shipped">
|
|
1314
|
+
<SideNavigationLink href="#shipped">
|
|
1315
|
+
<SideNavigationLabel>Shipped</SideNavigationLabel>
|
|
1316
|
+
</SideNavigationLink>
|
|
1317
|
+
</SideNavigationItem>
|
|
1318
|
+
</SideNavigationGroup>
|
|
1319
|
+
</SideNavigationItem>
|
|
1320
|
+
<SideNavigationItem value="inventory">
|
|
1321
|
+
<SideNavigationTrigger>
|
|
1322
|
+
<SideNavigationIcon>
|
|
1323
|
+
<Icon>
|
|
1324
|
+
<Glyph name="file-archive" />
|
|
1325
|
+
</Icon>
|
|
1326
|
+
</SideNavigationIcon>
|
|
1327
|
+
<SideNavigationLabel>Inventory</SideNavigationLabel>
|
|
1328
|
+
</SideNavigationTrigger>
|
|
1329
|
+
<SideNavigationGroup>
|
|
1330
|
+
<SideNavigationItem value="stock-levels">
|
|
1331
|
+
<SideNavigationLink href="#stock-levels">
|
|
1332
|
+
<SideNavigationLabel>Stock levels</SideNavigationLabel>
|
|
1333
|
+
</SideNavigationLink>
|
|
1334
|
+
</SideNavigationItem>
|
|
1335
|
+
<SideNavigationItem value="transfers">
|
|
1336
|
+
<SideNavigationLink href="#transfers">
|
|
1337
|
+
<SideNavigationLabel>Transfers</SideNavigationLabel>
|
|
1338
|
+
</SideNavigationLink>
|
|
1339
|
+
</SideNavigationItem>
|
|
1340
|
+
</SideNavigationGroup>
|
|
1341
|
+
</SideNavigationItem>
|
|
1342
|
+
<SideNavigationItem value="monthly">
|
|
1343
|
+
<SideNavigationLink href="#monthly">
|
|
1344
|
+
<SideNavigationIcon>
|
|
1345
|
+
<Icon>
|
|
1346
|
+
<Glyph name="file-text" />
|
|
1347
|
+
</Icon>
|
|
1348
|
+
</SideNavigationIcon>
|
|
1349
|
+
<SideNavigationLabel>
|
|
1350
|
+
Monthly report · September 2026 · Tacoma warehouse
|
|
1351
|
+
</SideNavigationLabel>
|
|
1352
|
+
</SideNavigationLink>
|
|
1353
|
+
</SideNavigationItem>
|
|
1354
|
+
</SideNavigationList>
|
|
1355
|
+
</SideNavigation>
|
|
1356
|
+
<Text size="sm" tone="muted">
|
|
1357
|
+
Guides stated on the column
|
|
1358
|
+
</Text>
|
|
1359
|
+
<SideNavigation guides defaultExpanded={['orders']} aria-label="Stated">
|
|
1360
|
+
<SideNavigationList>
|
|
1361
|
+
<SideNavigationItem value="orders">
|
|
1362
|
+
<SideNavigationTrigger>
|
|
1363
|
+
<SideNavigationIcon>
|
|
1364
|
+
<Icon>
|
|
1365
|
+
<Glyph name="inbox" />
|
|
1366
|
+
</Icon>
|
|
1367
|
+
</SideNavigationIcon>
|
|
1368
|
+
<SideNavigationLabel>Orders</SideNavigationLabel>
|
|
1369
|
+
</SideNavigationTrigger>
|
|
1370
|
+
<SideNavigationGroup>
|
|
1371
|
+
<SideNavigationItem value="late">
|
|
1372
|
+
<SideNavigationLink href="#late">
|
|
1373
|
+
<SideNavigationLabel>Late</SideNavigationLabel>
|
|
1374
|
+
</SideNavigationLink>
|
|
1375
|
+
</SideNavigationItem>
|
|
1376
|
+
<SideNavigationItem value="shipped">
|
|
1377
|
+
<SideNavigationLink href="#shipped">
|
|
1378
|
+
<SideNavigationLabel>Shipped</SideNavigationLabel>
|
|
1379
|
+
</SideNavigationLink>
|
|
1380
|
+
</SideNavigationItem>
|
|
1381
|
+
</SideNavigationGroup>
|
|
1382
|
+
</SideNavigationItem>
|
|
1383
|
+
<SideNavigationItem value="inventory">
|
|
1384
|
+
<SideNavigationTrigger>
|
|
1385
|
+
<SideNavigationIcon>
|
|
1386
|
+
<Icon>
|
|
1387
|
+
<Glyph name="file-archive" />
|
|
1388
|
+
</Icon>
|
|
1389
|
+
</SideNavigationIcon>
|
|
1390
|
+
<SideNavigationLabel>Inventory</SideNavigationLabel>
|
|
1391
|
+
</SideNavigationTrigger>
|
|
1392
|
+
<SideNavigationGroup>
|
|
1393
|
+
<SideNavigationItem value="stock-levels">
|
|
1394
|
+
<SideNavigationLink href="#stock-levels">
|
|
1395
|
+
<SideNavigationLabel>Stock levels</SideNavigationLabel>
|
|
1396
|
+
</SideNavigationLink>
|
|
1397
|
+
</SideNavigationItem>
|
|
1398
|
+
<SideNavigationItem value="transfers">
|
|
1399
|
+
<SideNavigationLink href="#transfers">
|
|
1400
|
+
<SideNavigationLabel>Transfers</SideNavigationLabel>
|
|
1401
|
+
</SideNavigationLink>
|
|
1402
|
+
</SideNavigationItem>
|
|
1403
|
+
</SideNavigationGroup>
|
|
1404
|
+
</SideNavigationItem>
|
|
1405
|
+
<SideNavigationItem value="monthly">
|
|
1406
|
+
<SideNavigationLink href="#monthly">
|
|
1407
|
+
<SideNavigationIcon>
|
|
1408
|
+
<Icon>
|
|
1409
|
+
<Glyph name="file-text" />
|
|
1410
|
+
</Icon>
|
|
1411
|
+
</SideNavigationIcon>
|
|
1412
|
+
<SideNavigationLabel>
|
|
1413
|
+
Monthly report · September 2026 · Tacoma warehouse
|
|
1414
|
+
</SideNavigationLabel>
|
|
1415
|
+
</SideNavigationLink>
|
|
1416
|
+
</SideNavigationItem>
|
|
1417
|
+
</SideNavigationList>
|
|
1418
|
+
</SideNavigation>
|
|
1419
|
+
</Stack>
|
|
1420
|
+
</SideNavigationDefaultsProvider>
|
|
1421
|
+
);
|
|
1422
|
+
}
|
|
1423
|
+
```
|
|
1424
|
+
|
|
1425
|
+
### Composed with what sits beside it
|
|
1426
|
+
|
|
1427
|
+
A Badge in end for a count that carries a tone, an Avatar in icon for a person, a Kbd for a shortcut, and a router’s own link through render, which is where aria-current comes from.
|
|
1428
|
+
|
|
1429
|
+
Excerpt — not a complete module
|
|
1430
|
+
|
|
1431
|
+
```tsx
|
|
1432
|
+
<SideNavigationLink render={(props) => <NavLink {...props} to="/loads" />}>
|
|
1433
|
+
<SideNavigationIcon>
|
|
1434
|
+
<Package />
|
|
1435
|
+
</SideNavigationIcon>
|
|
1436
|
+
<SideNavigationLabel>Loads</SideNavigationLabel>
|
|
1437
|
+
<SideNavigationEnd>
|
|
1438
|
+
<Badge tone="danger" size="sm">
|
|
1439
|
+
3
|
|
1440
|
+
</Badge>
|
|
1441
|
+
</SideNavigationEnd>
|
|
1442
|
+
</SideNavigationLink>;
|
|
1443
|
+
```
|
|
1444
|
+
|
|
1445
|
+
### The keyboard
|
|
1446
|
+
|
|
1447
|
+
Tab reaches every row. ArrowDown and ArrowUp walk the visible rows, Home and End jump, Escape closes the group holding focus and lands on its trigger. The reason each request carries is shown.
|
|
1448
|
+
|
|
1449
|
+
Excerpt — not a complete module
|
|
1450
|
+
|
|
1451
|
+
```tsx
|
|
1452
|
+
<SideNavigation
|
|
1453
|
+
onExpandedChange={(expanded, request) => log(request.reason)}
|
|
1454
|
+
onValueChange={(value, request) => log(request.reason)}
|
|
1455
|
+
>
|
|
1456
|
+
…
|
|
1457
|
+
</SideNavigation>;
|
|
1458
|
+
```
|
|
1459
|
+
|
|
1460
|
+
### What a reader hears
|
|
1461
|
+
|
|
1462
|
+
A navigation landmark holding a list; each branch a button with aria-expanded and aria-controls; each destination a link, one of them aria-current; a hybrid trigger named by its row.
|
|
1463
|
+
|
|
1464
|
+
Excerpt — not a complete module
|
|
1465
|
+
|
|
1466
|
+
```tsx
|
|
1467
|
+
<SideNavigation aria-label="Main navigation">…</SideNavigation>;
|
|
1468
|
+
```
|