@7shifts/sous-chef 3.64.0-beta0 → 3.65.0-beta.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.
@@ -0,0 +1,13 @@
1
+ import React, { ReactElement } from 'react';
2
+ import Button from '../../actions/Button/Button';
3
+ import { DataProps } from '../../foundation/types';
4
+ type Props = {
5
+ header: string;
6
+ primaryButton: ReactElement<typeof Button>;
7
+ onClose: () => void;
8
+ testId?: string;
9
+ loading?: boolean;
10
+ children: React.ReactNode;
11
+ } & DataProps;
12
+ declare const ConfirmModal: ({ header, primaryButton, onClose, children, loading, ...otherProps }: Props) => React.JSX.Element;
13
+ export default ConfirmModal;
@@ -0,0 +1 @@
1
+ export { default } from './ConfirmModal';
@@ -8,4 +8,5 @@ import DropdownList from './DropdownList';
8
8
  import DropdownListDivider from './DropdownListDivider';
9
9
  import DropdownListItem from './DropdownListItem';
10
10
  import HintModal from './HintModal';
11
- export { Tooltip, Modal, ModalBody, ModalFooter, Calendar, Dropdown, DropdownList, DropdownListDivider, DropdownListItem, HintModal };
11
+ import ConfirmModal from './ConfirmModal';
12
+ export { Tooltip, Modal, ModalBody, ModalFooter, Calendar, Dropdown, DropdownList, DropdownListDivider, DropdownListItem, HintModal, ConfirmModal };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@7shifts/sous-chef",
3
- "version": "3.64.0-beta0",
3
+ "version": "3.65.0-beta.0",
4
4
  "description": "7shifts component library",
5
5
  "author": "7shifts",
6
6
  "license": "MIT",