-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WNMGDS-3191] Box Content Component #3419
Open
jack-ryan-nava-pbc
wants to merge
29
commits into
main
Choose a base branch
from
jryan/WNMGDS-3191-box-content
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+474
−0
Conversation
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
packages/design-system/src/components/BoxContent/BoxContent.tsx
Outdated
Show resolved
Hide resolved
…rough automated testing (#3407) * Add a new astro project that specifically installs React 17 * Add a similar project for React 18 * Add VRTs for the two react projects so our automated testing suite will validate those versions * Update readme * Let's just leave this project alone for now * Move the web components template into the new `_shared` folder
* Initial commit * Update import path for define to use core design system module within monorepo. * Adds onClickLinkAnalytics handling * Adds unit tests * Adds exclude list to tsconfig.json * Adds an alias for relative path to define in webpack config. * Adds an import to react in ds-simple-footer.test.tsx * Adds react as an import to ds-accordion and ds-alert test and storybook files. * Add snapshots * Adds storybook-doc snapshot * Remove exclude list in tsconfig.json * Adds default values for argTypes * Updates storybook-docs snap * Revert out of scope changes. * Revert out of scope changes, part 2 * We no longer need to export define from index.ts * Removes setTimeout from useEffect in storybook template. * Adds website info argtype to storybook file, updates storybook-doc snapshot
… throw error at runtime if missing props
if (author) { | ||
return `${author} `; | ||
} | ||
if (!citation && !author) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a bit heavy handed???
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Impacts: Core
Impacts the core DS primarily, changes may occur in other themes as well.
Type: Added
Indicates a new feature.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
How to test
Demo Branch
Note: This is a pull request to solicit feedback on initial approach and ways to proceed. The final pull request will address the following items in addition to feedback gathered here.
props
are explainedChecklist
[WNMGDS-####] Title
or [NO-TICKET] if this is unticketed work.Type
(only one) label for this PR, if it is a breaking change, label should only beType: Breaking
Impacts
, multiple can be selected.