plataforma-fundacao-componentes 2.23.10 → 2.23.11
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { ReactFragment } from 'react';
|
|
2
2
|
import { ModalSizes } from '../../libraries/ModalSize';
|
|
3
3
|
import { ButtonProps } from '../button/Button';
|
|
4
4
|
import './Modal.scss';
|
|
@@ -14,7 +14,7 @@ export interface ModalProps {
|
|
|
14
14
|
mobileOnXS?: boolean;
|
|
15
15
|
compenseColPaddingContent?: boolean;
|
|
16
16
|
footer?: ButtonProps[] | JSX.Element;
|
|
17
|
-
children?: string | JSX.Element;
|
|
17
|
+
children?: string | JSX.Element | ReactFragment;
|
|
18
18
|
}
|
|
19
19
|
declare function Modal(props: ModalProps): JSX.Element;
|
|
20
20
|
declare namespace Modal {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
|
|
6
|
+
export declare const Small: () => JSX.Element;
|
|
7
|
+
export declare const MultipleChildren: () => JSX.Element;
|
|
8
|
+
export declare const SmallCompensePadding: () => JSX.Element;
|
|
9
|
+
export declare const Large: () => JSX.Element;
|
|
10
|
+
export declare const ExtraLarge: () => JSX.Element;
|
|
11
|
+
export declare const Alert: () => JSX.Element;
|
|
12
|
+
export declare const Confirm: () => JSX.Element;
|
|
13
|
+
export declare const Destructive: () => JSX.Element;
|
|
@@ -4,7 +4,7 @@ import './Select.scss';
|
|
|
4
4
|
declare type SelectAcceptedTypes = number | string | boolean;
|
|
5
5
|
export declare type SelectOptionsType<T extends SelectAcceptedTypes = SelectAcceptedTypes> = {
|
|
6
6
|
label: string | number;
|
|
7
|
-
value: T;
|
|
7
|
+
value: T | null;
|
|
8
8
|
key?: string;
|
|
9
9
|
};
|
|
10
10
|
export interface SelectProps {
|