@mcurros2/microm 1.1.17-0 → 1.1.18-0
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/index.d.ts.map +1 -1
- package/dist/index.js +30 -34
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4150,40 +4150,36 @@ const $ea58ddf30d0b80dd$export$4a25ee9b30a3b11c = ({ modalProps: modalProps, ani
|
|
|
4150
4150
|
}), (0, $b4te3$reactjsxruntime.jsxs)((0, $b4te3$mantinecore.Modal).Header, {
|
|
4151
4151
|
children: [
|
|
4152
4152
|
(0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Modal).Title, {
|
|
4153
|
-
children: (0, $b4te3$reactjsxruntime.
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
children:
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
size: "1rem"
|
|
4184
|
-
})
|
|
4185
|
-
})
|
|
4186
|
-
]
|
|
4153
|
+
children: (0, $b4te3$reactjsxruntime.jsx)("h2", {
|
|
4154
|
+
style: {
|
|
4155
|
+
margin: 0
|
|
4156
|
+
},
|
|
4157
|
+
children: modal.props.title
|
|
4158
|
+
})
|
|
4159
|
+
}),
|
|
4160
|
+
(0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.ActionIcon), {
|
|
4161
|
+
onClick: (e)=>{
|
|
4162
|
+
e.stopPropagation();
|
|
4163
|
+
setModals((prev)=>prev.map((m, i)=>{
|
|
4164
|
+
var _a;
|
|
4165
|
+
if (i !== index) return m;
|
|
4166
|
+
const original = (_a = m.initialSize) !== null && _a !== void 0 ? _a : "lg";
|
|
4167
|
+
const currentSize = m.props.size;
|
|
4168
|
+
const newSize = currentSize === "fullscreen" ? original === "fullscreen" ? "lg" : original : "fullscreen";
|
|
4169
|
+
return Object.assign(Object.assign({}, m), {
|
|
4170
|
+
props: Object.assign(Object.assign({}, m.props), {
|
|
4171
|
+
size: newSize
|
|
4172
|
+
})
|
|
4173
|
+
});
|
|
4174
|
+
}));
|
|
4175
|
+
},
|
|
4176
|
+
variant: "subtle",
|
|
4177
|
+
size: "sm",
|
|
4178
|
+
title: `${$ea58ddf30d0b80dd$export$20f67a9940806830.toggleLabel} ${$ea58ddf30d0b80dd$export$20f67a9940806830.fullscreenLabel}`,
|
|
4179
|
+
children: modal.props.size === "fullscreen" ? (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconWindowMinimize), {
|
|
4180
|
+
size: "1rem"
|
|
4181
|
+
}) : (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconWindowMaximize), {
|
|
4182
|
+
size: "1rem"
|
|
4187
4183
|
})
|
|
4188
4184
|
}),
|
|
4189
4185
|
(0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Modal).CloseButton, {
|