@delightui/components 0.1.160 → 0.1.161

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/dist/index.d.ts CHANGED
@@ -1544,6 +1544,13 @@ type UseModalReturn<T extends ModalComponentProps> = {
1544
1544
  closeModal: () => void;
1545
1545
  /** The unique identifier for this modal instance */
1546
1546
  modalId: string;
1547
+ /**
1548
+ * Updates the props of the modal instance managed by this hook.
1549
+ *
1550
+ * @param newProps - The new props to merge with the existing props
1551
+ * @returns void
1552
+ */
1553
+ updateModal: (newProps: Partial<T>) => void;
1547
1554
  };
1548
1555
 
1549
1556
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delightui/components",
3
- "version": "0.1.160",
3
+ "version": "0.1.161",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "vite",