@dt-dds/react-empty-state 1.0.0-beta.89 → 1.0.0-beta.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/README.md +6 -6
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @dt-ui/react-empty-state
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.91
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @dt-dds/react-button@1.0.0-beta.71
|
|
8
|
+
- @dt-dds/react-link@1.0.0-beta.48
|
|
9
|
+
|
|
10
|
+
## 1.0.0-beta.90
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- refactor: update empty-state description
|
|
15
|
+
- @dt-dds/react-button@1.0.0-beta.70
|
|
16
|
+
- @dt-dds/react-link@1.0.0-beta.47
|
|
17
|
+
|
|
3
18
|
## 1.0.0-beta.89
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -37,12 +37,12 @@ export const App = () => {
|
|
|
37
37
|
|
|
38
38
|
### EmptyState.Content
|
|
39
39
|
|
|
40
|
-
| Property | Type | Default | Description
|
|
41
|
-
| ------------- | --------------------- | ----------------------- |
|
|
42
|
-
| `dataTestId` | `string` | `'empty-state-content'` | Customizable test identifier.
|
|
43
|
-
| `style` | `React.CSSProperties` | - | Gives the EmptyState Content some specific css properties
|
|
44
|
-
| `title` | `string` | - | Text to be presented as Title within the Empty State.
|
|
45
|
-
| `description` | `
|
|
40
|
+
| Property | Type | Default | Description |
|
|
41
|
+
| ------------- | --------------------- | ----------------------- | -------------------------------------------------------------------------- |
|
|
42
|
+
| `dataTestId` | `string` | `'empty-state-content'` | Customizable test identifier. |
|
|
43
|
+
| `style` | `React.CSSProperties` | - | Gives the EmptyState Content some specific css properties |
|
|
44
|
+
| `title` | `string` | - | Text to be presented as Title within the Empty State. |
|
|
45
|
+
| `description` | `ReactNode` | - | Text/Custom element to be presented as Description within the Empty State. |
|
|
46
46
|
|
|
47
47
|
### Stack
|
|
48
48
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { CustomTheme } from '@dt-dds/themes';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import { BaseProps } from '@dt-dds/react-core';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
4
5
|
|
|
5
6
|
interface EmptyStateContentProps extends Omit<BaseProps, 'children'> {
|
|
6
7
|
title: string;
|
|
7
|
-
description:
|
|
8
|
+
description: ReactNode;
|
|
8
9
|
}
|
|
9
10
|
declare const EmptyState: {
|
|
10
11
|
({ children, dataTestId, style }: BaseProps): react_jsx_runtime.JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { CustomTheme } from '@dt-dds/themes';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import { BaseProps } from '@dt-dds/react-core';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
4
5
|
|
|
5
6
|
interface EmptyStateContentProps extends Omit<BaseProps, 'children'> {
|
|
6
7
|
title: string;
|
|
7
|
-
description:
|
|
8
|
+
description: ReactNode;
|
|
8
9
|
}
|
|
9
10
|
declare const EmptyState: {
|
|
10
11
|
({ children, dataTestId, style }: BaseProps): react_jsx_runtime.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dt-dds/react-empty-state",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.91",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dist/index.js"
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
"test:update:snapshot": "jest -u"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@dt-dds/react-button": "1.0.0-beta.
|
|
23
|
+
"@dt-dds/react-button": "1.0.0-beta.71",
|
|
24
24
|
"@dt-dds/react-core": "1.0.0-beta.50",
|
|
25
25
|
"@dt-dds/react-typography": "1.0.0-beta.41",
|
|
26
|
-
"@dt-dds/themes": "1.0.0-beta.9"
|
|
26
|
+
"@dt-dds/themes": "1.0.0-beta.9",
|
|
27
|
+
"@dt-dds/react-link": "1.0.0-beta.48"
|
|
27
28
|
},
|
|
28
29
|
"devDependencies": {
|
|
29
30
|
"@babel/core": "^7.22.9",
|