-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2544 from contentful/feat/note-and-textlink-new-v…
…ariant feat(note, icon, textLink): add new premium variant
- Loading branch information
Showing
14 changed files
with
87 additions
and
3 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,9 @@ | ||
--- | ||
'@contentful/f36-icon': minor | ||
'@contentful/f36-icons': minor | ||
'@contentful/f36-note': minor | ||
'@contentful/f36-text-link': minor | ||
--- | ||
|
||
- Add new premium variant to Note, TextLink, Icon | ||
- Add new Diamond Icon, used as default icon for Note with premium variant |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from 'react'; | ||
import { generateIcon } from '@contentful/f36-icon'; | ||
|
||
export const Diamond = /*#__PURE__*/ generateIcon({ | ||
name: 'Diamond', | ||
viewBox: '0 0 24 24', | ||
trimmed: true, | ||
path: ( | ||
<path d="M21.7582 8.82051L17.2415 3.35043C17.151 3.24071 17.0394 3.15271 16.9142 3.09228C16.789 3.03186 16.6531 3.0004 16.5156 3H7.48207C7.34452 3.0004 7.20864 3.03186 7.08346 3.09228C6.9583 3.15271 6.84672 3.24071 6.75617 3.35043L2.23941 8.82051C2.08152 9.01176 1.99625 9.25833 2.00013 9.5124C2.004 9.76647 2.09675 10.01 2.26038 10.1957L11.2939 20.4522C11.3844 20.5549 11.494 20.6368 11.6156 20.6929C11.7373 20.7488 11.8686 20.7778 12.0012 20.7778C12.1339 20.7778 12.2652 20.7488 12.3869 20.6929C12.5085 20.6368 12.618 20.5549 12.7086 20.4522L21.7421 10.1957C21.9051 10.0093 21.997 9.76548 21.9999 9.51141C22.0029 9.25734 21.9168 9.01113 21.7582 8.82051ZM18.899 8.47009H16.3542L13.9346 5.05128H16.076L18.899 8.47009ZM7.47239 10.5214L9.18149 15.0513L5.19223 10.5214H7.47239ZM14.4411 10.5214L11.9988 16.9906L9.55655 10.5214H14.4411ZM10.0631 8.47009L11.9988 5.73504L13.9346 8.47009H10.0631ZM16.5252 10.5214H18.8054L14.8161 15.0513L16.5252 10.5214ZM7.92164 5.05128H10.0631L7.64338 8.47009H5.09867L7.92164 5.05128Z" /> | ||
), | ||
}); |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ export type TextLinkVariant = | |
| 'primary' | ||
| 'secondary' | ||
| 'muted' | ||
| 'white'; | ||
| 'white' | ||
| 'premium'; |
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
e10b64c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
forma-36 – ./
forma-36.vercel.app
f36.contentful.com
v4.f36.contentful.com
forma-36-git-main.colorfuldemo.com
forma-36.colorfuldemo.com