demio-ui 5.4.12 → 5.4.13

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/types.d.ts CHANGED
@@ -270,7 +270,6 @@ type Props$6 = {
270
270
  declare function Modal({ children, contentClassName, isCloseButtonVisible, onClose, onOpenChange, open, overlayClassName, title, isClosable, portalContainer, ...props }: Props$6): React__default.JSX.Element;
271
271
 
272
272
  interface ModalScrollableProps {
273
- cancelBtnText?: string;
274
273
  children: ReactNode;
275
274
  customBodyClass?: string;
276
275
  customCancelBtnClass?: string;
@@ -282,19 +281,24 @@ interface ModalScrollableProps {
282
281
  customTitleClass?: string;
283
282
  footer?: ReactNode;
284
283
  header?: ReactNode;
285
- isAvailableCancelBtn?: boolean;
286
- isAvailableOkBtn?: boolean;
287
284
  isClosable?: boolean | null;
288
285
  isCloseButtonVisible?: boolean;
289
286
  isOkBtnDisabled?: boolean;
290
287
  isOpen: boolean;
291
288
  isOpenByDefault?: boolean;
292
- okBtnText?: string;
293
- onCancel?: (event: MouseEvent<HTMLButtonElement> | null) => void;
294
- onOk?: (event: MouseEvent<HTMLButtonElement>) => void;
295
289
  onOpenChange: (open: boolean) => void;
296
290
  portalContainer?: HTMLElement;
297
291
  title?: ReactNode;
292
+ cancelBtnText?: string;
293
+ cancelBtnColor?: 'dark' | 'green' | 'red';
294
+ cancelBtnVariant?: 'primary' | 'secondary' | 'tertiary' | 'quarter';
295
+ isAvailableCancelBtn?: boolean;
296
+ onCancel?: (event: MouseEvent<HTMLButtonElement> | null) => void;
297
+ okBtnText?: string;
298
+ okBtnColor?: 'dark' | 'green' | 'red';
299
+ okBtnVariant?: 'primary' | 'secondary' | 'tertiary' | 'quarter';
300
+ isAvailableOkBtn?: boolean;
301
+ onOk?: (event: MouseEvent<HTMLButtonElement>) => void;
298
302
  }
299
303
  declare const ModalScrollable: FC<ModalScrollableProps>;
300
304
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "demio-ui",
3
- "version": "5.4.12",
3
+ "version": "5.4.13",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",