-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into aja/high-contrast-windows
- Loading branch information
Showing
19 changed files
with
1,699 additions
and
1,757 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@primer/css": patch | ||
--- | ||
|
||
Fix layout gutter none styles |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@primer/css": patch | ||
--- | ||
|
||
Make `pagination` responsive by default |
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,3 +1,2 @@ | ||
git-tag-version=false | ||
save-exact=true | ||
package-lock=false |
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
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
51 changes: 51 additions & 0 deletions
51
docs/src/stories/components/ActionList/ActionListDividerFeatures.stories.jsx
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
import React from 'react' | ||
import clsx from 'clsx' | ||
import {ListTemplate} from './ActionList.stories' | ||
import {ListItemTemplate} from './ActionListItem.stories' | ||
import {DividerTemplate} from './ActionListDivider.stories' | ||
|
||
export default { | ||
title: 'Components/ActionList/ActionListDivider/Features', | ||
decorators: [ | ||
Story => ( | ||
<ul className="ActionList" role="menu"> | ||
<Story /> | ||
</ul> | ||
) | ||
] | ||
} | ||
|
||
export const WithTitle = DividerTemplate.bind({}) | ||
WithTitle.args = { | ||
title: 'List group title' | ||
} | ||
|
||
export const Subtle = DividerTemplate.bind({}) | ||
Subtle.args = { | ||
variant: 'subtle', | ||
title: 'List group title' | ||
} | ||
|
||
export const Filled = DividerTemplate.bind({}) | ||
Filled.args = { | ||
variant: 'ActionList-sectionDivider--filled', | ||
title: 'List group title' | ||
} | ||
|
||
export const WithDescription = DividerTemplate.bind({}) | ||
WithDescription.args = { | ||
title: 'List group title', | ||
description: 'Group description' | ||
} | ||
|
||
export const RolePresentation = DividerTemplate.bind({}) | ||
RolePresentation.storyName = '[role="presentation"]' | ||
RolePresentation.args = { | ||
title: 'List group title' | ||
} | ||
|
||
export const RoleSeparator = DividerTemplate.bind({}) | ||
RoleSeparator.storyName = '[role="separator"]' | ||
RoleSeparator.args = {} | ||
|
||
export const Empty = DividerTemplate.bind({}) |
Oops, something went wrong.