@manuscripts/style-guide 3.5.4 → 3.5.5

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.
@@ -52,9 +52,13 @@ const DraggableModal = ({ children, isOpen, onRequestClose, hideOverlay }) => {
52
52
  content: {
53
53
  left: '0',
54
54
  bottom: '0',
55
+ top: 'auto',
56
+ margin: '0',
55
57
  transition: 'none',
56
58
  position: 'fixed',
57
59
  width: '100%',
60
+ maxWidth: '100%',
61
+ maxHeight: 'none',
58
62
  },
59
63
  }, children: (0, jsx_runtime_1.jsx)(DraggableModalContainer, { onMouseDown: mouseDown, onMouseMove: mouseMove, "data-cy": "find-replace-modal", children: children }) }));
60
64
  };
@@ -5,29 +5,20 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.LoadingOverlay = void 0;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
- const react_modal_1 = __importDefault(require("react-modal"));
9
- const LoadingOverlay = ({ children, }) => ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)(react_modal_1.default, { isOpen: true, style: {
10
- overlay: {
11
- position: 'fixed',
12
- top: 0,
13
- left: 0,
14
- right: 0,
15
- bottom: 0,
16
- backgroundColor: 'white',
17
- zIndex: 20,
18
- },
19
- content: {
20
- position: 'fixed',
21
- top: 0,
22
- left: 0,
23
- right: 0,
24
- bottom: 0,
25
- background: 'white',
26
- display: 'flex',
27
- flexDirection: 'column',
28
- padding: 0,
29
- overflow: 'auto',
30
- border: 'none',
31
- },
32
- }, children: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: children }) }) }));
8
+ const styled_components_1 = __importDefault(require("styled-components"));
9
+ const LoadingOverlay = ({ children, }) => (0, jsx_runtime_1.jsx)(Overlay, { children: children });
33
10
  exports.LoadingOverlay = LoadingOverlay;
11
+ const Overlay = styled_components_1.default.div `
12
+ position: fixed;
13
+ top: 0;
14
+ left: 0;
15
+ right: 0;
16
+ bottom: 0;
17
+ background: white;
18
+ display: flex;
19
+ flex-direction: column;
20
+ padding: 0;
21
+ overflow: auto;
22
+ border: none;
23
+ z-index: 20;
24
+ `;
@@ -1,27 +1,152 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
5
35
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.StyledModal = exports.ModalTitle = exports.ModalCardBody = exports.ScrollableModalContent = exports.ModelContent = exports.ModalSidebarTitle = exports.ModalSidebarHeader = exports.ModalSidebar = exports.ModalBody = exports.CloseButton = exports.ModalHeader = exports.ModalContainer = void 0;
36
+ exports.ModalTitle = exports.ModalCardBody = exports.ScrollableModalContent = exports.ModelContent = exports.ModalSidebarTitle = exports.ModalSidebarHeader = exports.ModalSidebar = exports.ModalBody = exports.CloseButton = exports.ModalHeader = exports.ModalContainer = exports.StyledModal = void 0;
7
37
  const jsx_runtime_1 = require("react/jsx-runtime");
8
- const react_modal_1 = __importDefault(require("react-modal"));
9
- const styled_components_1 = __importDefault(require("styled-components"));
38
+ const react_1 = require("react");
39
+ const react_dom_1 = require("react-dom");
40
+ const styled_components_1 = __importStar(require("styled-components"));
10
41
  const Button_1 = require("./Button");
11
42
  const Sidebar_1 = require("./Sidebar");
