Commit 274e35c
pfe-navigation component (#421)
* initial pfe-navigation changes
* ch ch ch changes
* initial pfe-navigation commit
* Bring back the pfe-link-list component; updates to structure of navigation component
* Revert "initial pfe-navigation commit"
This reverts commit 0148e8b.
* Getting navigation to a workabout/style-able place
* Working on theming the navigation-items based on latest mock-ups
* Make the navigation item with icons smaller text
* Got icons working again; polishing states for navigation-items; cleaning up styles for mobile nav
* Apply icons using variables
* Adding styles for the mobile login and language switchers
* Update navigation styles
* Add sticky navigation setting and set up click outside to close
* Updating cloning
* Add overflow settings to tray region
* Tweaks to overflow settings inside the navigation-item tray
* Port the mobile login and language to shadowDOM
* Updating variables to map more closely to the design system
* Adjusting where JS is defined for Safari
* Trying to get Safari to render correctly
* Wrap mobile search in a container so it is easier to hide-show on mobile
* Set up the resize to hide the menu when over 996px
* Add path support for Safari and FF
* Add back navigation-main for markup
* Add a few more styles to the link-list component to match mock-ups
* Replace Red Hat logo with generic placeholder
* Remove unused this.slot declaration which was causing a slot attribute to be added to the wrapper
* Updating styles via code review feedback with Kendall
* Updates re: design feedback + fix bug with close item state
* Fix the focus-within issue; remove selector, style on parent trigger element
* Suppress the fallback link when upgraded
* Shoring up support for direct links in the top-navigation
* Add tests tot he demo page for dynamic content injectin
* Working on fallback and improved styles for edge
* Working on edge styles + add more information to the custom toggled event to make content switching easier
* Edge is looking good; fallback styles
* Edge style fixes
* Adding more comments; wrapping elements in a warning if no light DOM
* Add a closeAllNavigationItems function to more consistently handle the close items event in the main navigation element
* Add a more dynamic way to render mobile-search content based on what's provided in the search slot using an attribute: pfe-navigation--mobile-search
* Remove comments and fix background color styles
* moving script tag inside closing body tag
Also fixed backticks that IE11 doesn't care for.
* moved the creation of PfeNavigation to top of the list
I'm not really sure why this fixes things but order seems to matter here. I found the issue by getting rid of PfeNavigationItem and noticed that when I brought it back in, it created an error with the polyfill. Moving PfeNavigation ahead of it in the creation process seems to fix the issue.
* Reworking accordion to work inside of the navigation component
* Updating accordion styles to support hooks and additional properties
* Revert accordion updates; moved to new branch: accordion-enhancements-updates
* Update navigation to use bubble up events on click
* Standardize on open and close custom events
* Pull out link-list component; fix gulpfile configfactory variable; add back accordion mixins
* Update examples and test files to remove link-list
* Update height variable on sticky state for more graceful transition between sticky and non-sticky state
* Code review feedback; remove console output
* Update markup and imports for storybook instance
* Tidy up navigation storybook, update markup with notes
* Remove demo css for now
* Working with the storybook settings; cleaning up the demo file; adjusting the padding on the nav styles for mobile; add navigation-item schema
* Add light dom styles for tray region; use layouts instead of custom styles
* Tweaking implementation of mobile nav for better IE11 experience
* Add a direct link handler since link is disabled on upgrade
* Fix overlay showing up when escape key is hit twice
* Adding framework for light dom styles for link list
* Fix the logic around which elements fire a close on screen resize
* Push up updates to the styles based on code review feedback; updated pfe-radio to support fallback values
* To prevent changes to existing styles, adjusting the radio function to check for a global variable, $USE-FALLBACK which defaults to false
* Update schemas, add documentation to README
* Push up fix for arrow on to show up on hover; pfe-icon prefixes added to stylesheet; pfe-sticky prefix in JS fixed
* Update versions listed in the package.json for navigation
* Add the pfe prefix to the icon in navigation stylesheet; updated package versions; add cursor styles to navigation item trigger element
* Building the mobile navigation as light DOM; in a broken state but closer to finished now
* pfe-navigation: Cleaning up desktop v. mobile view
* Styles for the updated mobile navigation working in all screen sizes
* Adjusting styles for the nested items, better chevron visibility
* Updating the breakpoint approach, using attributes to toggle visibility
* Resurrect mobile search fields
* Letting breakpoints flow from the JS
* Need to remove the consoles but working through open and close states
* Add exception for hidden attribute on the menu item
* Cleaning up trigger states in toggleHandler
* Click events are all working at this point
* Click events and keyboard navigation working
* Add attributes so styles can be more efficient and clear
* Add close icon
* Ensure escape exits open items even if not in the active state list
* Add todo note
* removing bluebird dependency
* Adjust events to generic toggle; add keymappings for older browsers
* Move navItem collection for pfe-navigation-main to init function
* Adjusting layout for mobile menu for better collapsibility
* Update package to latest release; clean up event firing on nav
* Refactor styles for better fallbacks, using slots not the shadow classes
* Live code review feedback coding updates
* Updating packages; debugging Edge errors
* Update JS to support Edge upgrade; separate navigation files (add compilation task support in gulpfile)
* Adjusting styles for edge compatibility
* Navigation is working in IE11 - note there are debug messages in this commit
* Use pfe-icon to fix IE11 upgrade bug
* Adjusting styles for IE11 compatibility
* Update package for navigation version
* IE11 is upgrading!
* Getting main navigation a little closer in IE11
* Pfe navigation light dom (#484)
* pfe-navigation-light-dom added lightdom styles for desktop, still need to add mobile styles in shadowdom
* pfe-navigation-light-dom added styles for desktop, still working through tablet
* origin/pfe-navigation-light-dom added backup index.html file and updated styles to adjust branch testing bugs
* pfe-navigation-light-dom added styles that addressed the rest of round 1 branch testing
* pfe-navigation-light-dom updated styles for all sections to call in grid and be wrapped in generic column
* pfe-navigation-light-dom added fallbacks for IE
* pfe-navigation-light-dom cleaned up footer breakpoints so they're aligned when in columns
* Merge code with pfe-nav base
* pfe-navigation-light-dom updated class names to have prefix, added auto-flow grid for footer md breakpoint, added 3 columns for tray styles on md breakpoint
* pfe-navigation-light-dom updated class naming to follow BEM syntax
* Updating branch based on code review feedback
* Set pfe-icon as a dependency of pfe-navigation-item
* Add support for temp compilation with files defined in package.json
* Style tweaks and adjustments based on branch testing; setting pfe-nav to private
* Fix gulp build so that all assets are added to the temp directory and if no files array exists in the package.json, all those files are copied to the root
* Remove themes from spandx config; remove tab focus trap from navigation
* Update markup in the demo page, navigation readme
* Fix storybook rendering by adjusting outside listener to allow nesting inside another web component
* Clean up story; commenting out lightdom to debug styles
* Improving on the edge experience
* Tidying up edge experience
* Simplify edge, looking good!
* updating dynamically injected tray text
* Remove console.log, remove outline on link
* Add events to documentation
* Stub out tests
* Remove debug from nav-item; update example in test file; remove __last from template file
* adding tests for pfe-navigation-main
* test: adding more tests to pfe-navigation and pfe-navigation-item
* [dev]: Updates to icon to support fallback text, no fallback text, and collapsing on fail
* [dev]: Add TODO comment for icon hiding
* fix: using the cdn for the polyfills
We need this so it works with Netlify1 parent 1546e11 commit 274e35c
File tree
49 files changed
+4400
-268
lines changed- .storybook
- elements
- pfe-accordion/src
- pfe-icon
- demo
- src
- test
- pfe-layouts/src
- pfe-sass
- functions
- mixins
- variables
- pfe-tabs/src
- pfelement
- src
- examples
- scripts
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
49 files changed
+4400
-268
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
63 | | - | |
| 62 | + | |
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | | - | |
| 7 | + | |
9 | 8 | | |
10 | 9 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
324 | 328 | | |
325 | 329 | | |
326 | 330 | | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
327 | 351 | | |
328 | 352 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
| |||
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
60 | 67 | | |
61 | | - | |
| 68 | + | |
62 | 69 | | |
63 | 70 | | |
64 | 71 | | |
| |||
0 commit comments