@@ -64,66 +64,70 @@ exports[`ApplicationNavigation correctly applies the theme context className 1`]
64
64
}
65
65
paused = { false }
66
66
>
67
- <InjectIntl(DrawerMenu)
68
- notifications={ Object {}}
69
- utilityItems={ Array []}
67
+ <div
68
+ className = " drawer-menu-focus-trap-container"
70
69
>
71
- <DrawerMenu
72
- intl = {
73
- Object {
74
- " defaultFormats" : Object {},
75
- " defaultLocale" : " en" ,
76
- " formatDate" : [Function ],
77
- " formatHTMLMessage" : [Function ],
78
- " formatMessage" : [Function ],
79
- " formatNumber" : [Function ],
80
- " formatPlural" : [Function ],
81
- " formatRelative" : [Function ],
82
- " formatTime" : [Function ],
83
- " formats" : Object {},
84
- " formatters" : Object {
85
- " getDateTimeFormat" : [Function ],
86
- " getMessageFormat" : [Function ],
87
- " getNumberFormat" : [Function ],
88
- " getPluralFormat" : [Function ],
89
- " getRelativeFormat" : [Function ],
90
- },
91
- " locale" : " en" ,
92
- " messages" : null ,
93
- " now" : [Function ],
94
- " onError" : [Function ],
95
- " textComponent" : " span" ,
96
- " timeZone" : null ,
97
- }
98
- }
99
- navigationItems = { Array []}
70
+ <InjectIntl(DrawerMenu)
100
71
notifications={ Object {}}
101
72
utilityItems={ Array []}
102
73
>
103
- <div
104
- className = " drawer-container"
74
+ <DrawerMenu
75
+ intl = {
76
+ Object {
77
+ " defaultFormats" : Object {},
78
+ " defaultLocale" : " en" ,
79
+ " formatDate" : [Function ],
80
+ " formatHTMLMessage" : [Function ],
81
+ " formatMessage" : [Function ],
82
+ " formatNumber" : [Function ],
83
+ " formatPlural" : [Function ],
84
+ " formatRelative" : [Function ],
85
+ " formatTime" : [Function ],
86
+ " formats" : Object {},
87
+ " formatters" : Object {
88
+ " getDateTimeFormat" : [Function ],
89
+ " getMessageFormat" : [Function ],
90
+ " getNumberFormat" : [Function ],
91
+ " getPluralFormat" : [Function ],
92
+ " getRelativeFormat" : [Function ],
93
+ },
94
+ " locale" : " en" ,
95
+ " messages" : null ,
96
+ " now" : [Function ],
97
+ " onError" : [Function ],
98
+ " textComponent" : " span" ,
99
+ " timeZone" : null ,
100
+ }
101
+ }
102
+ navigationItems = { Array []}
103
+ notifications = { Object {}}
104
+ utilityItems = { Array []}
105
105
>
106
106
<div
107
- className = " drawer-menu"
108
- data-navigation-drawer-menu = { true }
109
- role = { null }
110
- tabIndex = { 0 }
107
+ className = " drawer-container"
111
108
>
112
109
<div
113
- className = " vertical-overflow-container"
110
+ className = " drawer-menu"
111
+ data-navigation-drawer-menu = { true }
112
+ role = { null }
113
+ tabIndex = { 0 }
114
114
>
115
115
<div
116
- className = " header "
116
+ className = " vertical-overflow-container "
117
117
>
118
118
<div
119
- className = " header-background-fill"
120
- />
119
+ className = " header"
120
+ >
121
+ <div
122
+ className = " header-background-fill"
123
+ />
124
+ </div >
121
125
</div >
122
126
</div >
123
127
</div >
124
- </div >
125
- </DrawerMenu >
126
- </InjectIntl(DrawerMenu) >
128
+ </DrawerMenu >
129
+ </InjectIntl( DrawerMenu) >
130
+ </div >
127
131
</FocusTrap >
128
132
</div >
129
133
<div
@@ -512,56 +516,60 @@ exports[`ApplicationNavigation should render with prop data at medium breakpoint
512
516
}
513
517
paused = { false }
514
518
>
515
- <InjectIntl(DrawerMenu)
516
- activeNavigationItemKey="my-test-key"
517
- hero={
518
- <div >
519
- my test hero
520
- </div >
521
- }
522
- navigationItems={
523
- Array [
524
- Object {
525
- " key" : " my-test-key" ,
526
- " text" : " test-text" ,
527
- },
528
- ]
529
- }
530
- notifications={
531
- Object {
532
- " my-test-key-1" : 3 ,
519
+ <div
520
+ className = " drawer-menu-focus-trap-container"
521
+ >
522
+ <InjectIntl(DrawerMenu)
523
+ activeNavigationItemKey="my-test-key"
524
+ hero={
525
+ <div >
526
+ my test hero
527
+ </div >
533
528
}
534
- }
535
- onSelectHelp={ [Function ]}
536
- onSelectLogout={ [Function ]}
537
- onSelectNavigationItem={ [Function ]}
538
- onSelectSettings={ [Function ]}
539
- onSelectUtilityItem={ [Function ]}
540
- titleConfig={
541
- Object {
542
- " title" : " test-title" ,
529
+ navigationItems={
530
+ Array [
531
+ Object {
532
+ " key" : " my-test-key" ,
533
+ " text" : " test-text" ,
534
+ },
535
+ ]
543
536
}
544
- }
545
- userConfig={
546
- Object {
547
- " detail" : " user-detail" ,
548
- " imageSrc" : " user-src" ,
549
- " initials" : " user-initials" ,
550
- " name" : " user-name" ,
537
+ notifications={
538
+ Object {
539
+ " my-test-key-1" : 3 ,
540
+ }
551
541
}
552
- }
553
- utilityItems={
554
- Array [
542
+ onSelectHelp={ [Function ]}
543
+ onSelectLogout={ [Function ]}
544
+ onSelectNavigationItem={ [Function ]}
545
+ onSelectSettings={ [Function ]}
546
+ onSelectUtilityItem={ [Function ]}
547
+ titleConfig={
555
548
Object {
556
- " icon" : <span >
557
- my icon
558
- </span >,
559
- " key" : " my-test-key-2" ,
560
- " text" : " test-text-2" ,
561
- },
562
- ]
563
- }
564
- />
549
+ " title" : " test-title" ,
550
+ }
551
+ }
552
+ userConfig={
553
+ Object {
554
+ " detail" : " user-detail" ,
555
+ " imageSrc" : " user-src" ,
556
+ " initials" : " user-initials" ,
557
+ " name" : " user-name" ,
558
+ }
559
+ }
560
+ utilityItems={
561
+ Array [
562
+ Object {
563
+ " icon" : <span >
564
+ my icon
565
+ </span >,
566
+ " key" : " my-test-key-2" ,
567
+ " text" : " test-text-2" ,
568
+ },
569
+ ]
570
+ }
571
+ />
572
+ </div >
565
573
</FocusTrap >
566
574
</div >
567
575
<div
0 commit comments