-
-
Notifications
You must be signed in to change notification settings - Fork 53
add: baremetal design system #1894
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
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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
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
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,13 @@ | ||
| # Sync Storybook Component Release Status | ||
|
|
||
| This document contains instuctions on how to sync the component release status on storybook. | ||
|
|
||
| For more details on how Rad UI components and their lifecyles works check out [Rad UI Component Lifecycle](knowledge/releases/how-rad-ui-releases-are-made.md). | ||
|
|
||
| ## Syncing | ||
| In Storybook, we care only about 2 categories to keep things simple | ||
|
|
||
| 1. WIP - All the components that arent released yet fall in this bucket | ||
| 2. Components - All the components that are released fall in this bucket | ||
|
|
||
| Sync storybook by making sure that the components are placed in the correct category. | ||
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,31 @@ | ||
| # Rad UI Release stages | ||
|
|
||
| ## Phase 1 - WIP | ||
| These components are work in progress and are not ready for production use. | ||
|
|
||
| ## Phase 2 - Beta | ||
| These components are packaged and are bundled in the production build, but are not publicly announced regarding its availability. It is available for use if the consumer knows about it but at their own risk. These are generally meant for the library authors to test them out in internal experiments and apps before making them public. | ||
|
|
||
| ## Phase 3 - Preview | ||
| These are released to the public, ideally gearing up for production release, but use with caution as they are still subject to change. | ||
|
|
||
| ## Phase 4 - Stable | ||
| These are released and officially documented on the docs website. These components are production ready and can be used in production applications. | ||
|
|
||
| # Other release types | ||
|
|
||
| ## Deprecated | ||
| These components will be removed in a future release. They are still available for use but are not recommended for use. | ||
|
|
||
| ## Removed | ||
| These components have been removed from the library and are no longer available for use. | ||
|
|
||
|
|
||
|
|
||
| # Workflow | ||
|
|
||
| On Storybook, non stable components are put inside "WIP" category, until they are released they stay there. Once they are released they are placed inside "Components" category. | ||
|
kotAPI marked this conversation as resolved.
|
||
|
|
||
| What defines a released component? | ||
| 1. The component name is part of scripts/RELEASED_COMPONENTS.cjs | ||
| 2. The component is documented on the docs website | ||
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
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
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
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
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,5 @@ | ||
| /* stylelint-disable at-rule-no-unknown */ | ||
| @use "src/design-systems/baremetal/scope" as baremetal; | ||
|
|
||
| #{baremetal.$theme-root} :where(.rad-ui-accordion-root) { @include baremetal.surface; } | ||
| #{baremetal.$theme-root} :where(.rad-ui-accordion-trigger) { @include baremetal.option-item; } |
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,9 @@ | ||
| /* stylelint-disable at-rule-no-unknown */ | ||
| @use "src/design-systems/baremetal/scope" as baremetal; | ||
|
|
||
| #{baremetal.$theme-root} :where(.rad-ui-alert-dialog-trigger, .rad-ui-alert-dialog-action, .rad-ui-alert-dialog-cancel) { @include baremetal.button-like; } | ||
| #{baremetal.$theme-root} :where(.rad-ui-alert-dialog-content) { @include baremetal.surface; padding: 1.5rem; } | ||
| #{baremetal.$theme-root} :where(.rad-ui-alert-dialog-title) { @include baremetal.title-text; } | ||
| #{baremetal.$theme-root} :where(.rad-ui-alert-dialog-description) { @include baremetal.body-text; } | ||
| #{baremetal.$theme-root} :where(.rad-ui-alert-dialog-footer) { border-color: var(--rad-ui-baremetal-black) !important; background: var(--rad-ui-baremetal-white) !important; } | ||
| #{baremetal.$theme-root} :where(.rad-ui-alert-dialog-overlay) { background: rgb(255, 255, 255, 0.72); backdrop-filter: none; } |
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,4 @@ | ||
| /* stylelint-disable at-rule-no-unknown */ | ||
| @use "src/design-systems/baremetal/scope" as baremetal; | ||
|
|
||
| #{baremetal.$theme-root} :where(.rad-ui-avatar, .rad-ui-avatar-fallback) { @include baremetal.chip-like; } |
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,4 @@ | ||
| /* stylelint-disable at-rule-no-unknown */ | ||
| @use "src/design-systems/baremetal/scope" as baremetal; | ||
|
|
||
| #{baremetal.$theme-root} :where(.rad-ui-avatar-group-fallback) { @include baremetal.chip-like; } |
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,4 @@ | ||
| /* stylelint-disable at-rule-no-unknown */ | ||
| @use "src/design-systems/baremetal/scope" as baremetal; | ||
|
|
||
| #{baremetal.$theme-root} :where(.rad-ui-badge) { @include baremetal.chip-like; } |
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.