@apolitical/component-library 1.12.0 → 1.12.1
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/form/types/index.d.ts +0 -1
- package/index.js +35 -35
- package/index.mjs +5775 -6117
- package/modals/index.d.ts +0 -1
- package/modals/overlay/overlay.d.ts +1 -5
- package/package.json +1 -2
- package/style.css +1 -1
- package/styles/variables/colors/_theme.scss +57 -19
- package/form/types/invite-form/index.d.ts +0 -1
- package/form/types/invite-form/invite-form.d.ts +0 -30
- package/modals/invite-modal/index.d.ts +0 -1
- package/modals/invite-modal/invite-modal.d.ts +0 -31
package/modals/index.d.ts
CHANGED
|
@@ -5,8 +5,6 @@ interface Props {
|
|
|
5
5
|
id?: string;
|
|
6
6
|
/** If the overlay is showing or not */
|
|
7
7
|
isOpen?: boolean;
|
|
8
|
-
/** If the header divider is showing be or not */
|
|
9
|
-
showDivider?: boolean;
|
|
10
8
|
/** The maximum width of the modal */
|
|
11
9
|
maxWidth?: number;
|
|
12
10
|
/** Functions to handle the overlay */
|
|
@@ -21,8 +19,6 @@ interface Props {
|
|
|
21
19
|
/** If an error, created externally, should always show */
|
|
22
20
|
error?: false | string;
|
|
23
21
|
};
|
|
24
|
-
/** Whether to show the check icon */
|
|
25
|
-
showIcon?: boolean;
|
|
26
22
|
/** The title to show */
|
|
27
23
|
title?: string | undefined;
|
|
28
24
|
/** The content to show */
|
|
@@ -36,5 +32,5 @@ interface Props {
|
|
|
36
32
|
/** Language to use */
|
|
37
33
|
locale?: string;
|
|
38
34
|
}
|
|
39
|
-
declare const Overlay: ({ id, isOpen,
|
|
35
|
+
declare const Overlay: ({ id, isOpen, maxWidth, functions: { onOpen, onClose }, forceShow: { error }, title, children, buttons, className, gtmContext }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
40
36
|
export default Overlay;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apolitical/component-library",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.1",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
"react-dom": "18.2.0",
|
|
26
26
|
"react-error-boundary": "4.0.11",
|
|
27
27
|
"react-intl": "6.4.4",
|
|
28
|
-
"react-multi-email": "1.0.17",
|
|
29
28
|
"react-textarea-autosize": "8.5.3",
|
|
30
29
|
"truncate": "3.0.0",
|
|
31
30
|
"tslib": "2.6.2"
|