Skip to content

Commit 432f99d

Browse files
committed
add story for NotAvailable and update changelog
1 parent 8764a22 commit 432f99d

2 files changed

Lines changed: 23 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,21 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
1111
- `<ApplicationViewability />`
1212
- component for hiding elements in specific media
1313
- `<InlineText />`
14-
- force children to get displayed as inline content
14+
- force children to get displayed as inline content
15+
- `<NotAvailable />`
16+
- simple placeholder element that can be used to display info about missing data
1517
- `<StringPreviewContentBlobToggler />`
16-
- `useOnly` property: specify if only parts of the content should be used for the shortened preview, this property replaces `firstNonEmptyLineOnly`
18+
- `useOnly` property: specify if only parts of the content should be used for the shortened preview, this property replaces `firstNonEmptyLineOnly`
19+
- `<ContentBlobToggler />`
20+
- `forceInline` property: force inline rendering
1721

1822
### Fixed
1923

2024
- `<Tag />`
2125
- create more whitespace inside `small` tag
2226
- reduce visual impact of border
2327
- `<StringPreviewContentBlobToggler />`
24-
- take Markdown rendering into account before testing the maximum preview length
28+
- take Markdown rendering into account before testing the maximum preview length
2529
- `<NodeContent />`
2630
- header-menu items are vertically centered now
2731

@@ -41,7 +45,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
4145
### Deprecated
4246

4347
- `<StringPreviewContentBlobToggler />`
44-
- `firstNonEmptyLineOnly` will be removed, is replaced by `useOnly="firstNonEmptyLine"`
48+
- `firstNonEmptyLineOnly` will be removed, is replaced by `useOnly="firstNonEmptyLine"`
4549

4650
## [25.0.0] - 2025-12-01
4751

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import React from "react";
2+
import { Meta, StoryFn } from "@storybook/react";
3+
4+
import { NotAvailable } from "../../../index";
5+
6+
export default {
7+
title: "Components/NotAvailable",
8+
component: NotAvailable,
9+
argTypes: {},
10+
} as Meta<typeof NotAvailable>;
11+
12+
const TemplateFull: StoryFn<typeof NotAvailable> = (args) => <NotAvailable {...args} />;
13+
14+
export const Default = TemplateFull.bind({});
15+
Default.args = {};

0 commit comments

Comments
 (0)