-
Notifications
You must be signed in to change notification settings - Fork 151
feat(openStackblitz): about modal and export Modal #7479
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
Merged
anamikaanu96
merged 10 commits into
carbon-design-system:main
from
anamikaanu96:openStackblitzModal
May 30, 2025
Merged
Changes from 9 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
a793507
feat(openStackblitz): about modal and export Modal
anamikaanu96 5d6137d
Merge branch 'main' into openStackblitzModal
anamikaanu96 3a0784c
Merge branch 'carbon-design-system:main' into openStackblitzModal
anamikaanu96 2702a2f
Merge branch 'main' into openStackblitzModal
anamikaanu96 f23e253
feat(AboutModal): buttonText changed
anamikaanu96 2bca691
feat(openStackblitz): review changes
anamikaanu96 32cd661
feat(openStackblitz): review changes
anamikaanu96 6989655
Merge branch 'main' into openStackblitzModal
anamikaanu96 16af521
Merge branch 'carbon-design-system:main' into openStackblitzModal
anamikaanu96 7a41a4d
feat(openStackblitz): updated doc
anamikaanu96 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
|
@@ -206,6 +206,7 @@ | |
"uuidv", | ||
"webfonts", | ||
"useravatar", | ||
"rendericon" | ||
"rendericon", | ||
"csvg" | ||
] | ||
} |
This file contains hidden or 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
56 changes: 56 additions & 0 deletions
56
packages/ibm-products/src/components/AboutModal/AboutModal.mdx
This file contains hidden or 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,56 @@ | ||
import { Story, Controls, Source, Canvas } from '@storybook/addon-docs'; | ||
import { CodesandboxLink } from '../../global/js/utils/story-helper'; | ||
import { AboutModal } from '.'; | ||
import * as stories from './AboutModal.stories'; | ||
import { stackblitzPrefillConfig } from '../../../previewer/codePreviewer'; | ||
|
||
# About Modal | ||
|
||
[AboutModal usage guidelines](https://pages.github.ibm.com/carbon/ibm-products/components/about-modal/usage/) | [Carbon Modal usage guidelines](https://www.carbondesignsystem.com/components/modal/usage) | [Carbon Modal documentation](https://react.carbondesignsystem.com/?path=/docs/components-modal) | ||
|
||
## Table of Contents | ||
|
||
- [Overview](#overview) | ||
- [Example usage](#example-usage) | ||
- [Component API](#component-api) | ||
|
||
## Overview | ||
|
||
The About modal component conveys product information, including the version number, copyright information, and license details. | ||
The About modal is triggered by a user’s action which appears on top of the main page content and is persistent until dismissed. | ||
The purpose of this modal should be immediately apparent to the user, with a clear and obvious path to completion. | ||
|
||
### About Modal | ||
|
||
<Canvas | ||
of={stories.aboutModal} | ||
additionalActions={[ | ||
{ | ||
title: 'Open in Stackblitz', | ||
onClick: () => stackblitzPrefillConfig({ | ||
'story': stories.aboutModal, | ||
'styles': stories.default.parameters.styles | ||
}), | ||
}, | ||
]}> | ||
</Canvas> | ||
|
||
|
||
### About Modal With All Props Set | ||
|
||
<Canvas | ||
of={stories.aboutModalWithAllPropsSet} | ||
additionalActions={[ | ||
{ | ||
title: 'Open in Stackblitz', | ||
onClick: () => stackblitzPrefillConfig({ | ||
'story': stories.aboutModalWithAllPropsSet, | ||
'styles': stories.default.parameters.styles | ||
}), | ||
}, | ||
]}> | ||
</Canvas> | ||
|
||
## Component API | ||
|
||
<Controls /> |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.