@teselagen/ui 0.10.10 → 0.10.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.
- package/index.cjs.js +4 -2
- package/index.es.js +4 -2
- package/package.json +1 -1
- package/src/ResizableDraggableDialog/index.js +7 -1
package/index.cjs.js
CHANGED
|
@@ -71072,12 +71072,14 @@ const _ResizableDraggableDialog = class _ResizableDraggableDialog extends React.
|
|
|
71072
71072
|
}, RndProps),
|
|
71073
71073
|
/* @__PURE__ */ React.createElement(
|
|
71074
71074
|
core.Dialog,
|
|
71075
|
-
__spreadValues({
|
|
71075
|
+
__spreadProps(__spreadValues({
|
|
71076
71076
|
enforceFocus: false,
|
|
71077
71077
|
hasBackdrop: false,
|
|
71078
71078
|
usePortal: false,
|
|
71079
71079
|
canEscapeKeyClose: true
|
|
71080
|
-
}, rest)
|
|
71080
|
+
}, rest), {
|
|
71081
|
+
title: /* @__PURE__ */ React.createElement("div", { style: { display: "flex", alignItems: "center", gap: 8 } }, /* @__PURE__ */ React.createElement(core.Icon, { size: "14", "data-tip": "I'm a resizable draggable dialog!", icon: "move" }), rest.title)
|
|
71082
|
+
})
|
|
71081
71083
|
)
|
|
71082
71084
|
)
|
|
71083
71085
|
);
|
package/index.es.js
CHANGED
|
@@ -71054,12 +71054,14 @@ const _ResizableDraggableDialog = class _ResizableDraggableDialog extends React_
|
|
|
71054
71054
|
}, RndProps),
|
|
71055
71055
|
/* @__PURE__ */ React__default.createElement(
|
|
71056
71056
|
Dialog,
|
|
71057
|
-
__spreadValues({
|
|
71057
|
+
__spreadProps(__spreadValues({
|
|
71058
71058
|
enforceFocus: false,
|
|
71059
71059
|
hasBackdrop: false,
|
|
71060
71060
|
usePortal: false,
|
|
71061
71061
|
canEscapeKeyClose: true
|
|
71062
|
-
}, rest)
|
|
71062
|
+
}, rest), {
|
|
71063
|
+
title: /* @__PURE__ */ React__default.createElement("div", { style: { display: "flex", alignItems: "center", gap: 8 } }, /* @__PURE__ */ React__default.createElement(Icon, { size: "14", "data-tip": "I'm a resizable draggable dialog!", icon: "move" }), rest.title)
|
|
71064
|
+
})
|
|
71063
71065
|
)
|
|
71064
71066
|
)
|
|
71065
71067
|
);
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Dialog, Classes } from "@blueprintjs/core";
|
|
2
|
+
import { Dialog, Classes, Icon } from "@blueprintjs/core";
|
|
3
3
|
import { Rnd } from "react-rnd";
|
|
4
4
|
import { debounce } from "lodash-es";
|
|
5
5
|
import "./style.css";
|
|
@@ -134,6 +134,12 @@ export default class ResizableDraggableDialog extends React.Component {
|
|
|
134
134
|
usePortal={false}
|
|
135
135
|
canEscapeKeyClose={true}
|
|
136
136
|
{...rest}
|
|
137
|
+
title={
|
|
138
|
+
<div style={{ display: "flex", alignItems: "center", gap: 8 }}>
|
|
139
|
+
<Icon size="14" data-tip="I'm a resizable draggable dialog!" icon="move"></Icon>
|
|
140
|
+
{rest.title}
|
|
141
|
+
</div>
|
|
142
|
+
}
|
|
137
143
|
/>
|
|
138
144
|
</Rnd>
|
|
139
145
|
</div>
|