@synerise/ds-modal 0.17.29 → 0.17.31

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,22 @@
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
+ ## [0.17.31](https://github.com/synerise/synerise-design/compare/@synerise/ds-modal@0.17.30...@synerise/ds-modal@0.17.31) (2024-06-21)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-modal
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.17.30](https://github.com/synerise/synerise-design/compare/@synerise/ds-modal@0.17.29...@synerise/ds-modal@0.17.30) (2024-05-29)
15
+
16
+ **Note:** Version bump only for package @synerise/ds-modal
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.17.29](https://github.com/synerise/synerise-design/compare/@synerise/ds-modal@0.17.28...@synerise/ds-modal@0.17.29) (2024-05-16)
7
23
 
8
24
  **Note:** Version bump only for package @synerise/ds-modal
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { ModalProps } from '../../Modal.types';
2
3
  export type ModalFooterProps = Pick<ModalProps, 'prefix' | 'infix' | 'suffix' | 'okButton' | 'cancelButton' | 'CustomFooterButton' | 'DSButton' | 'texts' | 'onOk' | 'onCancel' | 'cancelText' | 'okText' | 'cancelButtonProps' | 'okType' | 'okButtonProps'>;
3
- export declare const ModalFooter: ({ CustomFooterButton, DSButton, prefix, infix, suffix, ...antModalProps }: ModalFooterProps) => JSX.Element;
4
+ export declare const ModalFooter: ({ CustomFooterButton, DSButton, prefix, infix, suffix, ...antModalProps }: ModalFooterProps) => React.JSX.Element;
@@ -1,4 +1,5 @@
1
+ import React from 'react';
1
2
  import { ModalProps } from '../../Modal.types';
2
3
  type ModalTitleProps = Pick<ModalProps, 'headerActions' | 'onCancel' | 'titleContainerStyle' | 'blank' | 'description' | 'title'>;
3
- export declare const ModalTitle: ({ headerActions, blank, titleContainerStyle, onCancel, title, description, }: ModalTitleProps) => JSX.Element;
4
+ export declare const ModalTitle: ({ headerActions, blank, titleContainerStyle, onCancel, title, description, }: ModalTitleProps) => React.JSX.Element;
4
5
  export {};
package/dist/Modal.d.ts CHANGED
@@ -1,11 +1,12 @@
1
+ import React from 'react';
1
2
  import '@synerise/ds-core/dist/js/style';
2
3
  import { ModalFooterProps } from './Elements/ModalFooter';
3
4
  import type { ModalProps } from './Modal.types';
4
5
  import './style/index.less';
5
6
  /** @deprecated */
6
- export declare const buildModalFooter: (props: ModalFooterProps) => JSX.Element;
7
+ export declare const buildModalFooter: (props: ModalFooterProps) => React.JSX.Element;
7
8
  export declare const Modal: {
8
- (props: ModalProps): JSX.Element;
9
+ (props: ModalProps): React.JSX.Element;
9
10
  info: import("antd/lib/modal/confirm").ModalFunc;
10
11
  success: import("antd/lib/modal/confirm").ModalFunc;
11
12
  error: import("antd/lib/modal/confirm").ModalFunc;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-modal",
3
- "version": "0.17.29",
3
+ "version": "0.17.31",
4
4
  "description": "Modal UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "synerise/synerise-design",
@@ -33,8 +33,8 @@
33
33
  ],
34
34
  "types": "dist/index.d.ts",
35
35
  "dependencies": {
36
- "@synerise/ds-button": "^0.20.0",
37
- "@synerise/ds-icon": "^0.61.0",
36
+ "@synerise/ds-button": "^0.21.0",
37
+ "@synerise/ds-icon": "^0.62.1",
38
38
  "@synerise/ds-typography": "^0.15.0",
39
39
  "classnames": "2.3.2"
40
40
  },
@@ -45,9 +45,9 @@
45
45
  "styled-components": "5.0.1"
46
46
  },
47
47
  "devDependencies": {
48
- "@synerise/ds-utils": "^0.26.6",
48
+ "@synerise/ds-utils": "^0.27.0",
49
49
  "@testing-library/react": "10.0.1",
50
50
  "@testing-library/user-event": "^10.3.1"
51
51
  },
52
- "gitHead": "fc089bbf34c691a313b3fa648851d7831a23e3d0"
52
+ "gitHead": "ef835e848d4f02cca258130baa6c9f44dfa15dd0"
53
53
  }