Skip to content

Commit

Permalink
Merge ce3bde1 into 219868e
Browse files Browse the repository at this point in the history
  • Loading branch information
broccolinisoup authored Jul 9, 2024
2 parents 219868e + ce3bde1 commit f0d39de
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/react/src/PageHeader/PageHeader.dev.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {GitBranchIcon, PencilIcon, SidebarExpandIcon} from '@primer/octicons-rea
import {PageHeader} from './PageHeader'

const meta: Meta<typeof PageHeader> = {
title: 'Drafts/Components/PageHeader/DevOnly',
title: 'Components/PageHeader/DevOnly',
parameters: {
layout: 'fullscreen',
controls: {expanded: true},
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/PageHeader/PageHeader.docs.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"id": "drafts_page_header",
"name": "PageHeader",
"status": "draft",
"status": "beta",
"a11yReviewed": true,
"stories": [],
"importPath": "@primer/react/experimental",
"importPath": "@primer/react",
"props": [
{
"name": "aria-label",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import {ActionMenu} from '../ActionMenu'
import {ActionList} from '../ActionList'

const meta: Meta = {
title: 'Drafts/Components/PageHeader/Examples',
title: 'Components/PageHeader/Examples',
parameters: {
layout: 'fullscreen',
controls: {expanded: true},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {PageHeader} from './PageHeader'
import {Hidden} from '../Hidden'

const meta: Meta = {
title: 'Drafts/Components/PageHeader/Features',
title: 'Components/PageHeader/Features',
parameters: {
layout: 'fullscreen',
controls: {expanded: true},
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/PageHeader/PageHeader.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {PageHeader} from './PageHeader'
import Hidden from '../Hidden'

const meta: Meta<typeof PageHeader> = {
title: 'Drafts/Components/PageHeader',
title: 'Components/PageHeader',
parameters: {
layout: 'fullscreen',
controls: {expanded: true},
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/PageHeader/PageHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, {useEffect} from 'react'
import {Box} from '..'
import Box from '../Box'
import type {ResponsiveValue} from '../hooks/useResponsiveValue'
import {useResponsiveValue} from '../hooks/useResponsiveValue'
import type {SxProp, BetterSystemStyleObject, CSSCustomProperties} from '../sx'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ exports[`@primer/react should not update exports without a semver change 1`] = `
"Overlay",
"type OverlayProps",
"Pagehead",
"PageHeader",
"type PageHeaderProps",
"type PageheadProps",
"PageLayout",
"type PageLayoutContentProps",
Expand Down
3 changes: 3 additions & 0 deletions packages/react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ export type {UnderlineNavProps, UnderlineNavItemProps} from './UnderlineNav'
export {ActionBar} from './ActionBar'
export type {ActionBarProps} from './ActionBar'

export {PageHeader} from './PageHeader'
export type {PageHeaderProps} from './PageHeader'

// eslint-disable-next-line no-restricted-imports
export {SSRProvider, useSSRSafeId} from './utils/ssr'
export {default as sx, merge} from './sx'
Expand Down

0 comments on commit f0d39de

Please sign in to comment.