Skip to content

Commit

Permalink
Deprecate schema-renderer and header patterns (#1505)
Browse files Browse the repository at this point in the history
  • Loading branch information
silvalaura authored Oct 22, 2024
1 parent 840e37d commit 7da83c3
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/chore-deprecate-header.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@cengage-patterns/header': patch
---

Deprecate @cengage-patterns/header package.
5 changes: 5 additions & 0 deletions .changeset/chore-deprecate-schema.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@react-magma/schema-renderer': patch
---

Deprecate @react-magma/schema-renderer package.
2 changes: 1 addition & 1 deletion packages/schema-renderer/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# React Magma Schema Renderer

** THIS PACKAGE IS CURRENTLY A WORK IN PROGRESS AND EXTREMELY BETA. THERE MAY BE BREAKING CHANGES. **
** THIS PACKAGE HAS BEEN DEPRECATED **

````
import * as React from 'react';
Expand Down
2 changes: 2 additions & 0 deletions patterns/header/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Header

** THIS PACKAGE HAS BEEN DEPRECATED **

The Header pattern is a highly-opinionated, advanced component composed of smaller React Magma components. It includes options for a logo, a call to action, a search bar, and icon buttons. The Header pattern will handle the order and placement of these elements.
4 changes: 4 additions & 0 deletions website/react-magma-docs/src/pages/api/schema-renderer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ import { LeadParagraph } from '../../components/LeadParagraph';

<PageContent componentName="schema_renderer" type="api">

<Alert variant="danger">
<strong>SchemaRenderer is deprecated.</strong>
</Alert>

<LeadParagraph>
The SchemaRenderer is an advanced component which maps other React Magma
components to a defined Schema. This allows developers to render data driven
Expand Down
4 changes: 4 additions & 0 deletions website/react-magma-docs/src/pages/patterns/header.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ import { LeadParagraph } from '../../components/LeadParagraph';

<PageContent componentName="header" type="api">

<Alert variant="danger">
<strong>Header pattern is deprecated.</strong>
</Alert>

<LeadParagraph>
The Header pattern is a highly-opinionated, advanced component composed of
smaller React Magma components. It includes options for a logo, a call to
Expand Down

2 comments on commit 7da83c3

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.