Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/footnotes-gap-reduce.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react-brand': patch
---

Reduced the gap between `Footnotes` items from `24px` to `12px`
5 changes: 5 additions & 0 deletions .changeset/hero-gridline-expressive-narrow-padding.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react-brand': patch
---

Adjusted the padding in the `gridline-expressive` variant of `Hero` on narrow viewports
5 changes: 5 additions & 0 deletions .changeset/section-intro-stacked-icon-radius.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react-brand': patch
---

Increased the `border-radius` of icons in the `SectionIntroStacked` component from `8px` to `12px`
16 changes: 14 additions & 2 deletions packages/react/src/ExpandableArrow/ExpandableArrow.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
import type {Meta, StoryObj} from '@storybook/react'
import React from 'react'
import {Text} from '../Text'
import {ExpandableArrow} from '.'

const meta = {
title: 'Components/ExpandableArrow',
component: ExpandableArrow,
decorators: [
Story => (
<Text>
<Story />
</Text>
),
],
} satisfies Meta<typeof ExpandableArrow>

export default meta
Expand All @@ -27,9 +35,13 @@ export const Expanded: Story = {
const ExpandOnHoverStory = () => {
const [isHovered, setIsHovered] = React.useState(false)
return (
<div style={{cursor: 'pointer'}} onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => setIsHovered(false)}>
<span
style={{display: 'block', cursor: 'pointer'}}
onMouseEnter={() => setIsHovered(true)}
onMouseLeave={() => setIsHovered(false)}
>
<ExpandableArrow expanded={isHovered} />
</div>
</span>
)
}

Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/Footnotes/Footnotes.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
padding-block: var(--base-size-80);
display: flex;
flex-direction: column;
gap: var(--base-size-24);
gap: var(--base-size-12);
}

.Footnotes--variant-citations {
Expand Down
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.
8 changes: 5 additions & 3 deletions packages/react/src/Hero/Hero.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,9 @@

/* Header column (eyebrow, heading) */
.Hero-expressive-header-column {
padding: var(--base-size-32);
padding-block-end: var(--base-size-24);
padding: var(--base-size-36);
padding-inline: var(--base-size-20);
padding-block-end: var(--base-size-28);
border-block-end: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);
display: flex;
align-items: center;
Expand All @@ -390,6 +391,7 @@
/* Body column (description, actions, trailing) */
.Hero-expressive-body-column {
padding: var(--base-size-32);
padding-inline: var(--base-size-20);
padding-block-start: var(--base-size-24);
}

Expand Down Expand Up @@ -423,7 +425,7 @@
}

.Hero--variant-gridline-expressive .Hero-actions {
margin-block-start: var(--base-size-28);
margin-block-start: var(--base-size-24);
}

.Hero--variant-gridline-expressive .Hero-trailing {
Expand Down
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 @@ -158,5 +158,5 @@

.SectionIntroStackedItem__icon {
flex-shrink: 0;
border-radius: var(--brand-borderRadius-medium);
border-radius: var(--base-size-12);
}
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 @@ -28,6 +28,7 @@ import {
Tiles,
Image,
useTheme,
Footnotes,
} from '../../..'
import {RedlineBackground} from '../../../component-helpers'
import placeholderBg from '../../../fixtures/images/dither-bg-landscape-purple.png'
Expand Down Expand Up @@ -502,9 +503,11 @@ export function FlexSuiteAIOverviewTemplate({content}: FlexSuiteAIOverviewTempla
<Box paddingBlockEnd={64}>
<FAQGroup variant="gridline" defaultSelectedIndex={1}>
<FAQGroup.Heading>
{content.faq.headingLine1}
<br />
{content.faq.headingLine2}
<Box paddingInlineStart="spacious">
{content.faq.headingLine1}
<br />
{content.faq.headingLine2}
</Box>
</FAQGroup.Heading>
{content.faq.groups.map(group => (
<FAQ key={group.heading} variant="gridline">
Expand All @@ -523,6 +526,27 @@ export function FlexSuiteAIOverviewTemplate({content}: FlexSuiteAIOverviewTempla
))}
</FAQGroup>
</Box>
<footer>
<Section as="div" paddingBlockStart="none" paddingBlockEnd="none">
<Grid>
<Grid.Column>
<Box paddingInlineStart={32}>
<Footnotes>
<Footnotes.Item id="economic-impact" href="#economic-impact-ref">
Code review will incur Actions usage.{' '}
</Footnotes.Item>
<Footnotes.Item id="third-party" href="#third-party-ref">
Response times may vary during periods of high usage. Requests may be subject to rate limiting.
</Footnotes.Item>
<Footnotes.Item id="ai" href="#ai-ref">
Flex allotments will vary over time.
</Footnotes.Item>
</Footnotes>
</Box>
</Grid.Column>
</Grid>
</Section>
</footer>

<RedlineBackground style={{height: 600, display: 'flex', flexDirection: 'column', gap: 'var(--base-size-32)'}}>
<RedlineBackground
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading