Skip to content

Commit

Permalink
Merge pull request #2764 from contentful/feat/AHOY-3140-add-avatar-in…
Browse files Browse the repository at this point in the history
…itials

feat(changesets): move avatar from alpha package to automatic release [AHOY-3166]
  • Loading branch information
Annmary12 committed May 23, 2024
2 parents e1091c3 + 1d247c3 commit 514fe2d
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 17 deletions.
7 changes: 3 additions & 4 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@
}
],
"ignore": [
"@contentful/f36-avatar",
"@contentful/f36-image",
"@contentful/f36-header",
"@contentful/f36-layout",
"@contentful/f36-navbar",
"@contentful/f36-navlist",
"@contentful/f36-website"
],
Expand Down Expand Up @@ -50,7 +47,9 @@
"@contentful/f36-text-link",
"@contentful/f36-tooltip",
"@contentful/f36-typography",
"@contentful/f36-components"
"@contentful/f36-components",
"@contentful/f36-image",
"@contentful/f36-avatar"
]
],
"access": "public",
Expand Down
7 changes: 7 additions & 0 deletions .changeset/nasty-tomatoes-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@contentful/f36-components": patch
"@contentful/f36-avatar": patch
"@contentful/f36-image": patch
---

feat(changesets): move avatar from alpha package to automatic release [AHOY-3166]
4 changes: 2 additions & 2 deletions packages/components/avatar/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@contentful/f36-avatar",
"version": "4.0.0-alpha.11",
"version": "4.0.0",
"description": "Forma 36: Avatar component",
"scripts": {
"build": "tsup"
},
"dependencies": {
"@contentful/f36-core": "^4.65.6",
"@contentful/f36-image": "^4.0.0-alpha.0",
"@contentful/f36-image": "4.0.0",
"@contentful/f36-menu": "^4.65.6",
"@contentful/f36-tokens": "^4.0.5",
"@contentful/f36-tooltip": "^4.65.6",
Expand Down
2 changes: 2 additions & 0 deletions packages/components/avatar/src/Avatar/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Avatar can be used to visually represent users and apps.

```jsx static=true
import { Avatar } from '@contentful/f36-avatar';
// or
import { Avatar } from '@contentful/f36-component';
```

## Examples
Expand Down
2 changes: 2 additions & 0 deletions packages/components/image/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Image component that can handle showing a loading skeleton while the image is lo

```jsx static=true
import { Image } from '@contentful/f36-image';
// or
import { Image } from '@contentful/f36-component';
```

## Examples
Expand Down
2 changes: 1 addition & 1 deletion packages/components/image/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@contentful/f36-image",
"version": "4.0.0-alpha.0",
"version": "4.0.0",
"description": "Forma 36: Image component",
"scripts": {
"build": "tsup"
Expand Down
2 changes: 1 addition & 1 deletion packages/components/navbar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dependencies": {
"@contentful/f36-core": "^4.65.6",
"@contentful/f36-menu": "^4.65.6",
"@contentful/f36-avatar": "^4.0.0-alpha.11",
"@contentful/f36-avatar": "4.0.0",
"@contentful/f36-tokens": "^4.0.1",
"@contentful/f36-utils": "^4.23.2",
"@contentful/f36-skeleton": "^4.65.6",
Expand Down
2 changes: 2 additions & 0 deletions packages/forma-36-react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"@contentful/f36-accordion": "^4.65.6",
"@contentful/f36-asset": "^4.65.6",
"@contentful/f36-autocomplete": "^4.65.6",
"@contentful/f36-avatar": "4.0.0",
"@contentful/f36-badge": "^4.65.6",
"@contentful/f36-button": "^4.65.6",
"@contentful/f36-card": "^4.65.6",
Expand All @@ -47,6 +48,7 @@
"@contentful/f36-forms": "^4.65.6",
"@contentful/f36-icon": "^4.65.6",
"@contentful/f36-icons": "^4.28.1",
"@contentful/f36-image": "4.0.0",
"@contentful/f36-list": "^4.65.6",
"@contentful/f36-menu": "^4.65.6",
"@contentful/f36-modal": "^4.65.6",
Expand Down
2 changes: 2 additions & 0 deletions packages/forma-36-react-components/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export * from '@contentful/f36-accordion';
export * from '@contentful/f36-asset';
export * from '@contentful/f36-autocomplete';
export * from '@contentful/f36-avatar';
export * from '@contentful/f36-badge';
export * from '@contentful/f36-button';
export * from '@contentful/f36-card';
Expand All @@ -14,6 +15,7 @@ export * from '@contentful/f36-entity-list';
export * from '@contentful/f36-empty-state';
export * from '@contentful/f36-forms';
export * from '@contentful/f36-icon';
export * from '@contentful/f36-image';
export * from '@contentful/f36-list';
export * from '@contentful/f36-menu';
export * from '@contentful/f36-modal';
Expand Down
5 changes: 0 additions & 5 deletions packages/website/components/LiveEditor/ComponentSource.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ import * as f36Components from '@contentful/f36-components';
import { Multiselect } from '@contentful/f36-multiselect';
import { NavList } from '@contentful/f36-navlist';
import * as f36utils from '@contentful/f36-utils';
import { Avatar, AvatarGroup } from '@contentful/f36-avatar';
import { Header } from '@contentful/f36-header';
import { Image } from '@contentful/f36-image';
import { Layout } from '@contentful/f36-layout';
import { useForm, useController } from 'react-hook-form';
import { MdAccessAlarm } from 'react-icons/md';
Expand All @@ -41,10 +39,7 @@ const liveProviderScope = {
...f36Components,
...f36icons,
...f36utils,
Avatar, // Remove when avatar is added to f36-components
AvatarGroup, // Remove when avatar is added to f36-components
Header, // Remove when added to f36-components
Image, // Remove when added to f36-components
Layout, // Remove when added to f36-components
Multiselect, // Remove when added to f36-components
NavList, // Remove when added to f36-components
Expand Down
2 changes: 0 additions & 2 deletions packages/website/components/Playground/SandpackRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ export function SandpackRenderer({
'react-dom': '^17.0.0',
'react-scripts': '^4.0.0',
'@contentful/f36-components': '^4.0.0',
'@contentful/f36-avatar': '^4.0.0-alpha.0', // Remove when added to f36-components
'@contentful/f36-header': '^4.0.0-alpha.0', // Remove when added to f36-components
'@contentful/f36-image': '^4.0.0-alpha.0', // Remove when added to f36-components
'@contentful/f36-layout': '^4.0.0-alpha.0', // Remove when added to f36-components
'@contentful/f36-multiselect': '^4.0.0', // Remove when added to f36-components
'@contentful/f36-navlist': '^4.1.0-alpha.0', // Remove when added to f36-components
Expand Down
4 changes: 2 additions & 2 deletions packages/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
},
"dependencies": {
"@codesandbox/sandpack-react": "^1.17.0",
"@contentful/f36-avatar": "^4.0.0-alpha.0",
"@contentful/f36-avatar": "4.0.0",
"@contentful/f36-components": "^4.65.6",
"@contentful/f36-docs-utils": "^4.0.2",
"@contentful/f36-empty-state": "^4.65.6",
"@contentful/f36-header": "^4.0.0-alpha.0",
"@contentful/f36-icon": "^4.65.6",
"@contentful/f36-icons": "^4.28.2",
"@contentful/f36-image": "^4.0.0-alpha.0",
"@contentful/f36-image": "4.0.0",
"@contentful/f36-layout": "^4.0.0-alpha.0",
"@contentful/f36-multiselect": "^4.23.1",
"@contentful/f36-navlist": "4.1.0-alpha.1",
Expand Down

0 comments on commit 514fe2d

Please sign in to comment.