-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Global Styles v2: Move prototype from G2 #32923
Closed
Closed
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
621e6be
Global Styles: Move prototype from G2
tyxla ce0f44e
Bring in all Navigator components from g2
tyxla c77a4f6
Introduce story, fix component imports
tyxla 3d31aec
Fix more imports
tyxla 5fe68a5
Fix more imports and a typo
tyxla f55cdb1
ListGroup -> Panel
tyxla f245844
Fix typography screen components
tyxla 5274fa9
Remove FormGroup from typography screen
tyxla f4798f4
Fix basic styles and disable docs
tyxla 1f9e863
Use ColorIndicator and fix a bunch of styles
tyxla f1afd97
Fix headings
tyxla f93f846
Colors palette: fix color indicator and use a button group
tyxla ccd2abf
Fix navigator styles
tyxla 80c9f2d
Fix dropdown menu check icon
tyxla 03870e7
Fix NumberControl import
tyxla ed97074
Improve ButtonGroup placeholders
tyxla 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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 |
---|---|---|
|
@@ -8,4 +8,9 @@ | |
& + & { | ||
margin-left: 0.5rem; | ||
} | ||
|
||
&.is-circular { | ||
height: 25px; | ||
border-radius: 50%; | ||
} | ||
} |
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 |
---|---|---|
|
@@ -47,6 +47,10 @@ export { | |
CompositeItem as __unstableCompositeItem, | ||
useCompositeState as __unstableUseCompositeState, | ||
} from './composite'; | ||
export { | ||
ContextSystemProvider as __experimentalContextSystemProvider, | ||
useContextSystem as __experimentalUseContextSystem, | ||
} from './ui/context'; | ||
export { default as CustomSelectControl } from './custom-select-control'; | ||
export { default as Dashicon } from './dashicon'; | ||
export { default as DateTimePicker, DatePicker, TimePicker } from './date-time'; | ||
|
@@ -96,6 +100,7 @@ export { default as __experimentalNavigationBackButton } from './navigation/back | |
export { default as __experimentalNavigationGroup } from './navigation/group'; | ||
export { default as __experimentalNavigationItem } from './navigation/item'; | ||
export { default as __experimentalNavigationMenu } from './navigation/menu'; | ||
export * from './navigator'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All the ones we use from here should be |
||
export { default as Notice } from './notice'; | ||
export { default as __experimentalNumberControl } from './number-control'; | ||
export { default as NoticeList } from './notice/list'; | ||
|
@@ -157,6 +162,7 @@ export { | |
parseUnit as __experimentalParseUnit, | ||
} from './unit-control'; | ||
export { VisuallyHidden } from './visually-hidden'; | ||
export { View as __experimentalView } from './view'; | ||
export { VStack as __experimentalVStack } from './v-stack'; | ||
export { default as IsolatedEventContainer } from './isolated-event-container'; | ||
export { | ||
|
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export { default as Item } from './item'; | ||
export { default as ItemGroup } from './item-group'; | ||
export { default as Item, useItem } from './item'; | ||
export { default as ItemGroup, useItemGroup } from './item-group'; |
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.
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.
This is a workaround, which we may want to go with, or not. The
ColorCircle
component in g2 seemed a bit more capable, but we should reconsider if we need those capabilities here.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.
Conversation started in #33820