@uipath/apollo-wind 2.86.0 → 2.87.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.
@@ -39,24 +39,16 @@ const DEFAULT_MODES = [
39
39
  'literal',
40
40
  'expression'
41
41
  ];
42
- function ValueModeMenuItem({ icon: Icon, label, description, active, disabled, onClick }) {
43
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(external_dropdown_menu_cjs_namespaceObject.DropdownMenuItem, {
44
- role: "menuitemradio",
45
- "aria-checked": active,
46
- className: "flex-col items-start gap-0.5 py-2",
47
- "data-active": active || void 0,
48
- disabled: disabled,
49
- onClick: onClick,
42
+ const DESCRIBED_ITEM_CLASS = 'flex-col items-start gap-0.5 py-2';
43
+ function DescribedItemContent({ icon, label, labelClassName, description }) {
44
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
50
45
  children: [
51
46
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
52
47
  className: "flex items-center gap-2",
53
48
  children: [
54
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Icon, {
55
- size: 13,
56
- className: active ? 'text-brand' : 'text-foreground-muted'
57
- }),
49
+ icon,
58
50
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
59
- className: (0, index_cjs_namespaceObject.cn)('text-xs font-medium', active ? 'text-brand' : 'text-foreground'),
51
+ className: (0, index_cjs_namespaceObject.cn)('text-xs font-medium', labelClassName),
60
52
  children: label
61
53
  })
62
54
  ]
@@ -68,6 +60,25 @@ function ValueModeMenuItem({ icon: Icon, label, description, active, disabled, o
68
60
  ]
69
61
  });
70
62
  }