12
- const totalTransitionTime = 800;
13
- const transitionDelay = 300;
14
- const delayedTransitionTime = totalTransitionTime - transitionDelay;
15
- const ReactModalAdapter = ({ className, modalClassName, ...props }) => {
16
- props.style = props.style || {};
17
- if (props.pointerEventsOnBackdrop == 'none') {
18
- props.style.content = {
19
- ...props.style.content,
20
- pointerEvents: 'all',
43
+ const StyledModal = ({ isOpen, onRequestClose, shouldCloseOnOverlayClick = true, hideOverlay = false, pointerEventsOnBackdrop, children, className, style, }) => {
44
+ const dialogRef = (0, react_1.useRef)(null);
45
+ const closedByCancelRef = (0, react_1.useRef)(false);
46
+ (0, react_1.useEffect)(() => {
47
+ const dialog = dialogRef.current;
48
+ if (!dialog) {
49
+ return;
50
+ }
51
+ if (isOpen && !dialog.open) {
52
+ dialog.showModal();
53
+ }
54
+ else if (!isOpen && dialog.open) {
55
+ dialog.close();
56
+ }
57
+ }, [isOpen]);
58
+ (0, react_1.useEffect)(() => {
59
+ const dialog = dialogRef.current;
60
+ if (!dialog) {
61
+ return;
62
+ }
63
+ const handleNativeClose = (wasOpen) => {
64
+ if (wasOpen && !closedByCancelRef.current) {
65
+ onRequestClose?.();
66
+ }
67
+ closedByCancelRef.current = false;
21
68
  };
22
- }
23
- return ((0, jsx_runtime_1.jsx)(react_modal_1.default, { className: modalClassName, portalClassName: className, closeTimeoutMS: totalTransitionTime, preventScroll: true, appElement: document.getElementById('root'), ...props }));
69
+ const listener = () => handleNativeClose(isOpen);
70
+ dialog.addEventListener('close', listener);
71
+ return () => dialog.removeEventListener('close', listener);
72
+ }, [isOpen, onRequestClose]);
73
+ (0, react_1.useEffect)(() => {
74
+ const dialog = dialogRef.current;
75
+ if (!dialog) {
76
+ return;
77
+ }
78
+ const handleCancel = (e) => {
79
+ closedByCancelRef.current = true;
80
+ onRequestClose?.(e);
81
+ };
82
+ dialog.addEventListener('cancel', handleCancel);
83
+ return () => dialog.removeEventListener('cancel', handleCancel);
84
+ }, [onRequestClose]);
85
+ const handleBackdropClick = (e) => {
86
+ if (shouldCloseOnOverlayClick && e.target === dialogRef.current) {
87
+ onRequestClose?.();
88
+ }
89
+ };
90
+ return (0, react_dom_1.createPortal)((0, jsx_runtime_1.jsx)(Dialog, { ref: dialogRef, onClick: handleBackdropClick, "$hideOverlay": hideOverlay, "$pointerEventsOnBackdrop": pointerEventsOnBackdrop, className: className, style: style?.content, children: children }), document.body);
24
91
  };
92
+ exports.StyledModal = StyledModal;
93
+ const Dialog = styled_components_1.default.dialog `
94
+ background: transparent;
95
+ border: none;
96
+ position: relative;
97
+ outline: none;
98
+ padding: 0;
99
+ overflow: visible;
100
+ opacity: 1;
101
+ transition:
102
+ opacity 0.5s ease-in-out,
103
+ display 0.5s ease allow-discrete,
104
+ overlay 0.5s ease allow-discrete;
105
+
106
+ &:not([open]) {
107
+ opacity: 0;
108
+ }
109
+
110
+ @starting-style {
111
+ &[open] {
112
+ opacity: 0;
113
+ }
114
+ }
115
+
116
+ &::backdrop {
117
+ ${(props) => {
118
+ if (props.$hideOverlay) {
119
+ return (0, styled_components_1.css) `
120
+ background: transparent;
121
+ `;
122
+ }
123
+ if (props.$pointerEventsOnBackdrop === 'none') {
124
+ return (0, styled_components_1.css) `
125
+ background: rgba(0, 0, 0, 0.1);
126
+ `;
127
+ }
128
+ return (0, styled_components_1.css) `
129
+ background: ${props.theme.colors.background.dark};
130
+ `;
131
+ }}
132
+ opacity: 1;
133
+ pointer-events: ${(props) => props.$pointerEventsOnBackdrop || 'auto'};
134
+ transition:
135
+ opacity 0.5s ease-in-out,
136
+ display 0.5s ease allow-discrete,
137
+ overlay 0.5s ease allow-discrete;
138
+ }
139
+
140
+ &:not([open])::backdrop {
141
+ opacity: 0;
142
+ }
143
+
144
+ @starting-style {
145
+ &[open]::backdrop {
146
+ opacity: 0;
147
+ }
148
+ }
149
+ `;
25
150
  exports.ModalContainer = styled_components_1.default.div `
26
151
  background: ${(props) => props.theme.colors.background.primary};
27
152
  border-radius: ${(props) => props.theme.grid.radius.default};
@@ -119,67 +244,3 @@ exports.ModalTitle = styled_components_1.default.h2 `
119
244
  color: ${(props) => props.theme.colors.text.primary};
120
245
  margin: 0 0 20px 0;
121
246
  `;
122
- exports.StyledModal = (0, styled_components_1.default)(ReactModalAdapter).attrs({
123
- closeTimeoutMS: totalTransitionTime,
124
- overlayClassName: {
125
- base: 'Overlay',
126
- afterOpen: 'Overlay--after-open',
127
- beforeClose: 'Overlay--before-close',
128
- },
129
- modalClassName: {
130
- base: 'Modal',
131
- afterOpen: 'Modal--after-open',
132
- beforeClose: 'Modal--before-close',
133
- },
134
- }) `
135
- .Overlay {
136
- position: fixed;
137
- top: 0;
138
- left: 0;
139
- right: 0;
140
- bottom: 0;
141
- background-color: ${(props) => props.hideOverlay
142
- ? 'transparent'
143
- : props.pointerEventsOnBackdrop === 'none'
144
- ? 'rgba(0,0,0,0.1)'
145
- : props.theme.colors.background.dark};
146
- z-index: 1000;
147
- display: flex;
148
- justify-content: center;
149
- align-items: center;
150
- opacity: 0;
151
- pointer-events: ${(props) => props.pointerEventsOnBackdrop || 'auto'};
152
-
153
- &--after-open {
154
- transition: opacity ${totalTransitionTime}ms ease-in-out;
155
- opacity: 1;
156
- }
157
-
158
- &--before-close {
159
- transition: opacity ${delayedTransitionTime}ms ease-in-out;
160
- transition-delay: ${transitionDelay}ms;
161
- opacity: 0;
162
- }
163
- }
164
-
165
- .Modal {
166
- background: transparent;
167
- border: none;
168
- position: relative;
169
- outline: none;
170
- opacity: 0;
171
- transition:
172
- opacity ${delayedTransitionTime}ms ease-in-out,
173
- top ${delayedTransitionTime}ms ease-in-out;
174
- transition-delay: ${transitionDelay}ms;
175
-
176
- &--after-open {
177
- opacity: 1;
178
- }
179
-
180
- &--before-close {
181
- transition-delay: 0ms;
182
- opacity: 0;
183
- }
184
- }
185
- `;
@@ -46,9 +46,13 @@ export const DraggableModal = ({ children, isOpen, onRequestClose, hideOverlay }
46
46
  content: {
47
47
  left: '0',
48
48
  bottom: '0',
49
+ top: 'auto',
50
+ margin: '0',
49
51
  transition: 'none',
50
52
  position: 'fixed',
51
53
  width: '100%',
54
+ maxWidth: '100%',
55
+ maxHeight: 'none',
52
56
  },
53
57
  }, children: _jsx(DraggableModalContainer, { onMouseDown: mouseDown, onMouseMove: mouseMove, "data-cy": "find-replace-modal", children: children }) }));
54
58
  };
@@ -1,26 +1,17 @@
1
- import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
2
- import Modal from 'react-modal';
3
- export const LoadingOverlay = ({ children, }) => (_jsx(_Fragment, { children: _jsx(Modal, { isOpen: true, style: {
4
- overlay: {
5
- position: 'fixed',
6
- top: 0,
7
- left: 0,
8
- right: 0,
9
- bottom: 0,
10
- backgroundColor: 'white',
11
- zIndex: 20,
12
- },
13
- content: {
14
- position: 'fixed',
15
- top: 0,
16
- left: 0,
17
- right: 0,
18
- bottom: 0,
19
- background: 'white',
20
- display: 'flex',
21
- flexDirection: 'column',
22
- padding: 0,
23
- overflow: 'auto',
24
- border: 'none',
25
- },
26
- }, children: _jsx(_Fragment, { children: children }) }) }));
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import styled from 'styled-components';
3
+ export const LoadingOverlay = ({ children, }) => _jsx(Overlay, { children: children });
4
+ const Overlay = styled.div `
5
+ position: fixed;
6
+ top: 0;
7
+ left: 0;
8
+ right: 0;
9
+ bottom: 0;
10
+ background: white;
11
+ display: flex;
12
+ flex-direction: column;
13
+ padding: 0;
14
+ overflow: auto;
15
+ border: none;
16
+ z-index: 20;
17
+ `;
@@ -1,21 +1,115 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import ReactModal from 'react-modal';
3
- import styled from 'styled-components';
2
+ import { useEffect, useRef } from 'react';
3
+ import { createPortal } from 'react-dom';
4
+ import styled, { css } from 'styled-components';
4
5
  import { RoundIconButton } from './Button';
5
6
  import { SidebarStyles } from './Sidebar';
6
- const totalTransitionTime = 800;
7
- const transitionDelay = 300;
8
- const delayedTransitionTime = totalTransitionTime - transitionDelay;
9
- const ReactModalAdapter = ({ className, modalClassName, ...props }) => {
10
- props.style = props.style || {};
11
- if (props.pointerEventsOnBackdrop == 'none') {
12
- props.style.content = {
13
- ...props.style.content,
14
- pointerEvents: 'all',
7
+ export const StyledModal = ({ isOpen, onRequestClose, shouldCloseOnOverlayClick = true, hideOverlay = false, pointerEventsOnBackdrop, children, className, style, }) => {
8
+ const dialogRef = useRef(null);
9
+ const closedByCancelRef = useRef(false);
10
+ useEffect(() => {
11
+ const dialog = dialogRef.current;
12
+ if (!dialog) {
13
+ return;
14
+ }
15
+ if (isOpen && !dialog.open) {
16
+ dialog.showModal();
17
+ }
18
+ else if (!isOpen && dialog.open) {
19
+ dialog.close();
20
+ }
21
+ }, [isOpen]);
22
+ useEffect(() => {
23
+ const dialog = dialogRef.current;
24
+ if (!dialog) {
25
+ return;
26
+ }
27
+ const handleNativeClose = (wasOpen) => {
28
+ if (wasOpen && !closedByCancelRef.current) {
29
+ onRequestClose?.();
30
+ }
31
+ closedByCancelRef.current = false;
15
32
  };
16
- }
17
- return (_jsx(ReactModal, { className: modalClassName, portalClassName: className, closeTimeoutMS: totalTransitionTime, preventScroll: true, appElement: document.getElementById('root'), ...props }));
33
+ const listener = () => handleNativeClose(isOpen);
34
+ dialog.addEventListener('close', listener);
35
+ return () => dialog.removeEventListener('close', listener);
36
+ }, [isOpen, onRequestClose]);
37
+ useEffect(() => {
38
+ const dialog = dialogRef.current;
39
+ if (!dialog) {
40
+ return;
41
+ }
42
+ const handleCancel = (e) => {
43
+ closedByCancelRef.current = true;
44
+ onRequestClose?.(e);
45
+ };
46
+ dialog.addEventListener('cancel', handleCancel);
47
+ return () => dialog.removeEventListener('cancel', handleCancel);
48
+ }, [onRequestClose]);
49
+ const handleBackdropClick = (e) => {
50
+ if (shouldCloseOnOverlayClick && e.target === dialogRef.current) {
51
+ onRequestClose?.();
52
+ }
53
+ };
54
+ return createPortal(_jsx(Dialog, { ref: dialogRef, onClick: handleBackdropClick, "$hideOverlay": hideOverlay, "$pointerEventsOnBackdrop": pointerEventsOnBackdrop, className: className, style: style?.content, children: children }), document.body);
18
55
  };
56
+ const Dialog = styled.dialog `
57
+ background: transparent;
58
+ border: none;
59
+ position: relative;
60
+ outline: none;
61
+ padding: 0;
62
+ overflow: visible;
63
+ opacity: 1;
64
+ transition:
65
+ opacity 0.5s ease-in-out,
66
+ display 0.5s ease allow-discrete,
67
+ overlay 0.5s ease allow-discrete;
68
+
69
+ &:not([open]) {
70
+ opacity: 0;
71
+ }
72
+
73
+ @starting-style {
74
+ &[open] {
75
+ opacity: 0;
76
+ }
77
+ }
78
+
79
+ &::backdrop {
80
+ ${(props) => {
81
+ if (props.$hideOverlay) {
82
+ return css `
83
+ background: transparent;
84
+ `;
85
+ }
86
+ if (props.$pointerEventsOnBackdrop === 'none') {
87
+ return css `
88
+ background: rgba(0, 0, 0, 0.1);
89
+ `;
90
+ }
91
+ return css `
92
+ background: ${props.theme.colors.background.dark};
93
+ `;
94
+ }}
95
+ opacity: 1;
96
+ pointer-events: ${(props) => props.$pointerEventsOnBackdrop || 'auto'};
97
+ transition:
98
+ opacity 0.5s ease-in-out,
99
+ display 0.5s ease allow-discrete,
100
+ overlay 0.5s ease allow-discrete;
101
+ }
102
+
103
+ &:not([open])::backdrop {
104
+ opacity: 0;
105
+ }
106
+
107
+ @starting-style {
108
+ &[open]::backdrop {
109
+ opacity: 0;
110
+ }
111
+ }
112
+ `;
19
113
  export const ModalContainer = styled.div `
20
114
  background: ${(props) => props.theme.colors.background.primary};
21
115
  border-radius: ${(props) => props.theme.grid.radius.default};
@@ -113,67 +207,3 @@ export const ModalTitle = styled.h2 `
113
207
  color: ${(props) => props.theme.colors.text.primary};
114
208
  margin: 0 0 20px 0;
115
209
  `;
116
- export const StyledModal = styled(ReactModalAdapter).attrs({
117
- closeTimeoutMS: totalTransitionTime,
118
- overlayClassName: {
119
- base: 'Overlay',
120
- afterOpen: 'Overlay--after-open',
121
- beforeClose: 'Overlay--before-close',
122
- },
123
- modalClassName: {
124
- base: 'Modal',
125
- afterOpen: 'Modal--after-open',
126
- beforeClose: 'Modal--before-close',
127
- },
128
- }) `
129
- .Overlay {
130
- position: fixed;
131
- top: 0;
132
- left: 0;
133
- right: 0;
134
- bottom: 0;
135
- background-color: ${(props) => props.hideOverlay
136
- ? 'transparent'
137
- : props.pointerEventsOnBackdrop === 'none'
138
- ? 'rgba(0,0,0,0.1)'
139
- : props.theme.colors.background.dark};
140
- z-index: 1000;
141
- display: flex;
142
- justify-content: center;
143
- align-items: center;
144
- opacity: 0;
145
- pointer-events: ${(props) => props.pointerEventsOnBackdrop || 'auto'};
146
-
147
- &--after-open {
148
- transition: opacity ${totalTransitionTime}ms ease-in-out;
149
- opacity: 1;
150
- }
151
-
152
- &--before-close {
153
- transition: opacity ${delayedTransitionTime}ms ease-in-out;
154
- transition-delay: ${transitionDelay}ms;
155
- opacity: 0;
156
- }
157
- }
158
-
159
- .Modal {
160
- background: transparent;
161
- border: none;
162
- position: relative;
163
- outline: none;
164
- opacity: 0;
165
- transition:
166
- opacity ${delayedTransitionTime}ms ease-in-out,
167
- top ${delayedTransitionTime}ms ease-in-out;
168
- transition-delay: ${transitionDelay}ms;
169
-
170
- &--after-open {
171
- opacity: 1;
172
- }
173
-
174
- &--before-close {
175
- transition-delay: 0ms;
176
- opacity: 0;
177
- }
178
- }
179
- `;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * © 2019 Atypon Systems LLC
2
+ * © 2026 Atypon Systems LLC
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -14,13 +14,19 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import React from 'react';
17
- import ReactModal from 'react-modal';
18
- import { ThemeProps } from 'styled-components';
19
- interface Props {
20
- modalClassName?: ReactModal.Classes;
21
- pointerEventsOnBackdrop?: 'all' | 'none' | 'auto';
17
+ interface StyledModalProps {
18
+ isOpen: boolean;
19
+ onRequestClose?: (e?: Event) => void;
20
+ shouldCloseOnOverlayClick?: boolean;
22
21
  hideOverlay?: boolean;
22
+ pointerEventsOnBackdrop?: 'all' | 'none' | 'auto';
23
+ children: React.ReactNode;
24
+ className?: string;
25
+ style?: {
26
+ content?: React.CSSProperties;
27
+ };
23
28
  }
29
+ export declare const StyledModal: React.FC<StyledModalProps>;
24
30
  export declare const ModalContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
25
31
  export declare const ModalHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
26
32
  export declare const CloseButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
@@ -48,17 +54,4 @@ export declare const ModalCardBody: import("styled-components").StyledComponent<
48
54
  width?: number | string;
49
55
  }, never>;
50
56
  export declare const ModalTitle: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme, {}, never>;
51
- export declare const StyledModal: import("styled-components").StyledComponent<React.FC<ReactModal.Props & ThemeProps<ReactModal> & Props>, import("styled-components").DefaultTheme, {
52
- closeTimeoutMS: 800;
53
- overlayClassName: {
54
- base: string;
55
- afterOpen: string;
56
- beforeClose: string;
57
- };
58
- modalClassName: {
59
- base: string;
60
- afterOpen: string;
61
- beforeClose: string;
62
- };
63
- }, "modalClassName" | "overlayClassName" | "closeTimeoutMS">;
64
57
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@manuscripts/style-guide",
3
3
  "description": "Shared components for Manuscripts applications",
4
- "version": "3.5.4",
4
+ "version": "3.5.5",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-style-guide",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",
@@ -47,7 +47,6 @@
47
47
  "react-dnd-html5-backend": "16.0.1",
48
48
  "react-dom": "19.2.0",
49
49
  "react-is": "19.2.0",
50
- "react-modal": "3.16.3",
51
50
  "react-router-dom": "5.3.4",
52
51
  "react-select": "5.10.1",
53
52
  "react-tooltip": "5.28.1",
@@ -75,7 +74,6 @@
75
74
  "@types/react": "19.2.3",
76
75
  "@types/react-datepicker": "^7.0.0",
77
76
  "@types/react-dom": "19.2.3",
78
- "@types/react-modal": "3.16.3",
79
77
  "@types/react-router-dom": "5.3.3",
80
78
  "@types/styled-components": "5.1.34",
81
79
  "@typescript-eslint/eslint-plugin": "8.46.4",