@uipath/apollo-wind 2.95.2 → 2.95.3

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.
@@ -47,6 +47,7 @@ const button_cjs_namespaceObject = require("../ui/button.cjs");
47
47
  const panel_tabs_cjs_namespaceObject = require("../ui/panel-tabs.cjs");
48
48
  const tooltip_cjs_namespaceObject = require("../ui/tooltip.cjs");
49
49
  const index_cjs_namespaceObject = require("../../lib/index.cjs");
50
+ const external_aria_ids_cjs_namespaceObject = require("./aria-ids.cjs");
50
51
  const external_data_fetcher_cjs_namespaceObject = require("./data-fetcher.cjs");
51
52
  const external_field_actions_cjs_namespaceObject = require("./field-actions.cjs");
52
53
  const external_field_renderer_cjs_namespaceObject = require("./field-renderer.cjs");
@@ -57,6 +58,7 @@ const external_validation_converter_cjs_namespaceObject = require("./validation-
57
58
  const external_value_modes_cjs_namespaceObject = require("./value-modes.cjs");
58
59
  const DEFAULT_PLUGINS = [];
59
60
  function MetadataForm({ schema, plugins = DEFAULT_PLUGINS, onSubmit, className, disabled = false, autoComplete, stepVariant = 'wizard', sectionVariant = 'card', activeStepId, onActiveStepChange, container = 'form', changedFields, changedFieldLabel }) {
61
+ const fieldIdScope = `${(0, external_react_namespaceObject.useId)()}-`;
60
62
  const [currentStep, setCurrentStep] = (0, external_react_namespaceObject.useState)(0);
61
63
  const [customComponents, setCustomComponents] = (0, external_react_namespaceObject.useState)({});
62
64
  const [isInitialized, setIsInitialized] = (0, external_react_namespaceObject.useState)(false);
@@ -302,9 +304,12 @@ function MetadataForm({ schema, plugins = DEFAULT_PLUGINS, onSubmit, className,
302
304
  ...form,
303
305
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_literal_value_context_cjs_namespaceObject.LiteralValueContext.Provider, {
304
306
  value: readLiteralValue,
305
- children: hasFieldTooltip ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(tooltip_cjs_namespaceObject.TooltipProvider, {
306
- children: body
307
- }) : body
307
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_aria_ids_cjs_namespaceObject.FieldIdScopeContext.Provider, {
308
+ value: fieldIdScope,
309
+ children: hasFieldTooltip ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(tooltip_cjs_namespaceObject.TooltipProvider, {
310
+ children: body
311
+ }) : body
312
+ })
308
313
  })
309
314
  });
310
315
  }
@@ -1,6 +1,6 @@
1
1
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
2
2
  import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
3
- import react, { useCallback, useEffect, useMemo, useRef, useState } from "react";
3
+ import react, { useCallback, useEffect, useId, useMemo, useRef, useState } from "react";
4
4
  import { FormProvider, useForm, useFormState, useWatch } from "react-hook-form";
5
5
  import { z } from "zod/v4";
6
6
  import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "../ui/accordion.js";
@@ -8,6 +8,7 @@ import { Button } from "../ui/button.js";
8
8
  import { PanelTabs, PanelTabsContent, PanelTabsList, PanelTabsTrigger } from "../ui/panel-tabs.js";
9
9
  import { TooltipProvider } from "../ui/tooltip.js";
10
10
  import { deepEqual, get } from "../../lib/index.js";
11
+ import { FieldIdScopeContext } from "./aria-ids.js";
11
12
  import { DataFetcher } from "./data-fetcher.js";
12
13
  import { buildFieldActionRegistry } from "./field-actions.js";
13
14
  import { FormFieldRenderer } from "./field-renderer.js";
@@ -18,6 +19,7 @@ import { modeAwareSchema, validationConfigToZod } from "./validation-converter.j
18
19
  import { buildValueModeRegistry, codecContext, isEmptyModeValue, literalValueOf, literalValues, resolveCodec } from "./value-modes.js";
19
20
  const DEFAULT_PLUGINS = [];
20
21
  function MetadataForm({ schema, plugins = DEFAULT_PLUGINS, onSubmit, className, disabled = false, autoComplete, stepVariant = 'wizard', sectionVariant = 'card', activeStepId, onActiveStepChange, container = 'form', changedFields, changedFieldLabel }) {
22
+ const fieldIdScope = `${useId()}-`;
21
23
  const [currentStep, setCurrentStep] = useState(0);
22
24
  const [customComponents, setCustomComponents] = useState({});
23
25
  const [isInitialized, setIsInitialized] = useState(false);
@@ -263,9 +265,12 @@ function MetadataForm({ schema, plugins = DEFAULT_PLUGINS, onSubmit, className,
263
265
  ...form,
264
266
  children: /*#__PURE__*/ jsx(LiteralValueContext.Provider, {
265
267
  value: readLiteralValue,
266
- children: hasFieldTooltip ? /*#__PURE__*/ jsx(TooltipProvider, {
267
- children: body
268
- }) : body
268
+ children: /*#__PURE__*/ jsx(FieldIdScopeContext.Provider, {
269
+ value: fieldIdScope,
270
+ children: hasFieldTooltip ? /*#__PURE__*/ jsx(TooltipProvider, {
271
+ children: body
272
+ }) : body
273
+ })
269
274
  })
270
275
  });
271
276
  }
