@semcore/modal 16.1.13 → 17.0.0-prerelease.17
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/CHANGELOG.md +6 -0
- package/lib/cjs/Modal.js +177 -185
- package/lib/cjs/Modal.js.map +1 -1
- package/lib/cjs/index.d.js.map +1 -1
- package/lib/cjs/index.js +3 -3
- package/lib/cjs/translations/__intergalactic-dynamic-locales.js +16 -16
- package/lib/cjs/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/es6/Modal.js +165 -172
- package/lib/es6/Modal.js.map +1 -1
- package/lib/es6/index.d.js.map +1 -1
- package/lib/es6/translations/__intergalactic-dynamic-locales.js +15 -15
- package/lib/es6/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/esm/Modal.mjs +164 -143
- package/lib/esm/translations/__intergalactic-dynamic-locales.mjs +1 -1
- package/lib/types/index.d.ts +2 -10
- package/package.json +8 -10
package/lib/esm/Modal.mjs
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
|
-
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
3
|
-
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
4
|
-
import _callSuper from "@babel/runtime/helpers/esm/callSuper";
|
|
5
|
-
import _inherits from "@babel/runtime/helpers/esm/inherits";
|
|
6
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
7
|
-
import { createComponent, sstyled,
|
|
8
|
-
import { FadeInOut, Slide } from "@semcore/
|
|
9
|
-
import { Flex } from "@semcore/base-components";
|
|
2
|
+
import { createComponent, sstyled, Component, assignProps } from "@semcore/core";
|
|
3
|
+
import { Portal, FadeInOut, Flex, OutsideClick, Slide, PortalProvider } from "@semcore/base-components";
|
|
10
4
|
import Button from "@semcore/button";
|
|
11
5
|
import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
|
|
12
6
|
import { isAdvanceMode } from "@semcore/core/lib/utils/findComponent";
|
|
@@ -19,122 +13,123 @@ import usePreventScroll from "@semcore/core/lib/utils/use/usePreventScroll";
|
|
|
19
13
|
import { cssVariableEnhance } from "@semcore/core/lib/utils/useCssVariable";
|
|
20
14
|
import { useZIndexStacking, ZIndexStackingContextProvider } from "@semcore/core/lib/utils/zIndexStacking";
|
|
21
15
|
import CloseIcon from "@semcore/icon/Close/l";
|
|
22
|
-
import OutsideClick from "@semcore/outside-click";
|
|
23
|
-
import Portal, { PortalProvider } from "@semcore/portal";
|
|
24
16
|
import { Text } from "@semcore/typography";
|
|
25
17
|
import React from "react";
|
|
26
18
|
import { localizedMessages } from "./translations/__intergalactic-dynamic-locales.mjs";
|
|
27
19
|
/*!__reshadow-styles__:"./style/modal.shadow.css"*/
|
|
28
|
-
|
|
20
|
+
const style = (
|
|
29
21
|
/*__reshadow_css_start__*/
|
|
30
22
|
(sstyled.insert(
|
|
31
23
|
/*__inner_css_start__*/
|
|
32
|
-
".
|
|
24
|
+
".___SWindow_1ij8i_gg_{position:relative;border-radius:var(--intergalactic-modal-rounded, 12px);background:var(--intergalactic-bg-primary-neutral, #ffffff);box-sizing:border-box;margin:auto;padding:var(--intergalactic-spacing-10x, 40px);box-shadow:var(--intergalactic-box-shadow-modal, 0px 3px 8px 0px rgba(25, 27, 35, 0.2));color:var(--intergalactic-text-primary, #191b23)}.___SWindow_1ij8i_gg_:focus{outline:0}.___SWindow_1ij8i_gg_ .___STitle_1ij8i_gg_{color:var(--intergalactic-text-primary, #191b23);font-size:var(--intergalactic-fs-500, 24px);line-height:var(--intergalactic-lh-500, 117%);font-weight:var(--intergalactic-semi-bold, 600);margin-bottom:var(--intergalactic-spacing-2x, 8px);margin-right:var(--intergalactic-spacing-4x, 16px)}.___SWindow_1ij8i_gg_ .___STitle_1ij8i_gg_.__color_1ij8i_gg_{color:var(--color_1ij8i)}.___SWindow_1ij8i_gg_ .___SClose_1ij8i_gg_{display:inline-flex;position:absolute;right:var(--intergalactic-spacing-2x, 8px);top:var(--intergalactic-spacing-2x, 8px)}.___SWindow_1ij8i_gg_ .___SClose_1ij8i_gg_.__ghost_1ij8i_gg_{right:0;top:0}.___SWindow_1ij8i_gg_.__ghost_1ij8i_gg_{background:0 0;padding:0;box-shadow:none}.___SOverlayContentWrapper_1ij8i_gg_{flex:1;max-width:100%;box-sizing:border-box;padding:var(--intergalactic-spacing-10x, 40px)}.___SOverlay_1ij8i_gg_{display:flex;justify-content:center;flex-wrap:wrap;position:fixed;top:0;bottom:0;left:0;right:0;margin:0;background:var(--intergalactic-overlay-primary, rgba(25, 27, 35, 0.7));overflow:auto;-webkit-overflow-scrolling:touch}.___SOverlay_1ij8i_gg_ .___SOverlay_1ij8i_gg_{background:var(--intergalactic-overlay-secondary, rgba(25, 27, 35, 0.4))}@media (max-width:767px){.___SWindow_1ij8i_gg_{min-width:60%}.___SOverlayContentWrapper_1ij8i_gg_{padding:var(--intergalactic-spacing-3x, 12px)}}",
|
|
33
25
|
/*__inner_css_end__*/
|
|
34
|
-
"
|
|
26
|
+
"1ij8i_gg_"
|
|
35
27
|
), /*__reshadow_css_end__*/
|
|
36
28
|
{
|
|
37
|
-
"__SWindow": "
|
|
38
|
-
"_ghost": "
|
|
39
|
-
"__SOverlayContentWrapper": "
|
|
40
|
-
"__STitle": "
|
|
41
|
-
"_color": "
|
|
42
|
-
"--color": "--
|
|
43
|
-
"__SClose": "
|
|
44
|
-
"__SOverlay": "
|
|
29
|
+
"__SWindow": "___SWindow_1ij8i_gg_",
|
|
30
|
+
"_ghost": "__ghost_1ij8i_gg_",
|
|
31
|
+
"__SOverlayContentWrapper": "___SOverlayContentWrapper_1ij8i_gg_",
|
|
32
|
+
"__STitle": "___STitle_1ij8i_gg_",
|
|
33
|
+
"_color": "__color_1ij8i_gg_",
|
|
34
|
+
"--color": "--color_1ij8i",
|
|
35
|
+
"__SClose": "___SClose_1ij8i_gg_",
|
|
36
|
+
"__SOverlay": "___SOverlay_1ij8i_gg_"
|
|
45
37
|
})
|
|
46
38
|
);
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
52
|
-
args[_key] = arguments[_key];
|
|
53
|
-
}
|
|
54
|
-
_this = _callSuper(this, ModalRoot2, [].concat(args));
|
|
55
|
-
_defineProperty(_this, "state", {
|
|
39
|
+
class ModalRoot extends Component {
|
|
40
|
+
constructor(...args) {
|
|
41
|
+
super(...args);
|
|
42
|
+
_defineProperty(this, "state", {
|
|
56
43
|
hasTitle: false
|
|
57
44
|
});
|
|
58
|
-
_defineProperty(
|
|
45
|
+
_defineProperty(this, "handleKeyDown", (e) => {
|
|
59
46
|
if (e.key === "Escape") {
|
|
60
47
|
e.stopPropagation();
|
|
61
|
-
fire(
|
|
48
|
+
fire(this, "onClose", "onEscape", e);
|
|
62
49
|
}
|
|
63
50
|
});
|
|
64
|
-
_defineProperty(
|
|
65
|
-
fire(
|
|
51
|
+
_defineProperty(this, "handleIconCloseClick", (e) => {
|
|
52
|
+
fire(this, "onClose", "onCloseClick", e);
|
|
66
53
|
});
|
|
67
|
-
_defineProperty(
|
|
68
|
-
fire(
|
|
54
|
+
_defineProperty(this, "handleOutsideClick", (e) => {
|
|
55
|
+
fire(this, "onClose", "onOutsideClick", e);
|
|
69
56
|
});
|
|
70
|
-
return _this;
|
|
71
57
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
58
|
+
getOverlayProps() {
|
|
59
|
+
const {
|
|
60
|
+
duration,
|
|
61
|
+
visible,
|
|
62
|
+
animationsDisabled,
|
|
63
|
+
disablePreventScroll
|
|
64
|
+
} = this.asProps;
|
|
65
|
+
return {
|
|
66
|
+
duration,
|
|
67
|
+
visible,
|
|
68
|
+
onOutsideClick: this.handleOutsideClick,
|
|
69
|
+
animationsDisabled,
|
|
70
|
+
disablePreventScroll
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
getWindowProps() {
|
|
74
|
+
const {
|
|
75
|
+
visible,
|
|
76
|
+
closable,
|
|
77
|
+
getI18nText,
|
|
78
|
+
uid,
|
|
79
|
+
duration,
|
|
80
|
+
animationsDisabled
|
|
81
|
+
} = this.asProps;
|
|
82
|
+
const {
|
|
83
|
+
hasTitle
|
|
84
|
+
} = this.state;
|
|
85
|
+
return {
|
|
86
|
+
visible,
|
|
87
|
+
closable,
|
|
88
|
+
"onKeyDown": this.handleKeyDown,
|
|
89
|
+
"aria-label": hasTitle ? void 0 : getI18nText("title"),
|
|
90
|
+
"aria-labelledby": hasTitle ? `igc-${uid}-title` : void 0,
|
|
91
|
+
duration,
|
|
92
|
+
animationsDisabled
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
getCloseProps() {
|
|
96
|
+
const {
|
|
97
|
+
getI18nText,
|
|
98
|
+
ghost
|
|
99
|
+
} = this.asProps;
|
|
100
|
+
return {
|
|
101
|
+
onClick: this.handleIconCloseClick,
|
|
102
|
+
getI18nText,
|
|
103
|
+
ghost
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
getTitleProps() {
|
|
107
|
+
const {
|
|
108
|
+
uid
|
|
109
|
+
} = this.asProps;
|
|
110
|
+
const setHasTitle = () => this.setState({
|
|
111
|
+
hasTitle: true
|
|
112
|
+
});
|
|
113
|
+
return {
|
|
114
|
+
id: `igc-${uid}-title`,
|
|
115
|
+
setHasTitle
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
render() {
|
|
119
|
+
var _ref = this.asProps;
|
|
120
|
+
const {
|
|
121
|
+
Children,
|
|
122
|
+
disablePortal,
|
|
123
|
+
forcedAdvancedMode,
|
|
124
|
+
ignorePortalsStacking
|
|
125
|
+
} = this.asProps;
|
|
126
|
+
const advancedMode = forcedAdvancedMode || isAdvanceMode(Children, [Modal.Overlay.displayName, Modal.Window.displayName]);
|
|
127
|
+
return /* @__PURE__ */ React.createElement(Portal, {
|
|
128
|
+
disablePortal,
|
|
129
|
+
ignorePortalsStacking
|
|
130
|
+
}, advancedMode ? /* @__PURE__ */ React.createElement(Children, null) : /* @__PURE__ */ React.createElement(Modal.Overlay, null, /* @__PURE__ */ React.createElement(Modal.Window, assignProps({}, _ref))));
|
|
131
|
+
}
|
|
132
|
+
}
|
|
138
133
|
_defineProperty(ModalRoot, "displayName", "Modal");
|
|
139
134
|
_defineProperty(ModalRoot, "style", style);
|
|
140
135
|
_defineProperty(ModalRoot, "enhance", [i18nEnhance(localizedMessages), uniqueIDEnhancement(), cssVariableEnhance({
|
|
@@ -151,20 +146,28 @@ _defineProperty(ModalRoot, "defaultProps", {
|
|
|
151
146
|
});
|
|
152
147
|
function Window(props) {
|
|
153
148
|
var _ref2 = arguments[0], _ref6;
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
149
|
+
const SWindow = Slide;
|
|
150
|
+
const {
|
|
151
|
+
Children,
|
|
152
|
+
styles,
|
|
153
|
+
visible,
|
|
154
|
+
closable,
|
|
155
|
+
duration
|
|
156
|
+
} = props;
|
|
157
|
+
const windowRef = React.useRef(null);
|
|
157
158
|
useFocusLock(windowRef, "enforced", "auto", !visible, true);
|
|
158
|
-
return _ref6 = sstyled(styles), /* @__PURE__ */ React.createElement(SWindow, _ref6.cn("SWindow",
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
159
|
+
return _ref6 = sstyled(styles), /* @__PURE__ */ React.createElement(SWindow, _ref6.cn("SWindow", {
|
|
160
|
+
...assignProps({
|
|
161
|
+
"initialAnimation": true,
|
|
162
|
+
"slideOrigin": "top",
|
|
163
|
+
"visible": visible,
|
|
164
|
+
"role": "dialog",
|
|
165
|
+
"aria-modal": true,
|
|
166
|
+
"duration": duration,
|
|
167
|
+
"ref": windowRef,
|
|
168
|
+
"tabIndex": -1
|
|
169
|
+
}, _ref2)
|
|
170
|
+
}), /* @__PURE__ */ React.createElement(ZIndexStackingContextProvider, _ref6.cn("ZIndexStackingContextProvider", {
|
|
168
171
|
"designToken": "z-index-modal"
|
|
169
172
|
}), /* @__PURE__ */ React.createElement(PortalProvider, _ref6.cn("PortalProvider", {
|
|
170
173
|
"value": windowRef
|
|
@@ -172,16 +175,23 @@ function Window(props) {
|
|
|
172
175
|
}
|
|
173
176
|
function Overlay(props) {
|
|
174
177
|
var _ref3 = arguments[0], _ref7;
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
178
|
+
const SOverlay = FadeInOut;
|
|
179
|
+
const SOverlayContentWrapper = Flex;
|
|
180
|
+
const {
|
|
181
|
+
Children,
|
|
182
|
+
styles,
|
|
183
|
+
onOutsideClick,
|
|
184
|
+
visible
|
|
185
|
+
} = props;
|
|
186
|
+
const overlayContentWrapperRef = React.useRef(null);
|
|
179
187
|
usePreventScroll(visible, props.disablePreventScroll);
|
|
180
188
|
useContextTheme(overlayContentWrapperRef, visible);
|
|
181
|
-
|
|
182
|
-
return _ref7 = sstyled(styles), /* @__PURE__ */ React.createElement(SOverlay, _ref7.cn("SOverlay",
|
|
183
|
-
|
|
184
|
-
|
|
189
|
+
const zIndex = useZIndexStacking("z-index-modal");
|
|
190
|
+
return _ref7 = sstyled(styles), /* @__PURE__ */ React.createElement(SOverlay, _ref7.cn("SOverlay", {
|
|
191
|
+
...assignProps({
|
|
192
|
+
"zIndex": zIndex
|
|
193
|
+
}, _ref3)
|
|
194
|
+
}), /* @__PURE__ */ React.createElement(SOverlayContentWrapper, _ref7.cn("SOverlayContentWrapper", {
|
|
185
195
|
"data-ui-name": "Modal.Overlay.ContentWrapper",
|
|
186
196
|
"ref": overlayContentWrapperRef
|
|
187
197
|
}), /* @__PURE__ */ React.createElement(OutsideClick, _ref7.cn("OutsideClick", {
|
|
@@ -191,14 +201,21 @@ function Overlay(props) {
|
|
|
191
201
|
}
|
|
192
202
|
function Close(props) {
|
|
193
203
|
var _ref4 = arguments[0], _ref8;
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
204
|
+
const SClose = Button;
|
|
205
|
+
const {
|
|
206
|
+
Children,
|
|
207
|
+
children: hasChildren,
|
|
208
|
+
getI18nText,
|
|
209
|
+
ghost
|
|
210
|
+
} = props;
|
|
211
|
+
return _ref8 = sstyled(props.styles), /* @__PURE__ */ React.createElement(SClose, _ref8.cn("SClose", {
|
|
212
|
+
...assignProps({
|
|
213
|
+
"use": "tertiary",
|
|
214
|
+
"size": "l",
|
|
215
|
+
"theme": ghost ? "invert" : "muted",
|
|
216
|
+
"aria-label": getI18nText("close")
|
|
217
|
+
}, _ref4)
|
|
218
|
+
}), hasChildren ? /* @__PURE__ */ React.createElement(Children, _ref8.cn("Children", {})) : /* @__PURE__ */ React.createElement(Button.Addon, {
|
|
202
219
|
ml: "7px",
|
|
203
220
|
mr: "7px"
|
|
204
221
|
}, /* @__PURE__ */ React.createElement(CloseIcon, _ref8.cn("CloseIcon", {
|
|
@@ -207,18 +224,22 @@ function Close(props) {
|
|
|
207
224
|
}
|
|
208
225
|
function Title(props) {
|
|
209
226
|
var _ref5 = arguments[0], _ref9;
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
227
|
+
const {
|
|
228
|
+
setHasTitle,
|
|
229
|
+
styles,
|
|
230
|
+
color
|
|
231
|
+
} = props;
|
|
232
|
+
const STitle = Text;
|
|
233
|
+
const resolveColor = useColorResolver();
|
|
234
|
+
React.useEffect(() => setHasTitle());
|
|
235
|
+
return _ref9 = sstyled(styles), /* @__PURE__ */ React.createElement(STitle, _ref9.cn("STitle", {
|
|
236
|
+
...assignProps({
|
|
237
|
+
"tag": "h2",
|
|
238
|
+
"use:color": resolveColor(color)
|
|
239
|
+
}, _ref5)
|
|
240
|
+
}));
|
|
220
241
|
}
|
|
221
|
-
|
|
242
|
+
const Modal = createComponent(ModalRoot, {
|
|
222
243
|
Window,
|
|
223
244
|
Overlay,
|
|
224
245
|
Close,
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import type { FadeInOutProps, SlideProps } from '@semcore/
|
|
1
|
+
import type { FadeInOutProps, SlideProps, Box, BoxProps, PortalProps } from '@semcore/base-components';
|
|
2
2
|
import type Button from '@semcore/button';
|
|
3
|
-
import type { PropGetterFn,
|
|
4
|
-
import type { Box, BoxProps } from '@semcore/flex-box';
|
|
5
|
-
import type { PortalProps } from '@semcore/portal';
|
|
3
|
+
import type { PropGetterFn, Intergalactic } from '@semcore/core';
|
|
6
4
|
import type { TextProps } from '@semcore/typography';
|
|
7
5
|
import type React from 'react';
|
|
8
6
|
|
|
9
|
-
/** @deprecated */
|
|
10
|
-
export interface IModalProps extends ModalProps, UnknownProperties {}
|
|
11
7
|
export type ModalProps = PortalProps &
|
|
12
8
|
BoxProps &
|
|
13
9
|
FadeInOutProps & {
|
|
@@ -39,12 +35,8 @@ export type ModalProps = PortalProps &
|
|
|
39
35
|
ghost?: boolean;
|
|
40
36
|
};
|
|
41
37
|
|
|
42
|
-
/** @deprecated */
|
|
43
|
-
export interface IWindowProps extends WindowProps, UnknownProperties {}
|
|
44
38
|
export type WindowProps = BoxProps & SlideProps & {};
|
|
45
39
|
|
|
46
|
-
/** @deprecated */
|
|
47
|
-
export interface IModalContext extends ModalContext, UnknownProperties {}
|
|
48
40
|
export type ModalContext = {
|
|
49
41
|
getOverlayProps: PropGetterFn;
|
|
50
42
|
getWindowProps: PropGetterFn;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/modal",
|
|
3
3
|
"description": "Semrush Modal Component",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "17.0.0-prerelease.17",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,16 +14,12 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/button": "16.0.
|
|
18
|
-
"@semcore/
|
|
19
|
-
"@semcore/typography": "16.3.2",
|
|
20
|
-
"@semcore/animation": "16.0.7",
|
|
21
|
-
"@semcore/flex-box": "16.0.11",
|
|
22
|
-
"@semcore/outside-click": "16.0.11",
|
|
23
|
-
"@semcore/portal": "16.0.11"
|
|
17
|
+
"@semcore/button": "^16.0.13-prerelease.17",
|
|
18
|
+
"@semcore/typography": "^16.3.3-prerelease.17"
|
|
24
19
|
},
|
|
25
20
|
"peerDependencies": {
|
|
26
|
-
"@semcore/base-components": "^
|
|
21
|
+
"@semcore/base-components": "^17.0.0-prerelease.17",
|
|
22
|
+
"@semcore/icon": "^16.7.2-prerelease.17"
|
|
27
23
|
},
|
|
28
24
|
"repository": {
|
|
29
25
|
"type": "git",
|
|
@@ -31,8 +27,10 @@
|
|
|
31
27
|
"directory": "semcore/modal"
|
|
32
28
|
},
|
|
33
29
|
"devDependencies": {
|
|
30
|
+
"@semcore/core": "17.0.0-prerelease.17",
|
|
34
31
|
"@semcore/testing-utils": "1.0.0",
|
|
35
|
-
"@semcore/
|
|
32
|
+
"@semcore/base-components": "17.0.0-prerelease.17",
|
|
33
|
+
"@semcore/icon": "16.7.2-prerelease.17"
|
|
36
34
|
},
|
|
37
35
|
"scripts": {
|
|
38
36
|
"build": "pnpm semcore-builder --source=js && pnpm vite build"
|