@uipath/apollo-react 3.37.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 index_cjs_namespaceObject = require("../../../material/components/index.cjs");
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 external_Toolbar_index_cjs_namespaceObject = require("../Toolbar/index.cjs");
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)(index_cjs_namespaceObject.ApIcon, {
181
- variant: "outlined",
182
- name: "delete"
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)(index_cjs_namespaceObject.ApIcon, {
190
- variant: "outlined",
191
- name: "edit"
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)(external_Toolbar_index_cjs_namespaceObject.NodeToolbar, {
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 { ApIcon } from "../../../material/components/index.js";
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(ApIcon, {
142
- variant: "outlined",
143
- name: "delete"
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(ApIcon, {
151
- variant: "outlined",
152
- name: "edit"
150
+ icon: /*#__PURE__*/ jsx(NodeIcon, {
151
+ icon: "pencil",
152
+ size: 14
153
153
  }),
154
154
  label: 'Edit',
155
155
  onAction: handleEditClick
@@ -52,7 +52,8 @@ const nodeSchema = external_zod_namespaceObject.z.object({
52
52
  handleCustomization: external_zod_namespaceObject.z.object({
53
53
  groups: external_zod_namespaceObject.z.array(handle_cjs_namespaceObject.handleGroupOverrideSchema)
54
54
  }).optional(),
55
- model: external_zod_namespaceObject.z.unknown().optional()
55
+ model: external_zod_namespaceObject.z.unknown().optional(),
56
+ parentId: external_base_cjs_namespaceObject.idSchema.optional()
56
57
  });
57
58
  exports.nodeSchema = __webpack_exports__.nodeSchema;
58
59
  exports.uiSchema = __webpack_exports__.uiSchema;
@@ -105,6 +105,7 @@ export declare const nodeSchema: z.ZodObject<{
105
105
  }, z.core.$strip>>;
106
106
  }, z.core.$strip>>;
107
107
  model: z.ZodOptional<z.ZodUnknown>;
108
+ parentId: z.ZodOptional<z.ZodString>;
108
109
  }, z.core.$strip>;
109
110
  export type InstanceUiConfig = z.infer<typeof uiSchema>;
110
111
  export type NodeInstance = z.infer<typeof nodeSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../../src/canvas/schema/node-instance/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,QAAQ;;;;;;;;;;kCAeG,CAAC;AAKzB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8BrB,CAAC;AAGH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAExD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../../src/canvas/schema/node-instance/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,QAAQ;;;;;;;;;;kCAeG,CAAC;AAKzB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiCrB,CAAC;AAGH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAExD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
@@ -23,6 +23,7 @@ const nodeSchema = z.object({
23
23
  handleCustomization: z.object({
24
24
  groups: z.array(handleGroupOverrideSchema)
25
25
  }).optional(),
26
- model: z.unknown().optional()
26
+ model: z.unknown().optional(),
27
+ parentId: idSchema.optional()
27
28
  });
28
29
  export { nodeSchema, uiSchema };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-react",
3
- "version": "3.37.0",
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.9.1"
202
+ "@uipath/apollo-wind": "0.10.0"
203
203
  },
204
204
  "devDependencies": {
205
205
  "@lingui/cli": "^5.6.1",