@synerise/ds-modal 2.0.4 → 2.0.6
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 +19 -0
- package/CLAUDE.md +1 -1
- package/dist/Modal.types.d.ts +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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
|
+
## [2.0.6](https://github.com/synerise/synerise-design/compare/@synerise/ds-modal@2.0.5...@synerise/ds-modal@2.0.6) (2026-09-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **core:** move test helpers to a ./testing subpath export ([b38cd82](https://github.com/synerise/synerise-design/commit/b38cd82c956111d2331d5c1e0efd1935366f1139))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [2.0.5](https://github.com/synerise/synerise-design/compare/@synerise/ds-modal@2.0.4...@synerise/ds-modal@2.0.5) (2026-09-18)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @synerise/ds-modal
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [2.0.4](https://github.com/synerise/synerise-design/compare/@synerise/ds-modal@2.0.3...@synerise/ds-modal@2.0.4) (2026-09-16)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @synerise/ds-modal
|
package/CLAUDE.md
CHANGED
|
@@ -181,6 +181,6 @@ document.body (portal target)
|
|
|
181
181
|
- `@synerise/ds-tabs` — optional tab bar via `headerTabProps`
|
|
182
182
|
- `@synerise/ds-scrollbar` — wraps children when `maxViewportHeight` is set
|
|
183
183
|
- `@synerise/ds-typography` — `Typography.Title` for the modal title
|
|
184
|
-
- `@synerise/ds-core` (peer) — `setPortalContent` for `showModal
|
|
184
|
+
- `@synerise/ds-core` (peer) — `setPortalContent` for `showModal`; `renderWithProvider` for tests, from its `/testing` subpath
|
|
185
185
|
- `styled-components` (peer) — all styling
|
|
186
186
|
- `react` (peer) — `createPortal`, `forwardRef`, `useImperativeHandle`
|
package/dist/Modal.types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentType, CSSProperties, MouseEvent, MutableRefObject, ReactNode, RefObject } from 'react';
|
|
2
2
|
import { ButtonProps, ButtonType } from '@synerise/ds-button';
|
|
3
3
|
import { TabsProps } from '@synerise/ds-tabs';
|
|
4
4
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { default, Modal } from './Modal';
|
|
2
|
-
export { showModal } from './ShowModal';
|
|
3
|
-
export { ModalTitle } from './Elements/ModalTitle';
|
|
4
1
|
export { ModalFooter } from './Elements/ModalFooter';
|
|
2
|
+
export { ModalTitle } from './Elements/ModalTitle';
|
|
3
|
+
export { default, Modal } from './Modal';
|
|
5
4
|
export * from './Modal.types';
|
|
5
|
+
export { showModal } from './ShowModal';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { ModalFooter } from "./Elements/ModalFooter/ModalFooter.js";
|
|
2
|
+
import { ModalTitle } from "./Elements/ModalTitle/ModalTitle.js";
|
|
1
3
|
import { Modal, Modal as Modal2 } from "./Modal.js";
|
|
2
4
|
import { showModal } from "./ShowModal.js";
|
|
3
|
-
import { ModalTitle } from "./Elements/ModalTitle/ModalTitle.js";
|
|
4
|
-
import { ModalFooter } from "./Elements/ModalFooter/ModalFooter.js";
|
|
5
5
|
export {
|
|
6
6
|
Modal,
|
|
7
7
|
ModalFooter,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-modal",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6",
|
|
4
4
|
"description": "Modal UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
"sideEffects": false,
|
|
40
40
|
"types": "dist/index.d.ts",
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@synerise/ds-button": "^2.0
|
|
43
|
-
"@synerise/ds-icon": "^2.1.
|
|
44
|
-
"@synerise/ds-scrollbar": "^2.0.
|
|
45
|
-
"@synerise/ds-tabs": "^2.0.
|
|
46
|
-
"@synerise/ds-typography": "^2.0.
|
|
47
|
-
"@synerise/ds-utils": "^2.
|
|
42
|
+
"@synerise/ds-button": "^2.1.0",
|
|
43
|
+
"@synerise/ds-icon": "^2.1.3",
|
|
44
|
+
"@synerise/ds-scrollbar": "^2.0.4",
|
|
45
|
+
"@synerise/ds-tabs": "^2.0.6",
|
|
46
|
+
"@synerise/ds-typography": "^2.0.5",
|
|
47
|
+
"@synerise/ds-utils": "^2.2.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@synerise/ds-dropdown": "^2.1.
|
|
51
|
-
"@synerise/ds-popconfirm": "^2.0.
|
|
50
|
+
"@synerise/ds-dropdown": "^2.1.2",
|
|
51
|
+
"@synerise/ds-popconfirm": "^2.0.5",
|
|
52
52
|
"vitest": "4"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
58
58
|
"styled-components": "^5.3.3"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "5e795fa4fd23f6b07277edb517a84bb9b5b6d256"
|
|
61
61
|
}
|