Skip to content

Commit 14f78f3

Browse files
Flag as stable (#1319)
* Flag as stable * Add changeset * Update .changeset/dull-cougars-learn.md * Fix import
1 parent 387463d commit 14f78f3

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.changeset/dull-cougars-learn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@obosbbl/grunnmuren-react": minor
3+
---
4+
5+
Unflag `Avatar` as stable, you can now import without the `UNSAFE_` prefix: `import { Avatar } from '@obosbbl/grunnmuren-react'`

packages/react/src/avatar/avatar.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Meta, StoryObj } from '@storybook/react';
2-
import { UNSAFE_Avatar as Avatar } from './avatar';
2+
import { Avatar } from './avatar';
33

44
const meta: Meta<typeof Avatar> = {
55
title: 'Avatar',

packages/react/src/avatar/avatar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ const Avatar = ({
4242
);
4343
};
4444

45-
export { Avatar as UNSAFE_Avatar, type AvatarProps as UNSAFE_AvatarProps };
45+
export { Avatar, type AvatarProps };

packages/react/src/card/card.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
} from '@obosbbl/grunnmuren-icons-react';
99
import type { Meta } from '@storybook/react';
1010
import { cx } from 'cva';
11-
import { UNSAFE_Avatar as Avatar } from '../avatar';
11+
import { Avatar } from '../avatar';
1212
import { Badge } from '../badge';
1313
import { Button } from '../button';
1414
import { Content, Footer, Heading, Media } from '../content';

0 commit comments

Comments
 (0)