@etsoo/notificationbase 1.1.7 → 1.1.8

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.
@@ -1,4 +1,3 @@
1
- import { DataTypes } from '@etsoo/shared';
2
1
  /**
3
2
  * Display align
4
3
  */
@@ -103,17 +102,15 @@ export interface NotificationParameters {
103
102
  /**
104
103
  * Notification props supported for calls
105
104
  */
106
- export interface NotificationCallProps extends DataTypes.StringRecord {
107
- }
105
+ export declare type NotificationCallProps = object;
108
106
  /**
109
107
  * Notification render props
110
108
  */
111
- export interface NotificationRenderProps {
112
- }
109
+ export declare type NotificationRenderProps = object;
113
110
  /**
114
111
  * Notification base interface
115
112
  */
116
- export interface INotificaseBase<UI, C extends NotificationCallProps> {
113
+ export interface INotificaseBase<UI, C extends NotificationCallProps = {}> {
117
114
  /**
118
115
  * Display align
119
116
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/notificationbase",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "TypeScript notification component for extending with all features described and partially implemented",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -45,23 +45,23 @@
45
45
  },
46
46
  "homepage": "https://github.com/ETSOO/NotificationBase#readme",
47
47
  "dependencies": {
48
- "@etsoo/shared": "^1.1.48"
48
+ "@etsoo/shared": "^1.1.58"
49
49
  },
50
50
  "devDependencies": {
51
- "@babel/core": "^7.18.13",
52
- "@babel/plugin-transform-runtime": "^7.18.10",
53
- "@babel/preset-env": "^7.18.10",
54
- "@babel/runtime-corejs3": "^7.18.9",
55
- "@types/jest": "^28.1.8",
56
- "@typescript-eslint/eslint-plugin": "^5.35.1",
57
- "@typescript-eslint/parser": "^5.35.1",
58
- "babel-jest": "^28.1.3",
59
- "eslint": "^8.22.0",
51
+ "@babel/core": "^7.19.1",
52
+ "@babel/plugin-transform-runtime": "^7.19.1",
53
+ "@babel/preset-env": "^7.19.1",
54
+ "@babel/runtime-corejs3": "^7.19.1",
55
+ "@types/jest": "^29.0.3",
56
+ "@typescript-eslint/eslint-plugin": "^5.38.1",
57
+ "@typescript-eslint/parser": "^5.38.1",
58
+ "babel-jest": "^29.0.3",
59
+ "eslint": "^8.24.0",
60
60
  "eslint-config-airbnb-base": "^15.0.0",
61
61
  "eslint-plugin-import": "^2.26.0",
62
- "jest": "^28.1.3",
63
- "jest-environment-jsdom": "^28.1.3",
64
- "ts-jest": "^28.0.8",
65
- "typescript": "^4.7.4"
62
+ "jest": "^29.0.3",
63
+ "jest-environment-jsdom": "^29.0.3",
64
+ "ts-jest": "^29.0.2",
65
+ "typescript": "^4.8.3"
66
66
  }
67
67
  }
@@ -1,4 +1,4 @@
1
- import { DataTypes, Utils } from '@etsoo/shared';
1
+ import { Utils } from '@etsoo/shared';
2
2
 
3
3
  /**
4
4
  * Display align
@@ -112,17 +112,17 @@ export interface NotificationParameters {
112
112
  /**
113
113
  * Notification props supported for calls
114
114
  */
115
- export interface NotificationCallProps extends DataTypes.StringRecord {}
115
+ export type NotificationCallProps = object;
116
116
 
117
117
  /**
118
118
  * Notification render props
119
119
  */
120
- export interface NotificationRenderProps {}
120
+ export type NotificationRenderProps = object;
121
121
 
122
122
  /**
123
123
  * Notification base interface
124
124
  */
125
- export interface INotificaseBase<UI, C extends NotificationCallProps> {
125
+ export interface INotificaseBase<UI, C extends NotificationCallProps = {}> {
126
126
  /**
127
127
  * Display align
128
128
  */