@uipath/apollo-react 3.38.0 → 3.39.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.
|
@@ -38,7 +38,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
38
38
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
39
39
|
const react_namespaceObject = require("@emotion/react");
|
|
40
40
|
const react_cjs_namespaceObject = require("../../xyflow/react.cjs");
|
|
41
|
-
const
|
|
41
|
+
const external_index_cjs_namespaceObject = require("../../index.cjs");
|
|
42
42
|
const external_motion_react_namespaceObject = require("motion/react");
|
|
43
43
|
const external_react_namespaceObject = require("react");
|
|
44
44
|
const external_react_markdown_namespaceObject = require("react-markdown");
|
|
@@ -46,7 +46,7 @@ var external_react_markdown_default = /*#__PURE__*/ __webpack_require__.n(extern
|
|
|
46
46
|
const external_remark_gfm_namespaceObject = require("remark-gfm");
|
|
47
47
|
var external_remark_gfm_default = /*#__PURE__*/ __webpack_require__.n(external_remark_gfm_namespaceObject);
|
|
48
48
|
const external_constants_cjs_namespaceObject = require("../../constants.cjs");
|
|
49
|
-
const
|
|
49
|
+
const index_cjs_namespaceObject = require("../Toolbar/index.cjs");
|
|
50
50
|
const external_StickyNoteNode_styles_cjs_namespaceObject = require("./StickyNoteNode.styles.cjs");
|
|
51
51
|
const external_StickyNoteNode_types_cjs_namespaceObject = require("./StickyNoteNode.types.cjs");
|
|
52
52
|
const minWidth = 8 * external_constants_cjs_namespaceObject.GRID_SPACING;
|
|
@@ -177,18 +177,18 @@ const StickyNoteNodeComponent = ({ id, data, selected, dragging, placeholder = '
|
|
|
177
177
|
const actions = [
|
|
178
178
|
{
|
|
179
179
|
id: 'delete',
|
|
180
|
-
icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
181
|
-
|
|
182
|
-
|
|
180
|
+
icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_index_cjs_namespaceObject.NodeIcon, {
|
|
181
|
+
icon: "trash",
|
|
182
|
+
size: 14
|
|
183
183
|
}),
|
|
184
184
|
label: 'Delete',
|
|
185
185
|
onAction: handleDelete
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
188
|
id: 'edit',
|
|
189
|
-
icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
190
|
-
|
|
191
|
-
|
|
189
|
+
icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_index_cjs_namespaceObject.NodeIcon, {
|
|
190
|
+
icon: "pencil",
|
|
191
|
+
size: 14
|
|
192
192
|
}),
|
|
193
193
|
label: 'Edit',
|
|
194
194
|
onAction: handleEditClick
|
|
@@ -335,7 +335,7 @@ const StickyNoteNodeComponent = ({ id, data, selected, dragging, placeholder = '
|
|
|
335
335
|
})
|
|
336
336
|
]
|
|
337
337
|
}),
|
|
338
|
-
selected && !dragging && !isResizing && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
338
|
+
selected && !dragging && !isResizing && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(index_cjs_namespaceObject.NodeToolbar, {
|
|
339
339
|
nodeId: id,
|
|
340
340
|
config: toolbarConfig,
|
|
341
341
|
expanded: true
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Global } from "@emotion/react";
|
|
3
3
|
import { NodeResizeControl, useReactFlow } from "../../xyflow/react.js";
|
|
4
|
-
import {
|
|
4
|
+
import { NodeIcon } from "../../index.js";
|
|
5
5
|
import { AnimatePresence } from "motion/react";
|
|
6
6
|
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
7
7
|
import react_markdown from "react-markdown";
|
|
@@ -138,18 +138,18 @@ const StickyNoteNodeComponent = ({ id, data, selected, dragging, placeholder = '
|
|
|
138
138
|
const actions = [
|
|
139
139
|
{
|
|
140
140
|
id: 'delete',
|
|
141
|
-
icon: /*#__PURE__*/ jsx(
|
|
142
|
-
|
|
143
|
-
|
|
141
|
+
icon: /*#__PURE__*/ jsx(NodeIcon, {
|
|
142
|
+
icon: "trash",
|
|
143
|
+
size: 14
|
|
144
144
|
}),
|
|
145
145
|
label: 'Delete',
|
|
146
146
|
onAction: handleDelete
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
149
|
id: 'edit',
|
|
150
|
-
icon: /*#__PURE__*/ jsx(
|
|
151
|
-
|
|
152
|
-
|
|
150
|
+
icon: /*#__PURE__*/ jsx(NodeIcon, {
|
|
151
|
+
icon: "pencil",
|
|
152
|
+
size: 14
|
|
153
153
|
}),
|
|
154
154
|
label: 'Edit',
|
|
155
155
|
onAction: handleEditClick
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/apollo-react",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.39.0",
|
|
4
4
|
"description": "Apollo Design System - React component library with Material UI theming",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
"zod": "^4.3.5",
|
|
200
200
|
"zustand": "^5.0.9",
|
|
201
201
|
"@uipath/apollo-core": "5.7.0",
|
|
202
|
-
"@uipath/apollo-wind": "0.
|
|
202
|
+
"@uipath/apollo-wind": "0.10.0"
|
|
203
203
|
},
|
|
204
204
|
"devDependencies": {
|
|
205
205
|
"@lingui/cli": "^5.6.1",
|