63
+ function ValueModeMenuItem({ icon: Icon, label, description, active, disabled, onClick }) {
64
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_dropdown_menu_cjs_namespaceObject.DropdownMenuItem, {
65
+ role: "menuitemradio",
66
+ "aria-checked": active,
67
+ className: DESCRIBED_ITEM_CLASS,
68
+ "data-active": active || void 0,
69
+ disabled: disabled,
70
+ onClick: onClick,
71
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(DescribedItemContent, {
72
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Icon, {
73
+ size: 13,
74
+ className: active ? 'text-brand' : 'text-foreground-muted'
75
+ }),
76
+ label: label,
77
+ labelClassName: active ? 'text-brand' : 'text-foreground',
78
+ description: description
79
+ })
80
+ });
81
+ }
71
82
  function FieldMenu({ mode, onSelect, modes, extraModes, actions, checked, modesDisabled, disabled, expectedType, literalDescription, triggerLabel: triggerLabelOverride, strings, onCloseAutoFocus }) {
72
83
  const text = {
73
84
  ...external_value_mode_strings_cjs_namespaceObject.DEFAULT_VALUE_MODE_STRINGS,
@@ -115,18 +126,25 @@ function FieldMenu({ mode, onSelect, modes, extraModes, actions, checked, modesD
115
126
  !modesDisabled && !!actions?.length && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_dropdown_menu_cjs_namespaceObject.DropdownMenuSeparator, {}),
116
127
  actions?.map((action)=>{
117
128
  const ActionIcon = action.icon;
118
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(external_dropdown_menu_cjs_namespaceObject.DropdownMenuItem, {
129
+ const icon = ActionIcon ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(ActionIcon, {}) : action.iconDataUri && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("img", {
130
+ src: action.iconDataUri,
131
+ alt: "",
132
+ className: "size-4 shrink-0"
133
+ });
134
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_dropdown_menu_cjs_namespaceObject.DropdownMenuItem, {
119
135
  disabled: action.disabled,
120
136
  onClick: action.onSelect,
121
- className: (0, index_cjs_namespaceObject.cn)(action.destructive && 'text-error focus:text-error'),
122
- children: [
123
- ActionIcon ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(ActionIcon, {}) : action.iconDataUri && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("img", {
124
- src: action.iconDataUri,
125
- alt: "",
126
- className: "size-4 shrink-0"
127
- }),
128
- action.label
129
- ]
137
+ className: (0, index_cjs_namespaceObject.cn)(action.description && DESCRIBED_ITEM_CLASS, action.destructive && 'text-error focus:text-error'),
138
+ children: action.description ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(DescribedItemContent, {
139
+ icon: icon,
140
+ label: action.label,
141
+ description: action.description
142
+ }) : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
143
+ children: [
144
+ icon,
145
+ action.label
146
+ ]
147
+ })
130
148
  }, action.id);
131
149
  })
132
150
  ]
@@ -8,6 +8,8 @@ export interface FieldMenuItem {
8
8
  icon?: LucideIcon;
9
9
  /** Icon as a data URI, used when `icon` is absent. */
10
10
  iconDataUri?: string;
11
+ /** A line under the label. With it the row takes a mode row's two-line layout. */
12
+ description?: string;
11
13
  disabled?: boolean;
12
14
  /** Styles the row as one that removes or discards something. */
13
15
  destructive?: boolean;
@@ -1,4 +1,4 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
1
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
2
2
  import { MoreHorizontal, Type } from "lucide-react";
3
3
  import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger } from "../dropdown-menu.js";
4
4
  import { InputGroupButton } from "../input-group.js";
@@ -10,24 +10,16 @@ const DEFAULT_MODES = [
10
10
  'literal',
11
11
  'expression'
12
12
  ];
13
- function ValueModeMenuItem({ icon: Icon, label, description, active, disabled, onClick }) {
14
- return /*#__PURE__*/ jsxs(DropdownMenuItem, {
15
- role: "menuitemradio",
16
- "aria-checked": active,
17
- className: "flex-col items-start gap-0.5 py-2",
18
- "data-active": active || void 0,
19
- disabled: disabled,
20
- onClick: onClick,
13
+ const DESCRIBED_ITEM_CLASS = 'flex-col items-start gap-0.5 py-2';
14
+ function DescribedItemContent({ icon, label, labelClassName, description }) {
15
+ return /*#__PURE__*/ jsxs(Fragment, {
21
16
  children: [
22
17
  /*#__PURE__*/ jsxs("div", {
23
18
  className: "flex items-center gap-2",
24
19
  children: [
25
- /*#__PURE__*/ jsx(Icon, {
26
- size: 13,
27
- className: active ? 'text-brand' : 'text-foreground-muted'
28
- }),
20
+ icon,
29
21
  /*#__PURE__*/ jsx("span", {
30
- className: cn('text-xs font-medium', active ? 'text-brand' : 'text-foreground'),
22
+ className: cn('text-xs font-medium', labelClassName),
31
23
  children: label
32
24
  })
33
25
  ]
@@ -39,6 +31,25 @@ function ValueModeMenuItem({ icon: Icon, label, description, active, disabled, o
39
31
  ]
40
32
  });
41
33
  }
34
+ function ValueModeMenuItem({ icon: Icon, label, description, active, disabled, onClick }) {
35
+ return /*#__PURE__*/ jsx(DropdownMenuItem, {
36
+ role: "menuitemradio",
37
+ "aria-checked": active,
38
+ className: DESCRIBED_ITEM_CLASS,
39
+ "data-active": active || void 0,
40
+ disabled: disabled,
41
+ onClick: onClick,
42
+ children: /*#__PURE__*/ jsx(DescribedItemContent, {
43
+ icon: /*#__PURE__*/ jsx(Icon, {
44
+ size: 13,
45
+ className: active ? 'text-brand' : 'text-foreground-muted'
46
+ }),
47
+ label: label,
48
+ labelClassName: active ? 'text-brand' : 'text-foreground',
49
+ description: description
50
+ })
51
+ });
52
+ }
42
53
  function FieldMenu({ mode, onSelect, modes, extraModes, actions, checked, modesDisabled, disabled, expectedType, literalDescription, triggerLabel: triggerLabelOverride, strings, onCloseAutoFocus }) {
43
54
  const text = {
44
55
  ...DEFAULT_VALUE_MODE_STRINGS,
@@ -86,18 +97,25 @@ function FieldMenu({ mode, onSelect, modes, extraModes, actions, checked, modesD
86
97
  !modesDisabled && !!actions?.length && /*#__PURE__*/ jsx(DropdownMenuSeparator, {}),
87
98
  actions?.map((action)=>{
88
99
  const ActionIcon = action.icon;
89
- return /*#__PURE__*/ jsxs(DropdownMenuItem, {
100
+ const icon = ActionIcon ? /*#__PURE__*/ jsx(ActionIcon, {}) : action.iconDataUri && /*#__PURE__*/ jsx("img", {
101
+ src: action.iconDataUri,
102
+ alt: "",
103
+ className: "size-4 shrink-0"
104
+ });
105
+ return /*#__PURE__*/ jsx(DropdownMenuItem, {
90
106
  disabled: action.disabled,
91
107
  onClick: action.onSelect,
92
- className: cn(action.destructive && 'text-error focus:text-error'),
93
- children: [
94
- ActionIcon ? /*#__PURE__*/ jsx(ActionIcon, {}) : action.iconDataUri && /*#__PURE__*/ jsx("img", {
95
- src: action.iconDataUri,
96
- alt: "",
97
- className: "size-4 shrink-0"
98
- }),
99
- action.label
100
- ]
108
+ className: cn(action.description && DESCRIBED_ITEM_CLASS, action.destructive && 'text-error focus:text-error'),
109
+ children: action.description ? /*#__PURE__*/ jsx(DescribedItemContent, {
110
+ icon: icon,
111
+ label: action.label,
112
+ description: action.description
113
+ }) : /*#__PURE__*/ jsxs(Fragment, {
114
+ children: [
115
+ icon,
116
+ action.label
117
+ ]
118
+ })
101
119
  }, action.id);
102
120
  })
103
121
  ]
@@ -36,10 +36,10 @@ var __webpack_modules__ = {
36
36
  "@/components/ui/button" (module) {
37
37
  module.exports = require("./button.cjs");
38
38
  },
39
- "./calendar" (module) {
39
+ "@/components/ui/calendar" (module) {
40
40
  module.exports = require("./calendar.cjs");
41
41
  },
42
- "./card" (module) {
42
+ "@/components/ui/card" (module) {
43
43
  module.exports = require("./card.cjs");
44
44
  },
45
45
  "./chart" (module) {
@@ -51,13 +51,13 @@ var __webpack_modules__ = {
51
51
  "./chat-hero" (module) {
52
52
  module.exports = require("./chat-hero.cjs");
53
53
  },
54
- "./checkbox" (module) {
54
+ "@/components/ui/checkbox" (module) {
55
55
  module.exports = require("./checkbox.cjs");
56
56
  },
57
57
  "./citation" (module) {
58
58
  module.exports = require("./citation.cjs");
59
59
  },
60
- "./code-block" (module) {
60
+ "@/components/ui/code-block" (module) {
61
61
  module.exports = require("./code-block.cjs");
62
62
  },
63
63
  "./collapsible" (module) {
@@ -69,7 +69,7 @@ var __webpack_modules__ = {
69
69
  "@/components/ui/command" (module) {
70
70
  module.exports = require("./command.cjs");
71
71
  },
72
- "./context-menu" (module) {
72
+ "@/components/ui/context-menu" (module) {
73
73
  module.exports = require("./context-menu.cjs");
74
74
  },
75
75
  "./data-table" (module) {
@@ -81,7 +81,7 @@ var __webpack_modules__ = {
81
81
  "./datetime-picker" (module) {
82
82
  module.exports = require("./datetime-picker.cjs");
83
83
  },
84
- "./dialog" (module) {
84
+ "@/components/ui/dialog" (module) {
85
85
  module.exports = require("./dialog.cjs");
86
86
  },
87
87
  "./disclosure-tree" (module) {
@@ -90,7 +90,7 @@ var __webpack_modules__ = {
90
90
  "./drawer" (module) {
91
91
  module.exports = require("./drawer.cjs");
92
92
  },
93
- "./dropdown-menu" (module) {
93
+ "@/components/ui/dropdown-menu" (module) {
94
94
  module.exports = require("./dropdown-menu.cjs");
95
95
  },
96
96
  "./dropzone-overlay" (module) {
@@ -120,13 +120,13 @@ var __webpack_modules__ = {
120
120
  "./form-field" (module) {
121
121
  module.exports = require("./form-field.cjs");
122
122
  },
123
- "./hover-card" (module) {
123
+ "@/components/ui/hover-card" (module) {
124
124
  module.exports = require("./hover-card.cjs");
125
125
  },
126
126
  "./info-tooltip" (module) {
127
127
  module.exports = require("./info-tooltip.cjs");
128
128
  },
129
- "./input-group" (module) {
129
+ "@/components/ui/input-group" (module) {
130
130
  module.exports = require("./input-group.cjs");
131
131
  },
132
132
  "@/components/ui/input" (module) {
@@ -138,7 +138,7 @@ var __webpack_modules__ = {
138
138
  "./label" (module) {
139
139
  module.exports = require("./label.cjs");
140
140
  },
141
- "@/components/ui/layout" (module) {
141
+ "./layout" (module) {
142
142
  module.exports = require("./layout/index.cjs");
143
143
  },
144
144
  "./live-region" (module) {
@@ -180,7 +180,7 @@ var __webpack_modules__ = {
180
180
  "./panel-tabs" (module) {
181
181
  module.exports = require("./panel-tabs.cjs");
182
182
  },
183
- "./popover" (module) {
183
+ "@/components/ui/popover" (module) {
184
184
  module.exports = require("./popover.cjs");
185
185
  },
186
186
  "@/components/ui/portal-container" (module) {
@@ -270,7 +270,7 @@ var __webpack_modules__ = {
270
270
  "./toggle-group" (module) {
271
271
  module.exports = require("./toggle-group.cjs");
272
272
  },
273
- "./toggle" (module) {
273
+ "@/components/ui/toggle" (module) {
274
274
  module.exports = require("./toggle.cjs");
275
275
  },
276
276
  "./tool-call" (module) {
@@ -458,7 +458,7 @@ var __webpack_exports__ = {};
458
458
  "ReferenceChip"
459
459
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_button_group__rspack_import_11[__rspack_import_key];
460
460
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
461
- var _calendar__rspack_import_12 = __webpack_require__("./calendar");
461
+ var _calendar__rspack_import_12 = __webpack_require__("@/components/ui/calendar");
462
462
  var __rspack_reexport = {};
463
463
  for(const __rspack_import_key in _calendar__rspack_import_12)if ([
464
464
  "getReferenceChipColors",
@@ -468,7 +468,7 @@ var __webpack_exports__ = {};
468
468
  "ReferenceChip"
469
469
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_calendar__rspack_import_12[__rspack_import_key];
470
470
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
471
- var _card__rspack_import_13 = __webpack_require__("./card");
471
+ var _card__rspack_import_13 = __webpack_require__("@/components/ui/card");
472
472
  var __rspack_reexport = {};
473
473
  for(const __rspack_import_key in _card__rspack_import_13)if ([
474
474
  "getReferenceChipColors",
@@ -508,7 +508,7 @@ var __webpack_exports__ = {};
508
508
  "ReferenceChip"
509
509
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_chat_hero__rspack_import_16[__rspack_import_key];
510
510
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
511
- var _checkbox__rspack_import_17 = __webpack_require__("./checkbox");
511
+ var _checkbox__rspack_import_17 = __webpack_require__("@/components/ui/checkbox");
512
512
  var __rspack_reexport = {};
513
513
  for(const __rspack_import_key in _checkbox__rspack_import_17)if ([
514
514
  "getReferenceChipColors",
@@ -528,7 +528,7 @@ var __webpack_exports__ = {};
528
528
  "ReferenceChip"
529
529
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_citation__rspack_import_18[__rspack_import_key];
530
530
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
531
- var _code_block__rspack_import_19 = __webpack_require__("./code-block");
531
+ var _code_block__rspack_import_19 = __webpack_require__("@/components/ui/code-block");
532
532
  var __rspack_reexport = {};
533
533
  for(const __rspack_import_key in _code_block__rspack_import_19)if ([
534
534
  "getReferenceChipColors",
@@ -568,7 +568,7 @@ var __webpack_exports__ = {};
568
568
  "ReferenceChip"
569
569
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_command__rspack_import_22[__rspack_import_key];
570
570
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
571
- var _context_menu__rspack_import_23 = __webpack_require__("./context-menu");
571
+ var _context_menu__rspack_import_23 = __webpack_require__("@/components/ui/context-menu");
572
572
  var __rspack_reexport = {};
573
573
  for(const __rspack_import_key in _context_menu__rspack_import_23)if ([
574
574
  "getReferenceChipColors",
@@ -608,7 +608,7 @@ var __webpack_exports__ = {};
608
608
  "ReferenceChip"
609
609
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_datetime_picker__rspack_import_26[__rspack_import_key];
610
610
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
611
- var _dialog__rspack_import_27 = __webpack_require__("./dialog");
611
+ var _dialog__rspack_import_27 = __webpack_require__("@/components/ui/dialog");
612
612
  var __rspack_reexport = {};
613
613
  for(const __rspack_import_key in _dialog__rspack_import_27)if ([
614
614
  "getReferenceChipColors",
@@ -638,7 +638,7 @@ var __webpack_exports__ = {};
638
638
  "ReferenceChip"
639
639
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_drawer__rspack_import_29[__rspack_import_key];
640
640
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
641
- var _dropdown_menu__rspack_import_30 = __webpack_require__("./dropdown-menu");
641
+ var _dropdown_menu__rspack_import_30 = __webpack_require__("@/components/ui/dropdown-menu");
642
642
  var __rspack_reexport = {};
643
643
  for(const __rspack_import_key in _dropdown_menu__rspack_import_30)if ([
644
644
  "getReferenceChipColors",
@@ -738,7 +738,7 @@ var __webpack_exports__ = {};
738
738
  "ReferenceChip"
739
739
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_form_field__rspack_import_39[__rspack_import_key];
740
740
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
741
- var _hover_card__rspack_import_40 = __webpack_require__("./hover-card");
741
+ var _hover_card__rspack_import_40 = __webpack_require__("@/components/ui/hover-card");
742
742
  var __rspack_reexport = {};
743
743
  for(const __rspack_import_key in _hover_card__rspack_import_40)if ([
744
744
  "getReferenceChipColors",
@@ -768,7 +768,7 @@ var __webpack_exports__ = {};
768
768
  "ReferenceChip"
769
769
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_input__rspack_import_42[__rspack_import_key];
770
770
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
771
- var _input_group__rspack_import_43 = __webpack_require__("./input-group");
771
+ var _input_group__rspack_import_43 = __webpack_require__("@/components/ui/input-group");
772
772
  var __rspack_reexport = {};
773
773
  for(const __rspack_import_key in _input_group__rspack_import_43)if ([
774
774
  "getReferenceChipColors",
@@ -798,7 +798,7 @@ var __webpack_exports__ = {};
798
798
  "ReferenceChip"
799
799
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_label__rspack_import_45[__rspack_import_key];
800
800
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
801
- var _layout__rspack_import_46 = __webpack_require__("@/components/ui/layout");
801
+ var _layout__rspack_import_46 = __webpack_require__("./layout");
802
802
  var __rspack_reexport = {};
803
803
  for(const __rspack_import_key in _layout__rspack_import_46)if ([
804
804
  "getReferenceChipColors",
@@ -938,7 +938,7 @@ var __webpack_exports__ = {};
938
938
  "ReferenceChip"
939
939
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_panel_tabs__rspack_import_59[__rspack_import_key];
940
940
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
941
- var _popover__rspack_import_60 = __webpack_require__("./popover");
941
+ var _popover__rspack_import_60 = __webpack_require__("@/components/ui/popover");
942
942
  var __rspack_reexport = {};
943
943
  for(const __rspack_import_key in _popover__rspack_import_60)if ([
944
944
  "getReferenceChipColors",
@@ -1210,7 +1210,7 @@ var __webpack_exports__ = {};
1210
1210
  "ReferenceChip"
1211
1211
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_thinking_indicator__rspack_import_88[__rspack_import_key];
1212
1212
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
1213
- var _toggle__rspack_import_89 = __webpack_require__("./toggle");
1213
+ var _toggle__rspack_import_89 = __webpack_require__("@/components/ui/toggle");
1214
1214
  var __rspack_reexport = {};
1215
1215
  for(const __rspack_import_key in _toggle__rspack_import_89)if ([
1216
1216
  "getReferenceChipColors",
@@ -203,6 +203,10 @@ function JsonTreeRow({ row, index }) {
203
203
  onCopyPath: canCopyPath?.(node) === false ? void 0 : copyPath,
204
204
  className: isTemplateItem ? 'font-normal italic text-foreground-subtle' : void 0
205
205
  }),
206
+ node.required && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_label_cjs_namespaceObject.RequiredIndicator, {
207
+ className: "-ml-1.5 shrink-0 text-[10px] text-foreground",
208
+ srLabel: strings.requiredMarker
209
+ }),
206
210
  copied?.path === node.path && 'path' === copied.kind && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.CircleCheck, {
207
211
  size: 11,
208
212
  className: "shrink-0 text-brand",
@@ -211,10 +215,6 @@ function JsonTreeRow({ row, index }) {
211
215
  decoration?.sublabel && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
212
216
  className: (0, index_cjs_namespaceObject.cn)('min-w-0 truncate font-mono text-[10px] text-foreground-subtle leading-4', decoration.sublabelOnHover && 'hidden group-hover:block group-focus-within/row:block'),
213
217
  children: decoration.sublabel
214
- }),
215
- node.required && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_label_cjs_namespaceObject.RequiredIndicator, {
216
- className: "ml-0 shrink-0 text-[10px] text-foreground",
217
- srLabel: strings.requiredMarker
218
218
  })
219
219
  ]
220
220
  }),
@@ -173,6 +173,10 @@ function JsonTreeRow({ row, index }) {
173
173
  onCopyPath: canCopyPath?.(node) === false ? void 0 : copyPath,
174
174
  className: isTemplateItem ? 'font-normal italic text-foreground-subtle' : void 0
175
175
  }),
176
+ node.required && /*#__PURE__*/ jsx(RequiredIndicator, {
177
+ className: "-ml-1.5 shrink-0 text-[10px] text-foreground",
178
+ srLabel: strings.requiredMarker
179
+ }),
176
180
  copied?.path === node.path && 'path' === copied.kind && /*#__PURE__*/ jsx(CircleCheck, {
177
181
  size: 11,
178
182
  className: "shrink-0 text-brand",
@@ -181,10 +185,6 @@ function JsonTreeRow({ row, index }) {
181
185
  decoration?.sublabel && /*#__PURE__*/ jsx("span", {
182
186
  className: cn('min-w-0 truncate font-mono text-[10px] text-foreground-subtle leading-4', decoration.sublabelOnHover && 'hidden group-hover:block group-focus-within/row:block'),
183
187
  children: decoration.sublabel
184
- }),
185
- node.required && /*#__PURE__*/ jsx(RequiredIndicator, {
186
- className: "ml-0 shrink-0 text-[10px] text-foreground",
187
- srLabel: strings.requiredMarker
188
188
  })
189
189
  ]
190
190
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-wind",
3
- "version": "2.86.0",
3
+ "version": "2.87.0",
4
4
  "description": "UiPath wind design system - A Tailwind CSS based React component library",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",