Skip to content

Commit

Permalink
chore: Update SelectPanel stories width and height (#5746)
Browse files Browse the repository at this point in the history
Co-authored-by: francinelucca <[email protected]>
  • Loading branch information
francinelucca and francinelucca authored Mar 8, 2025
1 parent 9d78410 commit 6979d25
Show file tree
Hide file tree
Showing 149 changed files with 11 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ export const AboveTallBody = () => {
onSelectedChange={setSelected}
onFilterChange={setFilter}
showItemDividers={true}
overlayProps={{width: 'small', height: 'xsmall'}}
/>
<div
style={{
Expand Down
12 changes: 10 additions & 2 deletions packages/react/src/SelectPanel/SelectPanel.features.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export const WithItemDividers = () => {
onSelectedChange={setSelected}
onFilterChange={setFilter}
showItemDividers={true}
width="medium"
/>
</FormControl>
)
Expand Down Expand Up @@ -134,6 +135,7 @@ export const WithPlaceholderForSearchInput = () => {
selected={selected}
onSelectedChange={setSelected}
onFilterChange={setFilter}
width="medium"
/>
</FormControl>
)
Expand Down Expand Up @@ -169,7 +171,7 @@ export const SingleSelect = () => {
selected={selected}
onSelectedChange={setSelected}
onFilterChange={setFilter}
overlayProps={{width: 'small', height: 'xsmall'}}
width="medium"
/>
</FormControl>
)
Expand Down Expand Up @@ -213,6 +215,7 @@ export const MultiSelect = () => {
selected={selected}
onSelectedChange={setSelected}
onFilterChange={setFilter}
width="medium"
/>
</FormControl>
)
Expand Down Expand Up @@ -254,7 +257,7 @@ export const WithExternalAnchor = () => {
selected={selectedItemsSortedFirst}
onSelectedChange={setSelected}
onFilterChange={setFilter}
overlayProps={{width: 'small', height: 'xsmall'}}
width="medium"
/>
</FormControl>
)
Expand Down Expand Up @@ -302,6 +305,7 @@ export const WithFooter = () => {
Edit labels
</Button>
}
width="medium"
/>
</FormControl>
)
Expand Down Expand Up @@ -394,6 +398,7 @@ export const WithGroups = () => {
onSelectedChange={setSelected}
onFilterChange={setFilter}
overlayProps={{width: 'large', height: 'xlarge'}}
width="medium"
/>
</FormControl>
)
Expand Down Expand Up @@ -437,6 +442,7 @@ export const WithLabelVisuallyHidden = () => {
selected={selected}
onSelectedChange={setSelected}
onFilterChange={setFilter}
width="medium"
/>
</FormControl>
)
Expand Down Expand Up @@ -483,6 +489,7 @@ export const WithLabelInternally = () => {
selected={selected}
onSelectedChange={setSelected}
onFilterChange={setFilter}
width="medium"
/>
)
}
Expand Down Expand Up @@ -534,6 +541,7 @@ export const AsyncFetch: StoryObj<SelectPanelProps> = {
showItemDividers={true}
height={height}
initialLoadingType={initialLoadingType}
width="medium"
/>
)
},
Expand Down
1 change: 1 addition & 0 deletions packages/react/src/SelectPanel/SelectPanel.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export const Default = () => {
selected={selected}
onSelectedChange={setSelected}
onFilterChange={setFilter}
width="medium"
/>
</FormControl>
)
Expand Down

0 comments on commit 6979d25

Please sign in to comment.