This repository has been archived by the owner on May 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[terra-dev-site] Terra dev site v7 (#255)
* first pass * remove unsaved changes prompt * clean up * Downgrade modals to use modal manager, update doc. * kaiju 404 page * lint fixes * some more lint fixes * build plz * Adding side nav button back and overlay. * temporarily disable eslint false positives * translations and theming * Fix lint * terra-docs translations * Updated screenshots * remove extra whitespace from the end of the codeblocks * Themes and allow for custom app base and app nav * Offer reload button on chuck load failure * Re-organized files * updated screenshots * fix link, move up side effect imports * Change logs * polyfills * fix * test fixes, and other fixes * use the 'isFilterStyle' option for the native select in settings. * Add an faq on sizing * Updated screenshots, added doc for webpack 4 no entry case. * Apply suggestions from code review Co-authored-by: Tyler Biethman <[email protected]> * Apply suggestions from code review * Update packages/terra-dev-site/README.md * CR fixes and updates to proptypes * Apply suggestions from code review Co-authored-by: Ben Cai <[email protected]> Co-authored-by: Jaime Mackey <[email protected]> * add in test extension, updates tests * Doc updates * routing should be case insensitive * Fix graphs examples, Remove portaling for pages, update portaling for secondary nav items. * Update packages/terra-application-docs/src/terra-dev-site/tool/terra-dev-site/UpgradeGuides.f/v7.0.0.s.tool.mdx Co-authored-by: Jaime Mackey <[email protected]> * whoops flip this back * no scrolling when secondary nav is open * Updating translations * Apply suggestions from code review Co-authored-by: Ryan Manuel <[email protected]> * remove commented code * only add the entry loader once for all site plugins. * Apply suggestions from code review Co-authored-by: Emily Rohrbough <[email protected]> * update tests * doc update Co-authored-by: Tyler Biethman <[email protected]> Co-authored-by: Ben Cai <[email protected]> Co-authored-by: Jaime Mackey <[email protected]> Co-authored-by: Ryan Manuel <[email protected]> Co-authored-by: Emily Rohrbough <[email protected]>
- Loading branch information
1 parent
a7194cf
commit a454149
Showing
775 changed files
with
7,567 additions
and
6,946 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ | |
|
||
## Unreleased | ||
|
||
* Added | ||
* terra-dev-site v7 docs | ||
|
||
## 1.2.0 - (August 26, 2021) | ||
|
||
* Changed | ||
|
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
1 change: 1 addition & 0 deletions
1
...es/terra-application-docs/src/additionalTest/additionalSearchDirectory.test.mdx
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Additional Search Directory |
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
1 change: 0 additions & 1 deletion
1
...ite/component/ThemedComponent.module.scss → ...est/component/ThemedComponent.module.scss
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
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions
7
packages/terra-application-docs/src/dev-site-extended-test/extended/extended.extended.jsx
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import React from 'react'; | ||
|
||
export default () => ( | ||
<h1 className="terra-dev-site-extended"> | ||
extended | ||
</h1> | ||
); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 0 additions & 5 deletions
5
...n-docs/src/terra-dev-site/component/terra-dev-site-test-theme/ThemedComponent.module.scss
This file was deleted.
Oops, something went wrong.
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
6 changes: 6 additions & 0 deletions
6
packages/terra-application-docs/src/terra-dev-site/test/terra-dev-site/loaders/example.scss
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
:global { | ||
body, | ||
h1 { | ||
height: 100%; | ||
} | ||
} |
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
25 changes: 25 additions & 0 deletions
25
...es/terra-application-docs/src/terra-dev-site/tool/terra-dev-site/FAQ.h.tool.mdx
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { Notice } from '@cerner/terra-docs'; | ||
|
||
# FAQ | ||
|
||
## My components are visible in the raw test route but cut off when displayed in the dev site frame | ||
|
||
When components are displayed in the raw route there is an unbroken chain of height 100%s set on the components such that test components with 100% height will fill the available area. With pages, for aesthetic reasons we do not provide a 100% height on all wrapping components. To ensure components display correctly in both raw routes and pages either use block layout or define a fixed hight above any components expecting 100% height. | ||
|
||
## I get the webpack error: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema. | ||
|
||
You can get this error when using webpack 4. Part of the TerraDevSite webpack plugin we inject an entry to build the site. Webpack requires an entry to function but when the check is performed changed between webpack 4 and 5. In webpack 4 an entry is checked prior to running the plugin where as in webpack 5 the check is performed after. | ||
|
||
To solve this issue you have two options. Upgrade to webpack 5 or add a dummy entrypoint that TerraDevSite will remove before bundling. Upgrading to webpack 5 is recommended. | ||
|
||
<Notice variant="important" ariaLevel="3"> | ||
|
||
If you chose to add the dummy entry point it will have to resolve to a real file. It doesn't matter what file since TerraDevSite will remove it, but webpack 4 does check that the entrypoint file is real. | ||
|
||
</Notice> | ||
|
||
```js | ||
entry: { | ||
terraDevSiteDummy: './dummy.js', | ||
}, | ||
``` |
6 changes: 0 additions & 6 deletions
6
...rc/terra-dev-site/tool/terra-dev-site/SiteConfig.b/navigation.config.b.tool.mdx
This file was deleted.
Oops, something went wrong.
104 changes: 0 additions & 104 deletions
104
...docs/src/terra-dev-site/tool/terra-dev-site/SiteConfig.b/page.config.c.tool.mdx
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
...docs/src/terra-dev-site/tool/terra-dev-site/SiteConfig.b/site.config.a.tool.mdx
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
...s/src/terra-dev-site/tool/terra-dev-site/SiteConfig.b/webpack.config.e.tool.mdx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.