Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
186 commits
Select commit Hold shift + click to select a range
c231983
Add aria labels for Calendar items
MLoughry Apr 11, 2017
486c15d
Add change file
MLoughry Apr 11, 2017
bdd5061
Merge branch 'master' into calendar/add-aria-labels
MLoughry Apr 11, 2017
d8fa7fe
Merge branch 'master' into calendar/add-aria-labels
MLoughry Apr 11, 2017
f6836de
Merge branch 'master' into calendar/add-aria-labels
MLoughry Apr 11, 2017
dc1e667
Merge branch 'master' into calendar/add-aria-labels
MLoughry Apr 11, 2017
8fc0966
support onRender
rachelcl9 Apr 11, 2017
9810305
Added change file
rachelcl9 Apr 11, 2017
d2fa159
Merge branch 'master' into chuli/cmdOnRender
rachelcl9 Apr 11, 2017
bb981b2
fix build error
rachelcl9 Apr 11, 2017
2e15942
Merge branch 'master' into calendar/add-aria-labels
MLoughry Apr 12, 2017
95e0ac6
address comments
rachelcl9 Apr 13, 2017
bcc01ea
Merge branch 'master' into calendar/add-aria-labels
micahgodbolt Apr 13, 2017
20c28b3
text field semantic slots first draft
phkuo Apr 15, 2017
4063b74
Merge branch 'master' into chuli/cmdOnRender
micahgodbolt Apr 17, 2017
2ec6c1d
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
MLoughry Apr 17, 2017
426d89e
Check for Intl API method existence
MLoughry Apr 17, 2017
5d0cb92
Merge branch 'master' into chuli/cmdOnRender
rachelcl9 Apr 18, 2017
ff9f360
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
rachelcl9 Apr 18, 2017
d3587ad
input field semantics draft
phkuo Apr 18, 2017
3f40632
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
rachelcl9 Apr 18, 2017
70fb842
Merge remote-tracking branch 'origin/chuli/cmdOnRender' into chuli/cm…
rachelcl9 Apr 18, 2017
7ef9640
Merge branch 'master' into calendar/add-aria-labels
micahgodbolt Apr 20, 2017
e91abe9
Merge branch 'master' into calendar/add-aria-labels
MLoughry Apr 20, 2017
2d7733b
Merge pull request #1476 from MLoughry/calendar/add-aria-labels
MLoughry Apr 20, 2017
b2d641a
rename generic input category to more specific field category
phkuo Apr 20, 2017
59ebcdd
remove commented code
phkuo Apr 21, 2017
7ab1b2e
merge master
phkuo Apr 21, 2017
72313e6
add rush change file
phkuo Apr 21, 2017
d735229
Initial checkin for @uifabric/styling package (#1558)
dzearing Apr 21, 2017
e663855
Update package.json
dzearing Apr 21, 2017
80fed23
Update package.json
dzearing Apr 21, 2017
6b70688
Update package.json
dzearing Apr 21, 2017
dba7726
Update package.json
dzearing Apr 21, 2017
107bd0b
Applying package updates.
Apr 21, 2017
8d42d8a
Modal: Remove Fabric Core dep by moving to local transitions. (#1567)
micahgodbolt Apr 21, 2017
d523377
#1302 Callout: Allow callout to specify background color (#1403)
jechayav Apr 21, 2017
2c36116
clean up a todo
phkuo Apr 21, 2017
cf11f2e
make focus async to get rid of sync focus in detailsList (#1193)
jijizz Apr 21, 2017
191a86b
fix test failure
rachelcl9 Apr 22, 2017
c3f6dcd
Remove logos for Fabric JS & Angular project and bring down to same l…
Jahnp Apr 23, 2017
3a7c487
Searchbox: Fixes for IE11 keystroke miss + flex overflow (#1583)
mdahamiwal Apr 24, 2017
2aebbe4
Merge branch 'master' into jahnp/website-updates
Jahnp Apr 24, 2017
00a9fc5
Merge pull request #1577 from Jahnp/jahnp/website-updates
Jahnp Apr 24, 2017
2047284
The 'npm start' command now works when adding/removing css classes. (…
dzearing Apr 24, 2017
9e65832
Message bar mouse events (#1585)
micahgodbolt Apr 24, 2017
4903f6f
#1097-- DropDown: Adds require to DropDown when required, and adds er…
aleksandrjPersonal Apr 11, 2017
f77518b
#1097-- DropDown: Adds require to DropDown when required, and adds er…
aleksandrjPersonal Apr 13, 2017
3cf2e5e
#1097-- DropDown: removes MessageBox + change file + ScreenShot
aleksandrjPersonal Apr 18, 2017
ef5477d
#1097-- DropDown: revises error state per designer feedback
aleksandrjPersonal Apr 18, 2017
e50b90d
#1097-- lint
aleksandrjPersonal Apr 18, 2017
c2db88c
#1097-- PR feedback, removing dup change file, removing test values
aleksandrjPersonal Apr 20, 2017
3a8b5b1
Merge branch 'master' into 1097_Dropown_Require
aleksandrjPersonal Apr 24, 2017
269e700
Panel left shadow (#1586)
micahgodbolt Apr 24, 2017
17cb33b
#1097-- Fix for UnitTests, checking if errorMessage is null.
aleksandrjPersonal Apr 24, 2017
e7c3383
Merge branch 'master' into 1097_Dropown_Require
aleksandrjPersonal Apr 24, 2017
dfe1190
Merge pull request #1499 from aleksandrjPersonal/1097_Dropown_Require
aleksandrjPersonal Apr 24, 2017
f2b0282
Applying package updates.
Apr 25, 2017
d695711
Added focus zone around navigation to make it more keyboard accessibl…
micahgodbolt Apr 25, 2017
c3a2526
Dropdown: Fix for ellipsis for dropdown items with long strings (#1589)
gitjain Apr 25, 2017
9443626
semantic slotify the toggle control
phkuo Apr 26, 2017
1fafa3f
semantic slot-ify radio buttons, border colors are different
phkuo Apr 26, 2017
a1030f5
Applying package updates.
Apr 26, 2017
c64c8db
Show tooltip only on overflow (#1444)
cschleiden Apr 26, 2017
6928438
Fix bad merge (#1626)
cschleiden Apr 26, 2017
c80875c
TextField: Convert to flexbox, support addons (#1574)
micahgodbolt Apr 26, 2017
dd367a8
People picker edge keyboarding (#1496)
kristoferbrown Apr 26, 2017
965cd8c
Use overflow-wrap: break-word instead of word-break: break-all in too…
T-Hugs Apr 26, 2017
aae1b54
Add fixes keyword to pull request tempmlate
micahgodbolt Apr 26, 2017
6bdbba7
Support auto-navigation to next previous month when selected date cha…
johannao76 Apr 27, 2017
acd2361
Merge branch 'master' of https://github.com/officedev/office-ui-fabri…
johannao76 Apr 27, 2017
676a995
Fix a few small bugs
johannao76 Apr 27, 2017
ab1653b
change file
johannao76 Apr 27, 2017
0cab3d6
merge master
phkuo Apr 27, 2017
3fc7868
Applying package updates.
Apr 27, 2017
e42da36
Updating website paths
Apr 27, 2017
6edd10f
Merge pull request #1639 from battletoilet/website-and-cdn-updates
gokunymbus Apr 27, 2017
2bc2945
Model the toggle control as a checkbox for more universal screen read…
scriby Apr 27, 2017
3f272fd
Fix build
scriby Apr 27, 2017
e22b00a
Add change file
scriby Apr 27, 2017
b90c9db
fix some Textfield bugs, wip
phkuo Apr 27, 2017
ea804d3
Update Calendar.Inline.Example.tsx
micahgodbolt Apr 27, 2017
e1c6b7b
Feature/dropdown ax (#1625)
scriby Apr 27, 2017
0e657fd
Use ariaLabel in Panel and fix up/down keyboard nav for links in Deta…
dmarcey Apr 27, 2017
45ad4e8
Update Fabric website version number (#1646)
Apr 27, 2017
6ba4838
Updated textfield examples fixes #1648 (#1649)
micahgodbolt Apr 27, 2017
5635326
TooltipHost: Include aria-described (#1628)
ostreifel Apr 27, 2017
4fb4c1e
Update README.md (#1653)
natedotzlaf Apr 28, 2017
b4b56d7
Applying package updates.
Apr 28, 2017
f18cb9d
Triple equals!
johannao76 Apr 28, 2017
fdaac8f
Revert "Triple equals!"
johannao76 Apr 28, 2017
3df45d6
Re-committing triple equals
johannao76 Apr 28, 2017
230dce2
Fixing AMD dependency break introduced in 2.23.1. (#1656)
dzearing Apr 28, 2017
e17c996
Applying package updates.
Apr 28, 2017
532a088
Merge branch 'master' into feature/toggle-ax
cschlechty Apr 28, 2017
d8d58af
Merge pull request #1643 from scriby/feature/toggle-ax
cschlechty Apr 28, 2017
83a663c
remove a todo
phkuo Apr 28, 2017
f780fe5
update disabled colors
phkuo Apr 28, 2017
f8338f3
semantic slotify details list
phkuo Apr 29, 2017
5eb9fbb
add rush change file
phkuo Apr 29, 2017
2d065d3
Applying package updates.
May 1, 2017
65b3aa3
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
rachelcl9 May 1, 2017
88def2f
Pivot: render headers only (#1438)
pablonete May 1, 2017
eb818cf
Bumping package dependencies. (#1671)
dzearing May 2, 2017
411134b
withViewport: preserve forceUpdate on update loop. (#1657)
jostrick May 2, 2017
2795f45
#1664 -- Panel: Close button, size, margin and container. Updated to …
aleksandrjPersonal May 2, 2017
dd35c66
List: Correctly measure pages when using display: none. (#1582)
pablonete May 2, 2017
acbd0ca
Merge branch 'master' into chuli/cmdOnRender
dzearing May 2, 2017
22eaa92
Callout: Support for aria role, label and description (#1622)
mdahamiwal May 2, 2017
a0a0b4c
Update master_2017-04-27-00-31.json
dzearing May 2, 2017
1b65c5b
Calendar: Support auto-navigation when selected date changes via prop…
johannao76 May 2, 2017
f3a8a8b
ContextMenus: change to using semantic slots (#1658)
phkuo May 2, 2017
c5b7c5b
Applying package updates.
May 2, 2017
021e86a
Ysliu/calendar aria label nit (#1676)
YusongLiu May 2, 2017
bff1039
TooltipHost: Add className and fix example button (#1675)
hross May 2, 2017
3ba4f09
Fixed bug where props/state were passed in reverse order (#1679)
micahgodbolt May 2, 2017
48c06c5
Applying package updates.
May 2, 2017
3ad2c9f
fix some color choices
phkuo May 2, 2017
e562863
merge master
phkuo May 2, 2017
88f797f
Merge pull request #1661 from phkuo/phkuo/semanticLists
phkuo May 2, 2017
cb10ce6
merge master
phkuo May 2, 2017
3099f82
Backing out typescript bump, reverting to 2.2.2, due to breaking chan…
dzearing May 3, 2017
2b5ac6c
Textfield text fixes (#1663)
micahgodbolt May 3, 2017
d093dbe
Applying package updates.
May 3, 2017
475301d
Regression Test: Tests updates (#1644)
gitjain May 3, 2017
bb8ede9
Dropdown placeholder text (#1684)
micahgodbolt May 3, 2017
7d2c336
Dropdown: Tab should close dropdown and tab to next item in tab order
micahgodbolt May 3, 2017
eb22bf9
Added change file
micahgodbolt May 3, 2017
c5b1ee3
Revert "Dropdown: Tab should close dropdown and tab to next item in t…
micahgodbolt May 3, 2017
20fa5ef
Revert "Added change file"
micahgodbolt May 3, 2017
b551a5b
ContextMenu: give disabled text its own slot (#1682)
phkuo May 3, 2017
ecacf12
Overflow set (#1537)
micahgodbolt May 3, 2017
6818b85
Dropdown: Tab should close dropdown and tab to next item in tab order…
micahgodbolt May 3, 2017
35d4a8a
this places the aria label on the menu div as asked by some vendors d…
petdun2519 May 3, 2017
0f0129b
DetailList: Add aria-rowcount and aria-colcount (#1667)
petdun2519 May 3, 2017
ed29176
Fix native types (#1692)
cschlechty May 3, 2017
25b7c21
merge master
phkuo May 3, 2017
9503a58
fix tslint errors
rachelcl9 May 4, 2017
a80b93a
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
rachelcl9 May 4, 2017
5aa2769
Merge branch 'chuli/cmdOnRender' of https://github.com/rachelcl9/offi…
rachelcl9 May 4, 2017
9bf5f09
Applying package updates.
May 4, 2017
85b4813
Pivot: increased specificty to fix button styles overriding pivot sty…
micahgodbolt May 4, 2017
ed37f07
Fix broken links to PDFs on color and brand icon pages (#1712)
Jahnp May 4, 2017
22364f5
Merge branch 'master' into chuli/cmdOnRender
MLoughry May 4, 2017
64b0d4b
Merge pull request #1497 from rachelcl9/chuli/cmdOnRender
MLoughry May 4, 2017
29d815a
Re-enabling SSR tests, fixing SSR issues, removing deprecations (#1710)
dzearing May 4, 2017
21c030c
Pass in new props to _getWeeks so it properly renders when new date r…
johannao76 May 4, 2017
ca03506
Merge branch 'master' of https://github.com/officedev/office-ui-fabri…
johannao76 May 4, 2017
1c364fd
Fixed persona size 28 initials size (#1715)
lju May 4, 2017
118df4e
Dropdown, slider high contrast fixes (#1718)
mdahamiwal May 4, 2017
df25635
Update lydutk-fixedPersonaSize28InitialsHeight_2017-05-04-15-28.json
micahgodbolt May 4, 2017
d8a36a2
Applying package updates.
May 5, 2017
905f748
Add readonly to combobox implementation (#1730)
hross May 5, 2017
62f8ceb
Calendar: make today configurable to support different timezone (#1724)
hyungkwon May 5, 2017
6063694
Merge branch 'master' of https://github.com/officedev/office-ui-fabri…
johannao76 May 5, 2017
bb03faf
Remove duplicate change file
johannao76 May 5, 2017
030db5c
SearchBox: added the ariaLabel optional property (#1689)
May 5, 2017
d104867
Add button focus swap example
hross May 5, 2017
4561927
Fixed contextual menu example
micahgodbolt May 5, 2017
1f4c653
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
micahgodbolt May 5, 2017
1bedcc7
PR feedback
johannao76 May 5, 2017
b3b21ac
Callout: Add minPagePadding. Dropdown: Expose calloutProps (#1735)
micahgodbolt May 5, 2017
1f65245
Updated docs to include the required Fabric component (#1731)
micahgodbolt May 5, 2017
e8025aa
Unbreaking the build. Bad merge caused warnings in the build.
dzearing May 6, 2017
93ab95d
Applying package updates.
May 8, 2017
1a7eaf1
Tooltip custom render (#1737)
micahgodbolt May 8, 2017
09f53d2
Choicegroup focus (#1738)
micahgodbolt May 8, 2017
4cb2be9
Merge branch 'master' into add-button-focus-example
cschleiden May 8, 2017
7b1ad6f
Fixing lint. (#1743)
dzearing May 8, 2017
836a427
Merge branch 'master' into add-button-focus-example
hross May 8, 2017
5186db8
Adds borderless option to TextField component. (#1739)
martellaj May 8, 2017
a03d36b
Enable sp build web in styling (#1681)
srideshpande May 8, 2017
56afc33
Applying package updates.
May 8, 2017
b50ba3b
PR feedback
johannao76 May 8, 2017
20cfe17
Merge branch 'master' of https://github.com/officedev/office-ui-fabri…
johannao76 May 8, 2017
bf17c17
Merge pull request #1732 from johannao76/minimonthfixes
johannao76 May 8, 2017
a2c4e09
merge master
phkuo May 8, 2017
0143902
fix typo
johannao76 May 8, 2017
f187f47
Change file
johannao76 May 8, 2017
e7d3129
Merge pull request #1747 from johannao76/minimonthfixes
johannao76 May 8, 2017
366a6d5
Applying package updates.
May 9, 2017
452c924
ContextualMenu: fix submenu not showing updated props correctly (#1745)
joschect May 9, 2017
aa13ff7
Merge branch 'master' into phkuo/semanticInputs
micahgodbolt May 9, 2017
bb7474c
Merge pull request #1568 from phkuo/phkuo/semanticInputs
phkuo May 9, 2017
b6f7c6a
Merge branch 'master' into add-button-focus-example
cschleiden May 9, 2017
dbe7899
Merge pull request #1733 from hross/add-button-focus-example
hross May 10, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#### Pull request checklist

- [ ] Addresses an existing issue: #0000
- [ ] Addresses an existing issue: Fixes #0000
- [ ] Include a change request file if publishing <!-- see notes below -->
- [ ] New feature, bugfix, or enhancement
- [ ] Includes tests
Expand Down
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ before_script:
- npm install -g gulp
script:
- npm run build
cache:
directories:
- node_modules
- common/node_modules
25 changes: 21 additions & 4 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,27 @@
"outDir": null
},
{
"name": "Attach",
"name": "Run ssr tests",
"type": "node",
"request": "attach",
"port": 5858
}
"request": "launch",
"program": "${workspaceRoot}/apps/ssr-tests/node_modules/mocha/bin/_mocha",
"stopOnEntry": true,
"args": [
"--debug",
"dist/test-bundle.js"
],
"cwd": "${workspaceRoot}/apps/ssr-tests",
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy",
"--debug"
],
"env": {
"NODE_ENV": "development"
},
"externalConsole": false,
"sourceMaps": false,
"outDir": null
},
]
}
4 changes: 2 additions & 2 deletions apps/fabric-website/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ build.tslint.setConfig({
// TODO: remove this! There are a number of lint errors to fix.
build.tslint.isEnabled = () => false;

/* Configure TypeScript 2.0. */
build.typescript.setConfig({ typescript: require('typescript') });
// Configure TypeScript.
build.TypeScriptConfiguration.setTypescriptCompiler(require('typescript'));

build.text.setConfig({ textMatch: ['src/**/*.txt', 'src/**/*.Example.tsx', 'src/**/*.Props.ts'] });

Expand Down
1 change: 0 additions & 1 deletion apps/fabric-website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<title>Office UI Fabric</title>
<link href="https://devofficecdn.azureedge.net/themes/DevOffice/Content/favicon.ico" rel="shortcut icon" type="image/x-icon"
/>
<link rel="stylesheet" href="/dist/fabric.min.css"></link>
<script src="https://cdn.optimizely.com/js/5703250400.js"></script>
<style>
body,
Expand Down
30 changes: 15 additions & 15 deletions apps/fabric-website/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fabric-website",
"version": "4.5.17",
"version": "4.5.20",
"description": "Reusable React components for building experiences for Office 365.",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand All @@ -23,34 +23,34 @@
"@types/mocha": "^2.2.39",
"@types/react": "^15.0.16",
"@types/react-addons-test-utils": "^0.14.17",
"@types/react-dom": "^0.14.23",
"@types/react-dom": "^15.5.0",
"@types/webpack-env": "^1.13.0",
"es6-promise": "3.2.1",
"es6-promise": "4.1.0",
"git-rev": "0.2.1",
"gulp": "~3.9.1",
"gulp-debug": "2.1.2",
"gulp-debug": "3.1.0",
"gulp-prompt": "^0.2.0",
"gulp-util": "3.0.7",
"gulp-util": "3.0.8",
"gutil": "1.6.4",
"highlight.js": "9.6.0",
"mocha": "~2.5.3",
"highlight.js": "9.11.0",
"mocha": "~3.3.0",
"orchestrator": "^0.3.7",
"react": "^15.4.2",
"react-addons-test-utils": "^15.4.2",
"react-dom": "^15.4.2",
"react-highlight": "0.8.0",
"source-map-loader": "0.1.5",
"typescript": "^2.2.2",
"vinyl-ftp": "0.4.5",
"react-highlight": "0.9.0",
"source-map-loader": "0.2.1",
"typescript": "2.2.2",
"vinyl-ftp": "0.6.0",
"webpack-bundle-analyzer": "^2.2.1"
},
"dependencies": {
"@uifabric/example-app-base": "1.3.8",
"@uifabric/example-app-base": "1.3.11",
"color-functions": "1.1.0",
"json-loader": "^0.5.4",
"load-themed-styles": "^1.1.0",
"office-ui-fabric-core": ">=5.1.0-0 <6.0.0-0",
"office-ui-fabric-react": ">=2.20.1 <3.0.0",
"@uifabric/utilities": ">=1.8.0 <2.0.0"
"office-ui-fabric-core": ">=5.1.0 <6.0.0",
"office-ui-fabric-react": ">=2.27.1 <3.0.0",
"@uifabric/utilities": ">=1.8.7 <2.0.0"
}
}
3 changes: 2 additions & 1 deletion apps/fabric-website/src/components/CodeBlock/CodeBlock.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as React from 'react';
import { css } from 'office-ui-fabric-react/lib/Utilities';
import styles = require('./CodeBlock.module.scss');
import * as stylesImport from './CodeBlock.module.scss';
const styles: any = stylesImport;

const Highlight = require('react-highlight');

Expand Down
3 changes: 2 additions & 1 deletion apps/fabric-website/src/components/ColorTable/ColorTable.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as React from 'react';
import { css } from 'office-ui-fabric-react/lib/Utilities';
import styles = require('./ColorTable.module.scss');
import * as stylesImport from './ColorTable.module.scss';
const styles: any = stylesImport;

export interface IColorTableProps {
/**
Expand Down
146 changes: 74 additions & 72 deletions apps/fabric-website/src/components/DONavigation/DONavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,75 +80,75 @@ export class DONavigation extends React.Component<IDONavigationProps, IDONavigat

public render() {
return (
<div className='od-Navigation'>
<div className='od-Navigation-searchContainer'>
<DOSearchBox />
</div>
<div className='od-Navigation-links' role='menu'>
<div className='od-Navigation-linkContainer'>
<a className='od-Navigation-link is-selected' role='menuitem' aria-label='Explore menu item, hit enter to open sub-menu and tab to navigate to first sub menu item' href='/' aria-expanded='false'>
Explore
<div className='od-Navigation'>
<div className='od-Navigation-searchContainer'>
<DOSearchBox />
</div>
<div className='od-Navigation-links' role='menu'>
<div className='od-Navigation-linkContainer'>
<a className='od-Navigation-link is-selected' role='menuitem' aria-label='Explore menu item, hit enter to open sub-menu and tab to navigate to first sub menu item' href='/' aria-expanded='false'>
Explore
<i className='ms-Icon ms-Icon--ChevronDown' aria-hidden='true'></i>
</a>
<div className='od-Navigation-subMenu'>
<div className='od-Navigation-subMenuItems'>
<div className='ms-Grid'>
<div className='ms-Grid-row'>
<div className='ms-Grid-col ms-u-xl3 ms-u-sm12 od-Navigation-menuFirstColumn'>
{ this._getLinks(links.exploreLinks.firstMenuColumn) }
</div>
<div className='ms-Grid-col ms-u-xl3 ms-u-sm12 od-Navigation-menuSecondColumn'>
{ this._getLinks(links.exploreLinks.secondMenuColumn) }
</div>
<div className='ms-Grid-col ms-u-xl3 ms-u-sm12 od-Navigation-menuThirdColumn'>
{ this._getLinks(links.exploreLinks.thirdMenuColumn) }
<div className='od-Navigation-subMenuOverflowColor'></div>
</div>
</a>
<div className='od-Navigation-subMenu'>
<div className='od-Navigation-subMenuItems'>
<div className='ms-Grid'>
<div className='ms-Grid-row'>
<div className='ms-Grid-col ms-u-xl3 ms-u-sm12 od-Navigation-menuFirstColumn'>
{ this._getLinks(links.exploreLinks.firstMenuColumn) }
</div>
<div className='ms-Grid-col ms-u-xl3 ms-u-sm12 od-Navigation-menuSecondColumn'>
{ this._getLinks(links.exploreLinks.secondMenuColumn) }
</div>
<div className='ms-Grid-col ms-u-xl3 ms-u-sm12 od-Navigation-menuThirdColumn'>
{ this._getLinks(links.exploreLinks.thirdMenuColumn) }
<div className='od-Navigation-subMenuOverflowColor'></div>
</div>
</div>
</div>
</div>
</div>
<div className='od-Navigation-linkContainer'>
<a className='od-Navigation-link' role='menuitem' aria-label='Getting started menu item' href='http://dev.office.com/getting-started'>
Getting Started
</div>
<div className='od-Navigation-linkContainer'>
<a className='od-Navigation-link' role='menuitem' aria-label='Getting started menu item' href='http://dev.office.com/getting-started'>
Getting Started
</a>
</div>
<div className='od-Navigation-linkContainer'>
<a className='od-Navigation-link' role='menuitem' aria-label='Code Samples menu item' href='http://dev.office.com/code-samples'>
Code Samples
</div>
<div className='od-Navigation-linkContainer'>
<a className='od-Navigation-link' role='menuitem' aria-label='Code Samples menu item' href='http://dev.office.com/code-samples'>
Code Samples
</a>
</div>
<div className='od-Navigation-linkContainer'>
<a className='od-Navigation-link' role='menuitem' aria-label='Resources menu item, hit enter to open sub-menu' href='/' aria-expanded='false'>
Resources
</div>
<div className='od-Navigation-linkContainer'>
<a className='od-Navigation-link' role='menuitem' aria-label='Resources menu item, hit enter to open sub-menu' href='/' aria-expanded='false'>
Resources
<i className='ms-Icon ms-Icon--ChevronDown' aria-hidden='true'></i>
</a>
<div className='od-Navigation-subMenu'>
<div className='od-Navigation-subMenuItems od-Navigation-menuFirstColumn'>
{ this._getLinks(links.resourcesLinks) }
</div>
</a>
<div className='od-Navigation-subMenu'>
<div className='od-Navigation-subMenuItems od-Navigation-menuFirstColumn'>
{ this._getLinks(links.resourcesLinks) }
</div>
</div>
<div className='od-Navigation-linkContainer'>
<a className='od-Navigation-link' role='menuitem' aria-label='Documentation menu item, hit enter to open sub-menu and tab to navigate to first sub menu item' href='/' aria-expanded='false'>
Documentation
</div>
<div className='od-Navigation-linkContainer'>
<a className='od-Navigation-link' role='menuitem' aria-label='Documentation menu item, hit enter to open sub-menu and tab to navigate to first sub menu item' href='/' aria-expanded='false'>
Documentation
<i className='ms-Icon ms-Icon--ChevronDown' aria-hidden='true'></i>
</a>
<div className='od-Navigation-subMenu'>
<div className='od-Navigation-subMenuItems od-Navigation-menuFirstColumn'>
{ this._getLinks(links.documentationLinks) }
</div>
</a>
<div className='od-Navigation-subMenu'>
<div className='od-Navigation-subMenuItems od-Navigation-menuFirstColumn'>
{ this._getLinks(links.documentationLinks) }
</div>
</div>
</div>
<div className='od-Navigation-socialButtons'>
<div className='od-Navigation-socialButton'></div>
<div className='od-Navigation-socialButton'></div>
<div className='od-Navigation-socialButton'></div>
<div className='od-Navigation-socialButton'></div>
<div className='od-Navigation-socialButton'></div>
</div>
</div>
<div className='od-Navigation-socialButtons'>
<div className='od-Navigation-socialButton'></div>
<div className='od-Navigation-socialButton'></div>
<div className='od-Navigation-socialButton'></div>
<div className='od-Navigation-socialButton'></div>
<div className='od-Navigation-socialButton'></div>
</div>
</div>
);
}
Expand Down Expand Up @@ -188,11 +188,11 @@ export class DONavigation extends React.Component<IDONavigationProps, IDONavigat
if (linkContainer) {
subMenuContainer = linkContainer.querySelector(this.SUBMENU_CLASS);
targetRect = subMenuContainer.getBoundingClientRect();
targetHeight = targetRect.top + targetRect.height;
targetHeight = targetRect.top + targetRect.height;
} else {
navcontainerRect = this.navcontainerel.getBoundingClientRect();
targetHeight = bannerContainer.getBoundingClientRect().top
+ bannerContainer.getBoundingClientRect().height;
+ bannerContainer.getBoundingClientRect().height;
if (this.navcontainerel.classList.contains('docs-showNavigation')) {
targetHeight += navcontainerRect.height;
// console.log(targetHeight);
Expand Down Expand Up @@ -269,10 +269,12 @@ export class DONavigation extends React.Component<IDONavigationProps, IDONavigat
this.linksel.classList.remove(this.LINKS_CONTAINER_ANIM_IN_CLASS);

if (window.innerWidth < this.XLSIZE) {
this.linksel.classList.add(this.LINKS_CONTAINER_ANIM_OUT_CLASS);
setTimeout(function() {
this.linksel.classList.remove(this.LINKS_MOBILE_OPEN_STATE);
}, 200);
if (this.linksel) {
this.linksel.classList.add(this.LINKS_CONTAINER_ANIM_OUT_CLASS);
setTimeout(function () {
this.linksel.classList.remove(this.LINKS_MOBILE_OPEN_STATE);
}, 200);
}
} else {
this._removeAllActiveClasses();
}
Expand Down Expand Up @@ -332,26 +334,26 @@ export class DONavigation extends React.Component<IDONavigationProps, IDONavigat
let node = child.parentNode;
while (node != null) {
if (node === parent) {
return true;
return true;
}
node = node.parentNode;
}
return false;
}

private _removeAllActiveClasses() {
for (let i = 0; i < this._containers.length; i++) {
this._containers[i].classList.remove(this.LINK_OPEN_STATE);
}
for (let i = 0; i < this._containers.length; i++) {
this._containers[i].classList.remove(this.LINK_OPEN_STATE);
}
}

private findAncestor (el, cls) {
let newCLS = cls.replace('.', '');
let that;
let newEL = el;
while ((newEL = newEL.parentElement) && !newEL.classList.contains(newCLS)) {
that = this;
}
return newEL;
private findAncestor(el, cls) {
let newCLS = cls.replace('.', '');
let that;
let newEL = el;
while ((newEL = newEL.parentElement) && !newEL.classList.contains(newCLS)) {
that = this;
}
return newEL;
}
}
3 changes: 2 additions & 1 deletion apps/fabric-website/src/components/IconGrid/IconGrid.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as React from 'react';
import { SearchBox } from 'office-ui-fabric-react/lib/SearchBox';
import styles = require('./IconGrid.module.scss');
import * as stylesImport from './IconGrid.module.scss';
const styles: any = stylesImport;

export interface IIconGridProps {
/**
Expand Down
1 change: 1 addition & 0 deletions apps/fabric-website/src/components/Nav/Nav.Props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export interface INavPage {
* The component to render for this page's content.
*/
component?: any;

/**
* Loads the component using require.ensure;
*/
Expand Down
12 changes: 8 additions & 4 deletions apps/fabric-website/src/components/Nav/Nav.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import * as React from 'react';
import { css } from 'office-ui-fabric-react/lib/Utilities';
import styles = require('./Nav.module.scss');
import { FocusZone, FocusZoneDirection } from 'office-ui-fabric-react/lib/FocusZone';
import * as stylesImport from './Nav.module.scss';
const styles: any = stylesImport;
import {
INavProps,
INavPage
Expand All @@ -23,9 +25,11 @@ export class Nav extends React.Component<INavProps, INavState> {
: null;

return (
<nav className={ styles.nav } role='navigation'>
{ links }
</nav>
<FocusZone direction={ FocusZoneDirection.vertical } >
<nav className={ styles.nav } role='navigation'>
{ links }
</nav>
</FocusZone>
);
}

Expand Down
3 changes: 2 additions & 1 deletion apps/fabric-website/src/components/PageHeader/PageHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as React from 'react';
import { css, BaseComponent } from 'office-ui-fabric-react/lib/Utilities';
import styles = require('./PageHeader.module.scss');
import * as stylesImport from './PageHeader.module.scss';
const styles: any = stylesImport;
import { getPageRouteFromState } from '../../utilities/pageroute';
import { PageHeaderLink } from '../../components/PageHeaderLink/PageHeaderLink';

Expand Down
Loading