@uipath/apollo-react 3.65.3 → 3.65.4

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.
@@ -516,7 +516,7 @@ const StageNodeComponent = (props)=>{
516
516
  }),
517
517
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
518
518
  gap: apollo_core_namespaceObject.Spacing.SpacingMicro,
519
- align: isReadOnly ? 'start' : 'center',
519
+ align: "start",
520
520
  py: apollo_core_namespaceObject.Padding.PadS,
521
521
  children: [
522
522
  status && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_material_index_cjs_namespaceObject.ApTooltip, {
@@ -488,7 +488,7 @@ const StageNodeComponent = (props)=>{
488
488
  }),
489
489
  /*#__PURE__*/ jsxs(Row, {
490
490
  gap: Spacing.SpacingMicro,
491
- align: isReadOnly ? 'start' : 'center',
491
+ align: "start",
492
492
  py: Padding.PadS,
493
493
  children: [
494
494
  status && /*#__PURE__*/ jsx(ApTooltip, {
@@ -2434,6 +2434,142 @@ const WithRulesTags = {
2434
2434
  onTaskClick: (taskId)=>window.alert(`Task clicked: ${taskId}`),
2435
2435
  onTaskAdd: ()=>window.alert('Add task')
2436
2436
  }
2437
+ },
2438
+ {
2439
+ id: '5',
2440
+ type: 'stage',
2441
+ position: {
2442
+ x: 48,
2443
+ y: 400
2444
+ },
2445
+ width: 304,
2446
+ data: {
2447
+ stageDetails: {
2448
+ label: 'No chips (comparison)',
2449
+ tasks: [
2450
+ [
2451
+ {
2452
+ id: 't8',
2453
+ label: 'Verify applicant identity',
2454
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(VerificationIcon, {})
2455
+ }
2456
+ ],
2457
+ [
2458
+ {
2459
+ id: 't9',
2460
+ label: 'Pull credit report',
2461
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(DocumentIcon, {})
2462
+ }
2463
+ ]
2464
+ ]
2465
+ },
2466
+ onTaskClick: (taskId)=>window.alert(`Task clicked: ${taskId}`),
2467
+ onTaskAdd: ()=>window.alert('Add task')
2468
+ }
2469
+ },
2470
+ {
2471
+ id: '6',
2472
+ type: 'stage',
2473
+ position: {
2474
+ x: 400,
2475
+ y: 400
2476
+ },
2477
+ width: 304,
2478
+ data: {
2479
+ stageDetails: {
2480
+ label: 'ReadOnly + completed + chips',
2481
+ isReadOnly: true,
2482
+ tasks: [
2483
+ [
2484
+ {
2485
+ id: 't10',
2486
+ label: 'Verify applicant identity',
2487
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(VerificationIcon, {})
2488
+ }
2489
+ ],
2490
+ [
2491
+ {
2492
+ id: 't11',
2493
+ label: 'Pull credit report',
2494
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(DocumentIcon, {})
2495
+ }
2496
+ ]
2497
+ ],
2498
+ headerChips: [
2499
+ {
2500
+ type: external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.Entry,
2501
+ count: 1,
2502
+ tooltip: 'Entry rules',
2503
+ onClick: ()=>window.alert('Open entry rules panel')
2504
+ },
2505
+ {
2506
+ type: external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.Exit,
2507
+ count: 3,
2508
+ tooltip: 'Exit rules',
2509
+ onClick: ()=>window.alert('Open exit rules panel')
2510
+ }
2511
+ ]
2512
+ },
2513
+ execution: {
2514
+ stageStatus: {
2515
+ status: 'Completed',
2516
+ label: 'Completed',
2517
+ duration: 'SLA: 4h'
2518
+ }
2519
+ }
2520
+ }
2521
+ },
2522
+ {
2523
+ id: '7',
2524
+ type: 'stage',
2525
+ position: {
2526
+ x: 752,
2527
+ y: 400
2528
+ },
2529
+ width: 304,
2530
+ data: {
2531
+ stageDetails: {
2532
+ label: 'ReadOnly + in progress + chips',
2533
+ isReadOnly: true,
2534
+ tasks: [
2535
+ [
2536
+ {
2537
+ id: 't12',
2538
+ label: 'Verify applicant identity',
2539
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(VerificationIcon, {})
2540
+ }
2541
+ ],
2542
+ [
2543
+ {
2544
+ id: 't13',
2545
+ label: 'Pull credit report',
2546
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(DocumentIcon, {})
2547
+ }
2548
+ ]
2549
+ ],
2550
+ headerChips: [
2551
+ {
2552
+ type: external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.Entry,
2553
+ count: 2,
2554
+ tooltip: 'Entry rules',
2555
+ onClick: ()=>window.alert('Open entry rules panel')
2556
+ },
2557
+ {
2558
+ type: external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.Exit,
2559
+ count: 1,
2560
+ tooltip: 'Exit rules',
2561
+ onClick: ()=>window.alert('Open exit rules panel')
2562
+ }
2563
+ ]
2564
+ },
2565
+ execution: {
2566
+ stageStatus: {
2567
+ status: 'InProgress',
2568
+ label: 'In progress',
2569
+ duration: 'SLA: 2h'
2570
+ }
2571
+ }
2572
+ }
2437
2573
  }
2438
2574
  ]
2439
2575
  },
@@ -1 +1 @@
1
- {"version":3,"file":"StageNode.stories.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/StageNode/StageNode.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAyBvD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CA0FD,CAAC;AAEjC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA4CnC,eAAO,MAAM,OAAO,EAAE,KAoHrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAsE3B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KA8M7B,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,KA+HvC,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WithRulesTags = {
2395
2395
  onTaskClick: (taskId)=>window.alert(`Task clicked: ${taskId}`),
2396
2396
  onTaskAdd: ()=>window.alert('Add task')
2397
2397
  }
2398
+ },
2399
+ {
2400
+ id: '5',
2401
+ type: 'stage',
2402
+ position: {
2403
+ x: 48,
2404
+ y: 400
2405
+ },
2406
+ width: 304,
2407
+ data: {
2408
+ stageDetails: {
2409
+ label: 'No chips (comparison)',
2410
+ tasks: [
2411
+ [
2412
+ {
2413
+ id: 't8',
2414
+ label: 'Verify applicant identity',
2415
+ icon: /*#__PURE__*/ jsx(VerificationIcon, {})
2416
+ }
2417
+ ],
2418
+ [
2419
+ {
2420
+ id: 't9',
2421
+ label: 'Pull credit report',
2422
+ icon: /*#__PURE__*/ jsx(DocumentIcon, {})
2423
+ }
2424
+ ]
2425
+ ]
2426
+ },
2427
+ onTaskClick: (taskId)=>window.alert(`Task clicked: ${taskId}`),
2428
+ onTaskAdd: ()=>window.alert('Add task')
2429
+ }
2430
+ },
2431
+ {
2432
+ id: '6',
2433
+ type: 'stage',
2434
+ position: {
2435
+ x: 400,
2436
+ y: 400
2437
+ },
2438
+ width: 304,
2439
+ data: {
2440
+ stageDetails: {
2441
+ label: 'ReadOnly + completed + chips',
2442
+ isReadOnly: true,
2443
+ tasks: [
2444
+ [
2445
+ {
2446
+ id: 't10',
2447
+ label: 'Verify applicant identity',
2448
+ icon: /*#__PURE__*/ jsx(VerificationIcon, {})
2449
+ }
2450
+ ],
2451
+ [
2452
+ {
2453
+ id: 't11',
2454
+ label: 'Pull credit report',
2455
+ icon: /*#__PURE__*/ jsx(DocumentIcon, {})
2456
+ }
2457
+ ]
2458
+ ],
2459
+ headerChips: [
2460
+ {
2461
+ type: StageHeaderChipType.Entry,
2462
+ count: 1,
2463
+ tooltip: 'Entry rules',
2464
+ onClick: ()=>window.alert('Open entry rules panel')
2465
+ },
2466
+ {
2467
+ type: StageHeaderChipType.Exit,
2468
+ count: 3,
2469
+ tooltip: 'Exit rules',
2470
+ onClick: ()=>window.alert('Open exit rules panel')
2471
+ }
2472
+ ]
2473
+ },
2474
+ execution: {
2475
+ stageStatus: {
2476
+ status: 'Completed',
2477
+ label: 'Completed',
2478
+ duration: 'SLA: 4h'
2479
+ }
2480
+ }
2481
+ }
2482
+ },
2483
+ {
2484
+ id: '7',
2485
+ type: 'stage',
2486
+ position: {
2487
+ x: 752,
2488
+ y: 400
2489
+ },
2490
+ width: 304,
2491
+ data: {
2492
+ stageDetails: {
2493
+ label: 'ReadOnly + in progress + chips',
2494
+ isReadOnly: true,
2495
+ tasks: [
2496
+ [
2497
+ {
2498
+ id: 't12',
2499
+ label: 'Verify applicant identity',
2500
+ icon: /*#__PURE__*/ jsx(VerificationIcon, {})
2501
+ }
2502
+ ],
2503
+ [
2504
+ {
2505
+ id: 't13',
2506
+ label: 'Pull credit report',
2507
+ icon: /*#__PURE__*/ jsx(DocumentIcon, {})
2508
+ }
2509
+ ]
2510
+ ],
2511
+ headerChips: [
2512
+ {
2513
+ type: StageHeaderChipType.Entry,
2514
+ count: 2,
2515
+ tooltip: 'Entry rules',
2516
+ onClick: ()=>window.alert('Open entry rules panel')
2517
+ },
2518
+ {
2519
+ type: StageHeaderChipType.Exit,
2520
+ count: 1,
2521
+ tooltip: 'Exit rules',
2522
+ onClick: ()=>window.alert('Open exit rules panel')
2523
+ }
2524
+ ]
2525
+ },
2526
+ execution: {
2527
+ stageStatus: {
2528
+ status: 'InProgress',
2529
+ label: 'In progress',
2530
+ duration: 'SLA: 2h'
2531
+ }
2532
+ }
2533
+ }
2398
2534
  }
2399
2535
  ]
2400
2536
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-react",
3
- "version": "3.65.3",
3
+ "version": "3.65.4",
4
4
  "description": "Apollo Design System - React component library with Material UI theming",
5
5
  "repository": {
6
6
  "type": "git",
@@ -200,8 +200,8 @@
200
200
  "use-sync-external-store": "^1.2.0",
201
201
  "zod": "^4.3.5",
202
202
  "zustand": "^5.0.9",
203
- "@uipath/apollo-core": "5.9.0",
204
- "@uipath/apollo-wind": "2.0.0"
203
+ "@uipath/apollo-wind": "2.0.0",
204
+ "@uipath/apollo-core": "5.9.0"
205
205
  },
206
206
  "devDependencies": {
207
207
  "@lingui/cli": "^5.6.1",