@kwantis-id3/frontend-library 0.22.1 → 0.23.0

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.
@@ -6,6 +6,8 @@ interface ModalProps {
6
6
  isOpen: boolean;
7
7
  /** The handler to change the state of the modal */
8
8
  setIsOpen: (isOpen: boolean) => void;
9
+ /** The handler to be called when the modal is opened */
10
+ onOpen?: () => void;
9
11
  /** The handler to be called when the modal is closed */
10
12
  onClose?: () => void;
11
13
  }
package/dist/index.d.ts CHANGED
@@ -288,6 +288,8 @@ interface ModalProps {
288
288
  isOpen: boolean;
289
289
  /** The handler to change the state of the modal */
290
290
  setIsOpen: (isOpen: boolean) => void;
291
+ /** The handler to be called when the modal is opened */
292
+ onOpen?: () => void;
291
293
  /** The handler to be called when the modal is closed */
292
294
  onClose?: () => void;
293
295
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kwantis-id3/frontend-library",
3
- "version": "0.22.1",
3
+ "version": "0.23.0",
4
4
  "description": "Kwantis frontend components collection",
5
5
  "scriptsComments": {
6
6
  "storybook": "Starts storybook in development mode",