-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename
Library.{Pattern, Example}
=> Library.{SectionL2, SectionL3}
The hierarchical relationship between `Library.{Section, Pattern, Example}` was unclear and the `Pattern` and `Example` components had an unclear purpose since they were used as sections with different kinds of content. Rename these components to make the structure clearer: `Page` -> `Section` -> `SectionL2` -> `SectionL3` where `SectionL{N}` is effectively an alias for `<Section level={N}>`. In the process the meaning of the `level` prop has been adjusted to match the logical section level. In the process also correct the usage of the `<main>` element to refer to just the main content of the page (ie. excluding navigation) instead of the whole page.
- Loading branch information
1 parent
f7da9bf
commit 04481a5
Showing
37 changed files
with
853 additions
and
841 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.