@foris/avocado-not-front 0.0.1 → 0.1.1
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/dist/avocado-not-front.es.js +560 -540
- package/dist/avocado-not-front.umd.js +20 -20
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/useCardNotification.d.ts +3 -2
- package/dist/hooks/useHeading.d.ts +8 -0
- package/dist/index.d.ts +2 -2
- package/dist/types/cardNotification.type.d.ts +8 -0
- package/dist/types/heading.type.d.ts +5 -0
- package/dist/types/index.d.ts +2 -0
- package/package.json +2 -2
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { CardNotificationNotFrontProps } from '../types';
|
|
1
2
|
/**
|
|
2
|
-
* Custom hook to create a
|
|
3
|
+
* Custom hook to create a CardNotification component
|
|
3
4
|
* @returns { createCardNotification }
|
|
4
5
|
*/
|
|
5
6
|
export declare const useCardNotification: () => {
|
|
6
|
-
createCardNotification: (
|
|
7
|
+
createCardNotification: (json: CardNotificationNotFrontProps) => JSX.Element | null;
|
|
7
8
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export * from './hooks';
|
|
2
|
+
export * from './types';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CardNotificationProps } from '../../../avocado-suite';
|
|
2
|
+
export interface CardNotificationNotFrontProps extends CardNotificationProps {
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Use `content` instead. This property will be removed in the future.
|
|
5
|
+
*/
|
|
6
|
+
description?: string;
|
|
7
|
+
content?: string;
|
|
8
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foris/avocado-not-front",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"react-select-async-paginate": "0.7.3",
|
|
25
25
|
"@foris/avocado-core": "0.10.0",
|
|
26
26
|
"@foris/avocado-icons": "1.11.0",
|
|
27
|
-
"@foris/avocado-suite": "0.30.
|
|
27
|
+
"@foris/avocado-suite": "0.30.7"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@testing-library/jest-dom": "6.4.0",
|