@ornikar/kitt-universal 17.1.4 → 17.1.5

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 CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [17.1.5](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@17.1.4...@ornikar/kitt-universal@17.1.5) (2023-10-25)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * kitt-universal remove deprecated unused prop [no issue] ([#2186](https://github.com/ornikar/kitt/issues/2186)) ([3d0099a](https://github.com/ornikar/kitt/commit/3d0099a5dff160dc8c6f6f1fc67394f3d7d159b0))
12
+
13
+
14
+
6
15
  ## [17.1.4](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@17.1.3...@ornikar/kitt-universal@17.1.4) (2023-10-25)
7
16
 
8
17
 
@@ -1,10 +1,6 @@
1
1
  import type { ReactNode } from 'react';
2
2
  import type { BaseMessageProps } from '../BaseMessage/BaseMessage';
3
3
  export interface NotificationProps extends BaseMessageProps {
4
- /**
5
- * @deprecated use onDismiss instead
6
- */
7
- onDelete?: BaseMessageProps['onDismiss'];
8
4
  }
9
- export declare function Notification({ type, children, centeredText, insets, onDelete, onDismiss, }: NotificationProps): ReactNode;
5
+ export declare function Notification({ type, children, centeredText, insets, onDismiss }: NotificationProps): ReactNode;
10
6
  //# sourceMappingURL=Notification.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../src/Notification/Notification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IACzD;;OAEG;IACH,QAAQ,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;CAC1C;AAED,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,QAAQ,EACR,SAAS,GACV,EAAE,iBAAiB,GAAG,SAAS,CAY/B"}
1
+ {"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../src/Notification/Notification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAE9D,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,iBAAiB,GAAG,SAAS,CAM9G"}
@@ -9042,14 +9042,8 @@ function Notification({
9042
9042
  children,
9043
9043
  centeredText,
9044
9044
  insets,
9045
- onDelete,
9046
9045
  onDismiss
9047
9046
  }) {
9048
- if ((process.env.NODE_ENV !== "production")) {
9049
- if (onDelete) {
9050
- throw new Error('onDelete is deprecated us onDismiss instead');
9051
- }
9052
- }
9053
9047
  return /*#__PURE__*/jsxRuntime.jsx(BaseMessage, {
9054
9048
  hasNoRadius: true,
9055
9049
  type: type,