@sqrzro/ui 4.0.0-alpha.8 → 4.0.0-alpha.9

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.
@@ -4,6 +4,10 @@ export type { ListProps } from './collections/List';
4
4
  export { default as List } from './collections/List';
5
5
  export type { TableProps } from './collections/Table';
6
6
  export { default as Table } from './collections/Table';
7
+ export type { ConfirmModalProps } from './modals/ConfirmModal';
8
+ export { default as ConfirmModal } from './modals/ConfirmModal';
9
+ export type { ModalProps } from './modals/Modal';
10
+ export { default as Modal } from './modals/Modal';
7
11
  export type { ModalLauncherProps } from './modals/ModalLauncher';
8
12
  export { default as ModalLauncher } from './modals/ModalLauncher';
9
13
  export type { ContainerProps } from './utility/Container';
@@ -2,6 +2,8 @@ export * from './collections/interfaces';
2
2
  export { default as ActionButton } from './buttons/ActionButton';
3
3
  export { default as List } from './collections/List';
4
4
  export { default as Table } from './collections/Table';
5
+ export { default as ConfirmModal } from './modals/ConfirmModal';
6
+ export { default as Modal } from './modals/Modal';
5
7
  export { default as ModalLauncher } from './modals/ModalLauncher';
6
8
  export { default as Container } from './utility/Container';
7
9
  export { default as Link } from './utility/Link';
@@ -13,7 +13,7 @@ export interface ModalProps extends ClassNameProps<ModalClassNames> {
13
13
  children: React.ReactNode;
14
14
  icon?: React.ReactNode;
15
15
  isLoading?: boolean;
16
- title?: string;
16
+ title?: React.ReactNode;
17
17
  }
18
18
  declare function Modal({ actions, children, classNames, classNameProps, icon, isLoading, title, }: Readonly<ModalProps>): React.ReactElement | null;
19
19
  export default Modal;
@@ -8,7 +8,7 @@ export interface ConfirmableObject {
8
8
  onBeforeConfirm?: () => void;
9
9
  onConfirm: () => void;
10
10
  submitLabel?: string;
11
- title?: string;
11
+ title?: React.ReactNode;
12
12
  }
13
13
  export interface Action {
14
14
  action?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sqrzro/ui",
3
3
  "type": "module",
4
- "version": "4.0.0-alpha.8",
4
+ "version": "4.0.0-alpha.9",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "ISC",