@@ -103,8 +103,7 @@ function FieldAnatomy({ field, context, customComponents, disabled, required, op
103
103
  const strings = context.strings ?? external_form_strings_cjs_namespaceObject.DEFAULT_METADATA_FORM_STRINGS;
104
104
  const config = field.valueModes;
105
105
  const { name } = field;
106
- const errorId = `${name}-error`;
107
- const labelId = `${name}-label`;
106
+ const { controlId, labelId, errorId } = (0, external_aria_ids_cjs_namespaceObject.useFieldIds)(name);
108
107
  const controlDescribedBy = (0, external_aria_ids_cjs_namespaceObject.joinIds)(error && errorId, describedBy);
109
108
  const formVariables = context.variables;
110
109
  const variables = (0, external_react_namespaceObject.useCallback)(()=>(0, external_field_actions_cjs_namespaceObject.resolveVariables)(formVariables, field), [
@@ -199,9 +198,9 @@ function FieldAnatomy({ field, context, customComponents, disabled, required, op
199
198
  const writeInnerRef = (0, external_react_namespaceObject.useRef)(writeInner);
200
199
  writeInnerRef.current = writeInner;
201
200
  const domHandle = (0, external_react_namespaceObject.useMemo)(()=>({
202
- focus: ()=>controlElement(groupRef.current, name)?.focus(),
201
+ focus: ()=>controlElement(groupRef.current, controlId)?.focus(),
203
202
  insertText: (text)=>{
204
- const element = controlElement(groupRef.current, name);
203
+ const element = controlElement(groupRef.current, controlId);
205
204
  if (!(element instanceof HTMLInputElement || element instanceof HTMLTextAreaElement)) {
206
205
  const current = latest.current.inner;
207
206
  writeInnerRef.current(`${'string' == typeof current ? current : ''}${text}`, 'set');
@@ -218,7 +217,7 @@ function FieldAnatomy({ field, context, customComponents, disabled, required, op
218
217
  });
219
218
  }
220
219
  }), [
221
- name
220
+ controlId
222
221
  ]);
223
222
  const ctx = useActionContext({
224
223
  field,
@@ -259,6 +258,7 @@ function FieldAnatomy({ field, context, customComponents, disabled, required, op
259
258
  customComponents,
260
259
  binding,
261
260
  controlRef,
261
+ controlId,
262
262
  labelId,
263
263
  options,
264
264
  disabled,
@@ -280,7 +280,8 @@ function FieldAnatomy({ field, context, customComponents, disabled, required, op
280
280
  requestModeSwitch: handleSelect,
281
281
  controlRef,
282
282
  inputRef: formField.ref,
283
- id: name,
283
+ id: controlId,
284
+ controlId,
284
285
  labelId,
285
286
  invalid: !!error,
286
287
  placeholder: field.placeholder,
@@ -319,7 +320,7 @@ function FieldAnatomy({ field, context, customComponents, disabled, required, op
319
320
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(form_field_cjs_namespaceObject.FormFieldHeader, {
320
321
  label: field.label,
321
322
  labelId: labelId,
322
- htmlFor: 'control' === resolved.geometry.labelTarget ? name : void 0,
323
+ htmlFor: 'control' === resolved.geometry.labelTarget ? controlId : void 0,
323
324
  required: required,
324
325
  tooltip: field.tooltip,
325
326
  tooltipAriaLabel: field.tooltipAriaLabel,
@@ -523,10 +524,10 @@ function resolveControl(input) {
523
524
  source: 'fallback'
524
525
  };
525
526
  }
526
- function FallbackControl({ field, binding, disabled, error, errorId, describedBy }) {
527
+ function FallbackControl({ field, binding, disabled, error, errorId, describedBy, controlId }) {
527
528
  const { value } = binding;
528
529
  return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(input_cjs_namespaceObject.Input, {
529
- id: field.name,
530
+ id: controlId,
530
531
  name: binding.name,
531
532
  ref: binding.ref,
532
533
  value: 'string' == typeof value ? value : null == value ? '' : String(value),
@@ -564,6 +565,7 @@ function builtInLiteral(input) {
564
565
  required: required,
565
566
  error: error,
566
567
  controlRef: input.controlRef,
568
+ controlId: input.controlId,
567
569
  labelId: input.labelId,
568
570
  "aria-describedby": (0, external_aria_ids_cjs_namespaceObject.joinIds)(field.componentProps?.['aria-describedby'], input.describedBy)
569
571
  }),
@@ -10,7 +10,7 @@ import { Input } from "../ui/input.js";
10
10
  import { InputGroup, InputGroupAddon } from "../ui/input-group.js";
11
11
  import { PromptValueControl } from "../ui/prompt-value-control.js";
12
12
  import { VariableValueControl } from "../ui/variable-value-control.js";
13
- import { joinIds } from "./aria-ids.js";
13
+ import { joinIds, useFieldIds } from "./aria-ids.js";
14
14
  import { DEFAULT_FIELD_ACTION_REGISTRY, resolveFieldActions, resolveVariables } from "./field-actions.js";
15
15
  import { FIELD_CONTROL_GEOMETRY, FieldControl } from "./field-control.js";
16
16
  import { DEFAULT_METADATA_FORM_STRINGS } from "./form-strings.js";
@@ -75,8 +75,7 @@ function FieldAnatomy({ field, context, customComponents, disabled, required, op
75
75
  const strings = context.strings ?? DEFAULT_METADATA_FORM_STRINGS;
76
76
  const config = field.valueModes;
77
77
  const { name } = field;
78
- const errorId = `${name}-error`;
79
- const labelId = `${name}-label`;
78
+ const { controlId, labelId, errorId } = useFieldIds(name);
80
79
  const controlDescribedBy = joinIds(error && errorId, describedBy);
81
80
  const formVariables = context.variables;
82
81
  const variables = useCallback(()=>resolveVariables(formVariables, field), [
@@ -171,9 +170,9 @@ function FieldAnatomy({ field, context, customComponents, disabled, required, op
171
170
  const writeInnerRef = useRef(writeInner);
172
171
  writeInnerRef.current = writeInner;
173
172
  const domHandle = useMemo(()=>({
174
- focus: ()=>controlElement(groupRef.current, name)?.focus(),
173
+ focus: ()=>controlElement(groupRef.current, controlId)?.focus(),
175
174
  insertText: (text)=>{
176
- const element = controlElement(groupRef.current, name);
175
+ const element = controlElement(groupRef.current, controlId);
177
176
  if (!(element instanceof HTMLInputElement || element instanceof HTMLTextAreaElement)) {
178
177
  const current = latest.current.inner;
179
178
  writeInnerRef.current(`${'string' == typeof current ? current : ''}${text}`, 'set');
@@ -190,7 +189,7 @@ function FieldAnatomy({ field, context, customComponents, disabled, required, op
190
189
  });
191
190
  }
192
191
  }), [
193
- name
192
+ controlId
194
193
  ]);
195
194
  const ctx = useActionContext({
196
195
  field,
@@ -231,6 +230,7 @@ function FieldAnatomy({ field, context, customComponents, disabled, required, op
231
230
  customComponents,
232
231
  binding,
233
232
  controlRef,
233
+ controlId,
234
234
  labelId,
235
235
  options,
236
236
  disabled,
@@ -252,7 +252,8 @@ function FieldAnatomy({ field, context, customComponents, disabled, required, op
252
252
  requestModeSwitch: handleSelect,
253
253
  controlRef,
254
254
  inputRef: formField.ref,
255
- id: name,
255
+ id: controlId,
256
+ controlId,
256
257
  labelId,
257
258
  invalid: !!error,
258
259
  placeholder: field.placeholder,
@@ -291,7 +292,7 @@ function FieldAnatomy({ field, context, customComponents, disabled, required, op
291
292
  /*#__PURE__*/ jsx(FormFieldHeader, {
292
293
  label: field.label,
293
294
  labelId: labelId,
294
- htmlFor: 'control' === resolved.geometry.labelTarget ? name : void 0,
295
+ htmlFor: 'control' === resolved.geometry.labelTarget ? controlId : void 0,
295
296
  required: required,
296
297
  tooltip: field.tooltip,
297
298
  tooltipAriaLabel: field.tooltipAriaLabel,
@@ -495,10 +496,10 @@ function resolveControl(input) {
495
496
  source: 'fallback'
496
497
  };
497
498
  }
498
- function FallbackControl({ field, binding, disabled, error, errorId, describedBy }) {
499
+ function FallbackControl({ field, binding, disabled, error, errorId, describedBy, controlId }) {
499
500
  const { value } = binding;
500
501
  return /*#__PURE__*/ jsx(Input, {
501
- id: field.name,
502
+ id: controlId,
502
503
  name: binding.name,
503
504
  ref: binding.ref,
504
505
  value: 'string' == typeof value ? value : null == value ? '' : String(value),
@@ -536,6 +537,7 @@ function builtInLiteral(input) {
536
537
  required: required,
537
538
  error: error,
538
539
  controlRef: input.controlRef,
540
+ controlId: input.controlId,
539
541
  labelId: input.labelId,
540
542
  "aria-describedby": joinIds(field.componentProps?.['aria-describedby'], input.describedBy)
541
543
  }),
@@ -34,10 +34,12 @@ const external_react_namespaceObject = require("react");
34
34
  const button_cjs_namespaceObject = require("../ui/button.cjs");
35
35
  const form_field_cjs_namespaceObject = require("../ui/form-field.cjs");
36
36
  const textarea_cjs_namespaceObject = require("../ui/textarea.cjs");
37
+ const external_aria_ids_cjs_namespaceObject = require("./aria-ids.cjs");
37
38
  function formatTemplate(template, values) {
38
39
  return template.replace(/\{\{(\w+)\}\}/g, (match, token)=>token in values ? String(values[token]) : match);
39
40
  }
40
- function StringListField({ field, value, onChange, onBlur, error, disabled = false, required = false, inputRef, ariaDescribedBy = error ? `${field.name}-error` : void 0 }) {
41
+ function StringListField({ field, value, onChange, onBlur, error, disabled = false, required = false, inputRef, ariaDescribedBy }) {
42
+ const { errorId } = (0, external_aria_ids_cjs_namespaceObject.useFieldIds)(field.name);
41
43
  return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(form_field_cjs_namespaceObject.FormField, {
42
44
  "data-slot": "string-list-field",
43
45
  children: [
@@ -55,19 +57,21 @@ function StringListField({ field, value, onChange, onBlur, error, disabled = fal
55
57
  invalid: !!error,
56
58
  disabled: disabled,
57
59
  inputRef: inputRef,
58
- ariaDescribedBy: ariaDescribedBy
60
+ ariaDescribedBy: ariaDescribedBy ?? (error ? errorId : void 0)
59
61
  }),
60
62
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(form_field_cjs_namespaceObject.FormFieldDescription, {
61
63
  children: field.description
62
64
  }),
63
65
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(form_field_cjs_namespaceObject.FormFieldError, {
64
- id: `${field.name}-error`,
66
+ id: errorId,
65
67
  children: error
66
68
  })
67
69
  ]
68
70
  });
69
71
  }
70
- function StringListControl({ field, value, onChange, onBlur, invalid = false, disabled = false, inputRef, ariaDescribedBy = invalid ? `${field.name}-error` : void 0 }) {
72
+ function StringListControl({ field, value, onChange, onBlur, invalid = false, disabled = false, inputRef, ariaDescribedBy }) {
73
+ const { errorId } = (0, external_aria_ids_cjs_namespaceObject.useFieldIds)(field.name);
74
+ const describedBy = ariaDescribedBy ?? (invalid ? errorId : void 0);
71
75
  const items = value ?? [];
72
76
  const maxItems = field.maxItems ?? 1 / 0;
73
77
  const canAdd = !disabled && items.length < maxItems;
@@ -127,8 +131,8 @@ function StringListControl({ field, value, onChange, onBlur, invalid = false, di
127
131
  disabled: disabled,
128
132
  "aria-label": `${field.label} ${index + 1}`,
129
133
  "aria-invalid": invalid || void 0,
130
- "aria-describedby": ariaDescribedBy,
131
- "aria-errormessage": invalid ? `${field.name}-error` : void 0,
134
+ "aria-describedby": describedBy,
135
+ "aria-errormessage": invalid ? errorId : void 0,
132
136
  className: "flex-1"
133
137
  }),
134
138
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
@@ -30,7 +30,7 @@ export interface StringListFieldProps {
30
30
  */
31
31
  export declare function StringListField({ field, value, onChange, onBlur, error, disabled, required, inputRef, ariaDescribedBy, }: StringListFieldProps): import("react/jsx-runtime").JSX.Element;
32
32
  export interface StringListControlProps extends Omit<StringListFieldProps, 'error' | 'required'> {
33
- /** Marks every row invalid and points it at the `${field.name}-error` message. */
33
+ /** Marks every row invalid and points it at the field's error message. */
34
34
  invalid?: boolean;
35
35
  }
36
36
  /** The rows and Add button of a string list, without its label, description or error. */
@@ -4,10 +4,12 @@ import { useCallback, useState } from "react";
4
4
  import { Button } from "../ui/button.js";
5
5
  import { FormField, FormFieldDescription, FormFieldError, FormFieldLabel } from "../ui/form-field.js";
6
6
  import { Textarea } from "../ui/textarea.js";
7
+ import { useFieldIds } from "./aria-ids.js";
7
8
  function formatTemplate(template, values) {
8
9
  return template.replace(/\{\{(\w+)\}\}/g, (match, token)=>token in values ? String(values[token]) : match);
9
10
  }
10
- function StringListField({ field, value, onChange, onBlur, error, disabled = false, required = false, inputRef, ariaDescribedBy = error ? `${field.name}-error` : void 0 }) {
11
+ function StringListField({ field, value, onChange, onBlur, error, disabled = false, required = false, inputRef, ariaDescribedBy }) {
12
+ const { errorId } = useFieldIds(field.name);
11
13
  return /*#__PURE__*/ jsxs(FormField, {
12
14
  "data-slot": "string-list-field",
13
15
  children: [
@@ -25,19 +27,21 @@ function StringListField({ field, value, onChange, onBlur, error, disabled = fal
25
27
  invalid: !!error,
26
28
  disabled: disabled,
27
29
  inputRef: inputRef,
28
- ariaDescribedBy: ariaDescribedBy
30
+ ariaDescribedBy: ariaDescribedBy ?? (error ? errorId : void 0)
29
31
  }),
30
32
  /*#__PURE__*/ jsx(FormFieldDescription, {
31
33
  children: field.description
32
34
  }),
33
35
  /*#__PURE__*/ jsx(FormFieldError, {
34
- id: `${field.name}-error`,
36
+ id: errorId,
35
37
  children: error
36
38
  })
37
39
  ]
38
40
  });
39
41
  }
40
- function StringListControl({ field, value, onChange, onBlur, invalid = false, disabled = false, inputRef, ariaDescribedBy = invalid ? `${field.name}-error` : void 0 }) {
42
+ function StringListControl({ field, value, onChange, onBlur, invalid = false, disabled = false, inputRef, ariaDescribedBy }) {
43
+ const { errorId } = useFieldIds(field.name);
44
+ const describedBy = ariaDescribedBy ?? (invalid ? errorId : void 0);
41
45
  const items = value ?? [];
42
46
  const maxItems = field.maxItems ?? 1 / 0;
43
47
  const canAdd = !disabled && items.length < maxItems;
@@ -97,8 +101,8 @@ function StringListControl({ field, value, onChange, onBlur, invalid = false, di
97
101
  disabled: disabled,
98
102
  "aria-label": `${field.label} ${index + 1}`,
99
103
  "aria-invalid": invalid || void 0,
100
- "aria-describedby": ariaDescribedBy,
101
- "aria-errormessage": invalid ? `${field.name}-error` : void 0,
104
+ "aria-describedby": describedBy,
105
+ "aria-errormessage": invalid ? errorId : void 0,
102
106
  className: "flex-1"
103
107
  }),
104
108
  /*#__PURE__*/ jsx(Button, {
@@ -18,7 +18,7 @@ var __webpack_modules__ = {
18
18
  "./avatar" (module) {
19
19
  module.exports = require("./avatar.cjs");
20
20
  },
21
- "@/components/ui/badge" (module) {
21
+ "./badge" (module) {
22
22
  module.exports = require("./badge.cjs");
23
23
  },
24
24
  "./boolean-radio-group" (module) {
@@ -33,13 +33,13 @@ var __webpack_modules__ = {
33
33
  "./button-group" (module) {
34
34
  module.exports = require("./button-group.cjs");
35
35
  },
36
- "@/components/ui/button" (module) {
36
+ "./button" (module) {
37
37
  module.exports = require("./button.cjs");
38
38
  },
39
39
  "./byo-model-dialog" (module) {
40
40
  module.exports = require("./byo-model-dialog/index.cjs");
41
41
  },
42
- "@/components/ui/calendar" (module) {
42
+ "./calendar" (module) {
43
43
  module.exports = require("./calendar.cjs");
44
44
  },
45
45
  "@/components/ui/card" (module) {
@@ -54,16 +54,16 @@ var __webpack_modules__ = {
54
54
  "./chat-hero" (module) {
55
55
  module.exports = require("./chat-hero.cjs");
56
56
  },
57
- "@/components/ui/checkbox" (module) {
57
+ "./checkbox" (module) {
58
58
  module.exports = require("./checkbox.cjs");
59
59
  },
60
60
  "./citation" (module) {
61
61
  module.exports = require("./citation.cjs");
62
62
  },
63
- "./code-block" (module) {
63
+ "@/components/ui/code-block" (module) {
64
64
  module.exports = require("./code-block.cjs");
65
65
  },
66
- "@/components/ui/collapsible" (module) {
66
+ "./collapsible" (module) {
67
67
  module.exports = require("./collapsible.cjs");
68
68
  },
69
69
  "./combobox" (module) {
@@ -78,7 +78,7 @@ var __webpack_modules__ = {
78
78
  "./connection-picker" (module) {
79
79
  module.exports = require("./connection-picker/index.cjs");
80
80
  },
81
- "@/components/ui/context-menu" (module) {
81
+ "./context-menu" (module) {
82
82
  module.exports = require("./context-menu.cjs");
83
83
  },
84
84
  "./data-table" (module) {
@@ -129,25 +129,25 @@ var __webpack_modules__ = {
129
129
  "./form-field" (module) {
130
130
  module.exports = require("./form-field.cjs");
131
131
  },
132
- "@/components/ui/hover-card" (module) {
132
+ "./hover-card" (module) {
133
133
  module.exports = require("./hover-card.cjs");
134
134
  },
135
- "@/components/ui/info-tooltip" (module) {
135
+ "./info-tooltip" (module) {
136
136
  module.exports = require("./info-tooltip.cjs");
137
137
  },
138
138
  "@/components/ui/input-group" (module) {
139
139
  module.exports = require("./input-group.cjs");
140
140
  },
141
- "@/components/ui/input" (module) {
141
+ "./input" (module) {
142
142
  module.exports = require("./input.cjs");
143
143
  },
144
144
  "./json-tree-view" (module) {
145
145
  module.exports = require("./json-tree-view/index.cjs");
146
146
  },
147
- "@/components/ui/label" (module) {
147
+ "./label" (module) {
148
148
  module.exports = require("./label.cjs");
149
149
  },
150
- "@/components/ui/layout" (module) {
150
+ "./layout" (module) {
151
151
  module.exports = require("./layout/index.cjs");
152
152
  },
153
153
  "./live-region" (module) {
@@ -192,7 +192,7 @@ var __webpack_modules__ = {
192
192
  "./password-input" (module) {
193
193
  module.exports = require("./password-input.cjs");
194
194
  },
195
- "@/components/ui/popover" (module) {
195
+ "./popover" (module) {
196
196
  module.exports = require("./popover.cjs");
197
197
  },
198
198
  "@/components/ui/portal-container" (module) {
@@ -219,7 +219,7 @@ var __webpack_modules__ = {
219
219
  "./reference-chip-colors" (module) {
220
220
  module.exports = require("./reference-chip-colors.cjs");
221
221
  },
222
- "@/components/ui/reference-chip" (module) {
222
+ "./reference-chip" (module) {
223
223
  module.exports = require("./reference-chip.cjs");
224
224
  },
225
225
  "./resizable" (module) {
@@ -282,7 +282,7 @@ var __webpack_modules__ = {
282
282
  "./tabs" (module) {
283
283
  module.exports = require("./tabs.cjs");
284
284
  },
285
- "./textarea" (module) {
285
+ "@/components/ui/textarea" (module) {
286
286
  module.exports = require("./textarea.cjs");
287
287
  },
288
288
  "./thinking-indicator" (module) {
@@ -291,19 +291,19 @@ var __webpack_modules__ = {
291
291
  "./toggle-group" (module) {
292
292
  module.exports = require("./toggle-group.cjs");
293
293
  },
294
- "@/components/ui/toggle" (module) {
294
+ "./toggle" (module) {
295
295
  module.exports = require("./toggle.cjs");
296
296
  },
297
297
  "./tool-call" (module) {
298
298
  module.exports = require("./tool-call.cjs");
299
299
  },
300
- "@/components/ui/tooltip" (module) {
300
+ "./tooltip" (module) {
301
301
  module.exports = require("./tooltip.cjs");
302
302
  },
303
303
  "./tree-view" (module) {
304
304
  module.exports = require("./tree-view.cjs");
305
305
  },
306
- "@/components/ui/variable-picker" (module) {
306
+ "./variable-picker" (module) {
307
307
  module.exports = require("./variable-picker/index.cjs");
308
308
  },
309
309
  "./variable-value-control" (module) {
@@ -419,7 +419,7 @@ var __webpack_exports__ = {};
419
419
  "ReferenceChip"
420
420
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_avatar__rspack_import_5[__rspack_import_key];
421
421
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
422
- var _badge__rspack_import_6 = __webpack_require__("@/components/ui/badge");
422
+ var _badge__rspack_import_6 = __webpack_require__("./badge");
423
423
  var __rspack_reexport = {};
424
424
  for(const __rspack_import_key in _badge__rspack_import_6)if ([
425
425
  "getReferenceChipColors",
@@ -459,7 +459,7 @@ var __webpack_exports__ = {};
459
459
  "ReferenceChip"
460
460
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_bubble__rspack_import_9[__rspack_import_key];
461
461
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
462
- var _button__rspack_import_10 = __webpack_require__("@/components/ui/button");
462
+ var _button__rspack_import_10 = __webpack_require__("./button");
463
463
  var __rspack_reexport = {};
464
464
  for(const __rspack_import_key in _button__rspack_import_10)if ([
465
465
  "getReferenceChipColors",
@@ -489,7 +489,7 @@ var __webpack_exports__ = {};
489
489
  "ReferenceChip"
490
490
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_byo_model_dialog__rspack_import_12[__rspack_import_key];
491
491
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
492
- var _calendar__rspack_import_13 = __webpack_require__("@/components/ui/calendar");
492
+ var _calendar__rspack_import_13 = __webpack_require__("./calendar");
493
493
  var __rspack_reexport = {};
494
494
  for(const __rspack_import_key in _calendar__rspack_import_13)if ([
495
495
  "getReferenceChipColors",
@@ -539,7 +539,7 @@ var __webpack_exports__ = {};
539
539
  "ReferenceChip"
540
540
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_chat_hero__rspack_import_17[__rspack_import_key];
541
541
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
542
- var _checkbox__rspack_import_18 = __webpack_require__("@/components/ui/checkbox");
542
+ var _checkbox__rspack_import_18 = __webpack_require__("./checkbox");
543
543
  var __rspack_reexport = {};
544
544
  for(const __rspack_import_key in _checkbox__rspack_import_18)if ([
545
545
  "getReferenceChipColors",
@@ -559,7 +559,7 @@ var __webpack_exports__ = {};
559
559
  "ReferenceChip"
560
560
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_citation__rspack_import_19[__rspack_import_key];
561
561
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
562
- var _code_block__rspack_import_20 = __webpack_require__("./code-block");
562
+ var _code_block__rspack_import_20 = __webpack_require__("@/components/ui/code-block");
563
563
  var __rspack_reexport = {};
564
564
  for(const __rspack_import_key in _code_block__rspack_import_20)if ([
565
565
  "getReferenceChipColors",
@@ -569,7 +569,7 @@ var __webpack_exports__ = {};
569
569
  "ReferenceChip"
570
570
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_code_block__rspack_import_20[__rspack_import_key];
571
571
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
572
- var _collapsible__rspack_import_21 = __webpack_require__("@/components/ui/collapsible");
572
+ var _collapsible__rspack_import_21 = __webpack_require__("./collapsible");
573
573
  var __rspack_reexport = {};
574
574
  for(const __rspack_import_key in _collapsible__rspack_import_21)if ([
575
575
  "getReferenceChipColors",
@@ -619,7 +619,7 @@ var __webpack_exports__ = {};
619
619
  "ReferenceChip"
620
620
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_connection_picker__rspack_import_25[__rspack_import_key];
621
621
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
622
- var _context_menu__rspack_import_26 = __webpack_require__("@/components/ui/context-menu");
622
+ var _context_menu__rspack_import_26 = __webpack_require__("./context-menu");
623
623
  var __rspack_reexport = {};
624
624
  for(const __rspack_import_key in _context_menu__rspack_import_26)if ([
625
625
  "getReferenceChipColors",
@@ -789,7 +789,7 @@ var __webpack_exports__ = {};
789
789
  "ReferenceChip"
790
790
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_form_field__rspack_import_42[__rspack_import_key];
791
791
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
792
- var _hover_card__rspack_import_43 = __webpack_require__("@/components/ui/hover-card");
792
+ var _hover_card__rspack_import_43 = __webpack_require__("./hover-card");
793
793
  var __rspack_reexport = {};
794
794
  for(const __rspack_import_key in _hover_card__rspack_import_43)if ([
795
795
  "getReferenceChipColors",
@@ -799,7 +799,7 @@ var __webpack_exports__ = {};
799
799
  "ReferenceChip"
800
800
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_hover_card__rspack_import_43[__rspack_import_key];
801
801
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
802
- var _info_tooltip__rspack_import_44 = __webpack_require__("@/components/ui/info-tooltip");
802
+ var _info_tooltip__rspack_import_44 = __webpack_require__("./info-tooltip");
803
803
  var __rspack_reexport = {};
804
804
  for(const __rspack_import_key in _info_tooltip__rspack_import_44)if ([
805
805
  "getReferenceChipColors",
@@ -809,7 +809,7 @@ var __webpack_exports__ = {};
809
809
  "ReferenceChip"
810
810
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_info_tooltip__rspack_import_44[__rspack_import_key];
811
811
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
812
- var _input__rspack_import_45 = __webpack_require__("@/components/ui/input");
812
+ var _input__rspack_import_45 = __webpack_require__("./input");
813
813
  var __rspack_reexport = {};
814
814
  for(const __rspack_import_key in _input__rspack_import_45)if ([
815
815
  "getReferenceChipColors",
@@ -839,7 +839,7 @@ var __webpack_exports__ = {};
839
839
  "ReferenceChip"
840
840
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_json_tree_view__rspack_import_47[__rspack_import_key];
841
841
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
842
- var _label__rspack_import_48 = __webpack_require__("@/components/ui/label");
842
+ var _label__rspack_import_48 = __webpack_require__("./label");
843
843
  var __rspack_reexport = {};
844
844
  for(const __rspack_import_key in _label__rspack_import_48)if ([
845
845
  "getReferenceChipColors",
@@ -849,7 +849,7 @@ var __webpack_exports__ = {};
849
849
  "ReferenceChip"
850
850
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_label__rspack_import_48[__rspack_import_key];
851
851
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
852
- var _layout__rspack_import_49 = __webpack_require__("@/components/ui/layout");
852
+ var _layout__rspack_import_49 = __webpack_require__("./layout");
853
853
  var __rspack_reexport = {};
854
854
  for(const __rspack_import_key in _layout__rspack_import_49)if ([
855
855
  "getReferenceChipColors",
@@ -999,7 +999,7 @@ var __webpack_exports__ = {};
999
999
  "ReferenceChip"
1000
1000
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_password_input__rspack_import_63[__rspack_import_key];
1001
1001
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
1002
- var _popover__rspack_import_64 = __webpack_require__("@/components/ui/popover");
1002
+ var _popover__rspack_import_64 = __webpack_require__("./popover");
1003
1003
  var __rspack_reexport = {};
1004
1004
  for(const __rspack_import_key in _popover__rspack_import_64)if ([
1005
1005
  "getReferenceChipColors",
@@ -1079,7 +1079,7 @@ var __webpack_exports__ = {};
1079
1079
  "ReferenceChip"
1080
1080
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_radio_group__rspack_import_71[__rspack_import_key];
1081
1081
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
1082
- var _reference_chip__rspack_import_72 = __webpack_require__("@/components/ui/reference-chip");
1082
+ var _reference_chip__rspack_import_72 = __webpack_require__("./reference-chip");
1083
1083
  var _reference_chip_colors__rspack_import_73 = __webpack_require__("./reference-chip-colors");
1084
1084
  var _resizable__rspack_import_74 = __webpack_require__("./resizable");
1085
1085
  var __rspack_reexport = {};
@@ -1281,7 +1281,7 @@ var __webpack_exports__ = {};
1281
1281
  "ReferenceChip"
1282
1282
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_tabs__rspack_import_93[__rspack_import_key];
1283
1283
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
1284
- var _textarea__rspack_import_94 = __webpack_require__("./textarea");
1284
+ var _textarea__rspack_import_94 = __webpack_require__("@/components/ui/textarea");
1285
1285
  var __rspack_reexport = {};
1286
1286
  for(const __rspack_import_key in _textarea__rspack_import_94)if ([
1287
1287
  "getReferenceChipColors",
@@ -1301,7 +1301,7 @@ var __webpack_exports__ = {};
1301
1301
  "ReferenceChip"
1302
1302
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_thinking_indicator__rspack_import_95[__rspack_import_key];
1303
1303
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
1304
- var _toggle__rspack_import_96 = __webpack_require__("@/components/ui/toggle");
1304
+ var _toggle__rspack_import_96 = __webpack_require__("./toggle");
1305
1305
  var __rspack_reexport = {};
1306
1306
  for(const __rspack_import_key in _toggle__rspack_import_96)if ([
1307
1307
  "getReferenceChipColors",
@@ -1331,7 +1331,7 @@ var __webpack_exports__ = {};
1331
1331
  "ReferenceChip"
1332
1332
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_tool_call__rspack_import_98[__rspack_import_key];
1333
1333
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
1334
- var _tooltip__rspack_import_99 = __webpack_require__("@/components/ui/tooltip");
1334
+ var _tooltip__rspack_import_99 = __webpack_require__("./tooltip");
1335
1335
  var __rspack_reexport = {};
1336
1336
  for(const __rspack_import_key in _tooltip__rspack_import_99)if ([
1337
1337
  "getReferenceChipColors",
@@ -1343,7 +1343,7 @@ var __webpack_exports__ = {};
1343
1343
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
1344
1344
  var _tree_view__rspack_import_100 = __webpack_require__("./tree-view");
1345
1345
  var _tree_view__rspack_import_100_default = /*#__PURE__*/ __webpack_require__.n(_tree_view__rspack_import_100);
1346
- var _variable_picker__rspack_import_101 = __webpack_require__("@/components/ui/variable-picker");
1346
+ var _variable_picker__rspack_import_101 = __webpack_require__("./variable-picker");
1347
1347
  var __rspack_reexport = {};
1348
1348
  for(const __rspack_import_key in _variable_picker__rspack_import_101)if ([
1349
1349
  "getReferenceChipColors",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-wind",
3
- "version": "2.95.2",
3
+ "version": "2.95.3",
4
4
  "description": "UiPath wind design system - A Tailwind CSS based React component library",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",