@uipath/apollo-wind 2.79.2 → 2.80.1

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.
Files changed (41) hide show
  1. package/dist/components/ui/editable-text.cjs +251 -0
  2. package/dist/components/ui/editable-text.d.ts +48 -0
  3. package/dist/components/ui/editable-text.js +217 -0
  4. package/dist/components/ui/field-addons/field-addon-button.cjs +36 -0
  5. package/dist/components/ui/field-addons/field-addon-button.d.ts +6 -0
  6. package/dist/components/ui/field-addons/field-addon-button.js +2 -0
  7. package/dist/components/ui/field-addons/field-menu.cjs +6 -6
  8. package/dist/components/ui/field-addons/field-menu.d.ts +6 -1
  9. package/dist/components/ui/field-addons/field-menu.js +6 -6
  10. package/dist/components/ui/field-addons/value-mode-switch-dialog.cjs +2 -1
  11. package/dist/components/ui/field-addons/value-mode-switch-dialog.d.ts +6 -1
  12. package/dist/components/ui/field-addons/value-mode-switch-dialog.js +2 -1
  13. package/dist/components/ui/index.cjs +220 -207
  14. package/dist/components/ui/index.d.ts +1 -0
  15. package/dist/components/ui/index.js +1 -0
  16. package/dist/components/ui/input-group.cjs +7 -3
  17. package/dist/components/ui/input-group.d.ts +1 -1
  18. package/dist/components/ui/input-group.js +7 -3
  19. package/dist/components/ui/quick-form-field/components/field-header.cjs +41 -38
  20. package/dist/components/ui/quick-form-field/components/field-header.d.ts +13 -4
  21. package/dist/components/ui/quick-form-field/components/field-header.js +38 -38
  22. package/dist/components/ui/quick-form-field/components/lock-toggle-button.cjs +2 -1
  23. package/dist/components/ui/quick-form-field/components/lock-toggle-button.js +2 -1
  24. package/dist/components/ui/quick-form-field/index.d.ts +1 -1
  25. package/dist/components/ui/quick-form-field/quick-form-field.cjs +134 -17
  26. package/dist/components/ui/quick-form-field/quick-form-field.d.ts +6 -3
  27. package/dist/components/ui/quick-form-field/quick-form-field.js +136 -19
  28. package/dist/components/ui/quick-form-field/types.cjs +8 -0
  29. package/dist/components/ui/quick-form-field/types.d.ts +81 -14
  30. package/dist/components/ui/quick-form-field/types.js +8 -0
  31. package/dist/components/ui/quick-form-field/utils.cjs +30 -1
  32. package/dist/components/ui/quick-form-field/utils.d.ts +8 -0
  33. package/dist/components/ui/quick-form-field/utils.js +27 -1
  34. package/dist/components/ui/variable-value-control.cjs +7 -4
  35. package/dist/components/ui/variable-value-control.d.ts +5 -1
  36. package/dist/components/ui/variable-value-control.js +7 -4
  37. package/dist/index.cjs +4 -0
  38. package/dist/index.d.ts +3 -1
  39. package/dist/index.js +2 -1
  40. package/dist/styles.css +69 -9
  41. package/package.json +1 -1
@@ -1,6 +1,7 @@
1
1
  import { type LucideIcon } from 'lucide-react';
2
2
  import type { AriaAttributes, ReactNode } from 'react';
3
- import type { ValueMode } from '../field-addons/value-mode-strings';
3
+ import type { ValueMode, ValueModeStrings } from '../field-addons/value-mode-strings';
4
+ import type { MultiSelectStrings } from '../multi-select';
4
5
  export type QuickFormFieldMode = ValueMode;
5
6
  export type QuickFieldType = 'string' | 'textarea' | 'integer' | 'double' | 'date' | 'datetime' | 'boolean' | 'single-select' | 'multi-select' | 'array' | 'file' | 'object';
6
7
  interface FieldTypeMeta {
@@ -42,6 +43,11 @@ export interface QuickFormFieldStrings {
42
43
  falseLabel: string;
43
44
  requiredTooltip: string;
44
45
  requiredAriaLabel: string;
46
+ /** Names the editable label (see `onLabelChange`), and shows while it is empty. */
47
+ labelAriaLabel: string;
48
+ labelPlaceholder: string;
49
+ /** Names the info-tooltip trigger beside the label. */
50
+ tooltipAriaLabel: string;
45
51
  optionalAriaLabel: string;
46
52
  insertLabel: string;
47
53
  insertAriaLabel: string;
@@ -52,9 +58,21 @@ export interface QuickFormFieldStrings {
52
58
  valueModeAriaLabel: string;
53
59
  expressionLabel: string;
54
60
  expressionDescription: string;
61
+ /**
62
+ * The variable and prompt modes' menu items, controls and placeholders, and the lossy-switch
63
+ * dialog. The literal and expression items keep `literalLabels`, `literalDescriptions`,
64
+ * `expressionLabel` and `expressionDescription`.
65
+ */
66
+ valueModes: Partial<ValueModeStrings>;
55
67
  pickDate: string;
56
68
  selectOption: string;
57
69
  selectOptions: string;
70
+ /** The multi-select's search box, its empty state and its Clear all row, given the selected count. */
71
+ multiSelectSearchPlaceholder: string;
72
+ multiSelectEmpty: string;
73
+ multiSelectClearAll: (count: number) => string;
74
+ /** The multi-select's create row, "+N more" count and remove names. */
75
+ multiSelect: Partial<MultiSelectStrings>;
58
76
  moreActionsAriaLabel: string;
59
77
  clearValue: string;
60
78
  forceRefresh: string;
@@ -88,6 +106,12 @@ export interface QuickFormFieldOption {
88
106
  /** Type badge shown against the entry. */
89
107
  type?: string;
90
108
  }
109
+ /** Words the dialog confirming a lossy mode switch; each falls back to `strings.valueModes`. */
110
+ export interface QuickFormFieldModeSwitchConfirm {
111
+ title?: string;
112
+ description?: string;
113
+ confirmLabel?: string;
114
+ }
91
115
  export interface QuickFormFieldMoreActions {
92
116
  onClear?: () => void;
93
117
  onRefresh?: () => void;
@@ -149,17 +173,28 @@ export interface QuickFormFieldProps {
149
173
  */
150
174
  leadingAddon?: ReactNode;
151
175
  /**
152
- * Replaces the trailing fixed/expression menu with a consumer-provided
153
- * action. Pass `null` to suppress the built-in
154
- * menu; omitting the prop preserves it.
176
+ * Replaces the trailing value-mode menu with a consumer-provided action.
177
+ * Pass `null` to suppress the built-in menu; omitting the prop preserves it.
155
178
  */
156
179
  trailingAddon?: ReactNode;
157
180
  /** Adds a field-level overflow menu beside the value control. */
158
181
  more?: QuickFormFieldMoreActions;
159
182
  /** How the value is expressed. Defaults to 'literal'. */
160
183
  mode?: QuickFormFieldMode;
161
- /** Called when the user switches modes. */
184
+ /** Called when the user switches modes, after any confirmation `confirmModeChange` asks for. */
162
185
  onModeChange?: (mode: QuickFormFieldMode) => void;
186
+ /**
187
+ * The modes the built-in menu offers, in display order. Defaults to literal
188
+ * and expression. With fewer than two the menu offers no switch.
189
+ */
190
+ valueModes?: readonly QuickFormFieldMode[];
191
+ /**
192
+ * Asks before a switch that would lose the current value. Only the consumer
193
+ * knows how its value maps between modes, so it decides: return `true` to
194
+ * confirm with the default dialog text, an object to word it, or `false` to
195
+ * switch straight away. Omit to never confirm.
196
+ */
197
+ confirmModeChange?: (from: QuickFormFieldMode, to: QuickFormFieldMode) => boolean | QuickFormFieldModeSwitchConfirm;
163
198
  /**
164
199
  * Optional expression editor used in place of the built-in monospace input.
165
200
  * Consumers can use this to supply a syntax-aware editor such as Monaco.
@@ -170,13 +205,12 @@ export interface QuickFormFieldProps {
170
205
  */
171
206
  renderExpressionEditor?: (props: QuickFormFieldControlProps) => ReactNode;
172
207
  /**
173
- * Renders the value control for a given mode, replacing the built-in one.
174
- * `variable` and `prompt` have no built-in editor, and a surface that authors
175
- * its own choices can replace the `literal` control too.
208
+ * Renders the value control for a given mode, replacing the built-in one,
209
+ * such as a surface that authors its own choices in `literal` mode.
176
210
  *
177
- * Returning nothing (or omitting this) falls back to the built-in control
178
- * for the field's type, so an unhandled mode degrades to the literal editor
179
- * rather than rendering an empty row.
211
+ * Returning nothing (or omitting this) keeps the built-in control for the
212
+ * mode: a picker over `variables` for `variable`, an agent prompt textarea
213
+ * for `prompt`, and the field type's own control otherwise.
180
214
  */
181
215
  renderModeControl?: (mode: QuickFormFieldMode, props: QuickFormFieldControlProps) => ReactNode;
182
216
  /**
@@ -187,6 +221,9 @@ export interface QuickFormFieldProps {
187
221
  * A value that is one reference must be replaced rather than appended, and a
188
222
  * variable may carry its type onto the field, so the consumer decides. Omit
189
223
  * to splice at the caret, or append when no caret has been placed.
224
+ *
225
+ * Also called when a variable is picked in `variable` mode, where the value
226
+ * is that one reference and the pick replaces it.
190
227
  */
191
228
  onInsertVariable?: (variable: QuickFormFieldOption,
192
229
  /**
@@ -205,12 +242,41 @@ export interface QuickFormFieldProps {
205
242
  fieldTypes?: readonly QuickFieldType[];
206
243
  /** Called when the user switches the field type. */
207
244
  onFieldTypeChange?: (fieldType: QuickFieldType) => void;
208
- /** Shows a required-field asterisk next to the default label. Ignored when `label` is provided. */
245
+ /**
246
+ * Shows a required-field asterisk next to the default label, or the editable
247
+ * one (see `onLabelChange`). Ignored for any other `label`.
248
+ */
209
249
  required?: boolean;
210
250
  /** Called when the user toggles required/optional. Renders the Required switch when provided. */
211
251
  onRequiredChange?: (required: boolean) => void;
212
252
  /** Overrides the default mode-based label (e.g. a field name instead of "String value"). */
213
253
  label?: ReactNode;
254
+ /**
255
+ * Makes a string `label` editable in place: click to edit, Enter or blur
256
+ * commits, Escape reverts. Called on commit with the trimmed label, empty
257
+ * included, and only when it changed. To reject one, such as an empty label,
258
+ * leave `label` as it was: the field shows it again.
259
+ */
260
+ onLabelChange?: (label: string) => void;
261
+ /**
262
+ * Whether the editable label's editor is open, for a consumer that holds
263
+ * that state, such as one that opens it for a field just added. Pair with
264
+ * `onIsEditingLabelChange`. Omit to let the component hold it.
265
+ */
266
+ isEditingLabel?: boolean;
267
+ /**
268
+ * Called when the editable label asks to open (a click) or close (commit,
269
+ * Escape, or going disabled). It reports only whether the editor is open; the
270
+ * committed text arrives through `onLabelChange`, just after the close.
271
+ */
272
+ onIsEditingLabelChange?: (editing: boolean) => void;
273
+ /** Rendered before the label, such as a drag handle. */
274
+ labelAddon?: ReactNode;
275
+ /**
276
+ * Help shown from an info icon after the label and its required asterisk,
277
+ * as FormFieldHeader places it. Applies to every kind of `label`.
278
+ */
279
+ tooltip?: ReactNode;
214
280
  /**
215
281
  * Overrides the placeholder on the value control. The computed default names
216
282
  * only the type; the accessible label still falls back to it.
@@ -242,8 +308,9 @@ export interface QuickFormFieldProps {
242
308
  */
243
309
  onGenerateWithAi?: (prompt: string) => void;
244
310
  /**
245
- * Variables offered by the "Insert variable" popover; clicking one appends its value to the
246
- * current value. The button is disabled when this is empty (the default).
311
+ * Variables offered by the "Insert variable" popover, and by the picker in
312
+ * `variable` mode. Inserting one appends its value to the current value. The
313
+ * Insert button is disabled when this is empty (the default).
247
314
  */
248
315
  variables?: QuickFormFieldOption[];
249
316
  id?: string;
@@ -114,6 +114,9 @@ const DEFAULT_QUICK_FORM_FIELD_STRINGS = {
114
114
  falseLabel: 'False',
115
115
  requiredTooltip: 'Required',
116
116
  requiredAriaLabel: 'Required field',
117
+ labelAriaLabel: 'Field label',
118
+ labelPlaceholder: 'Untitled field',
119
+ tooltipAriaLabel: 'More information',
117
120
  optionalAriaLabel: 'Optional field',
118
121
  insertLabel: 'Insert',
119
122
  insertAriaLabel: 'Insert variable',
@@ -122,9 +125,14 @@ const DEFAULT_QUICK_FORM_FIELD_STRINGS = {
122
125
  valueModeAriaLabel: 'Choose value mode',
123
126
  expressionLabel: 'Expression',
124
127
  expressionDescription: 'Use a JS expression',
128
+ valueModes: {},
125
129
  pickDate: 'Pick a date',
126
130
  selectOption: 'Select an option',
127
131
  selectOptions: 'Select options...',
132
+ multiSelectSearchPlaceholder: 'Search...',
133
+ multiSelectEmpty: 'No items found.',
134
+ multiSelectClearAll: (count)=>`Clear all (${count})`,
135
+ multiSelect: {},
128
136
  moreActionsAriaLabel: 'More value actions',
129
137
  clearValue: 'Clear value',
130
138
  forceRefresh: 'Force refresh',
@@ -27,6 +27,7 @@ __webpack_require__.d(__webpack_exports__, {
27
27
  toDateOnlyString: ()=>toDateOnlyString,
28
28
  parseListValue: ()=>parseListValue,
29
29
  DEFAULT_SELECT_OPTIONS: ()=>DEFAULT_SELECT_OPTIONS,
30
+ toVariablePickerSource: ()=>toVariablePickerSource,
30
31
  formatDateValue: ()=>formatDateValue
31
32
  });
32
33
  const date_value_cjs_namespaceObject = require("../../../lib/date-value.cjs");
@@ -66,15 +67,43 @@ function formatDateValue(value) {
66
67
  day: 'numeric'
67
68
  }) : value;
68
69
  }
70
+ function toVariablePickerSource(variables) {
71
+ const byId = new Map();
72
+ const toItem = (v, id)=>{
73
+ byId.set(id, v);
74
+ return {
75
+ id,
76
+ label: v.label,
77
+ ...v.value ? {
78
+ value: v.value
79
+ } : {},
80
+ ...v.type ? {
81
+ type: v.type
82
+ } : {},
83
+ ...v.children ? {
84
+ children: v.children.map((c, i)=>toItem(c, `${id}/${i}`))
85
+ } : {}
86
+ };
87
+ };
88
+ return {
89
+ items: variables.map((v, i)=>toItem(v, String(i))),
90
+ resolve: (item)=>byId.get(item.id) ?? {
91
+ label: item.label,
92
+ value: item.value ?? ''
93
+ }
94
+ };
95
+ }
69
96
  exports.DEFAULT_SELECT_OPTIONS = __webpack_exports__.DEFAULT_SELECT_OPTIONS;
70
97
  exports.formatDateValue = __webpack_exports__.formatDateValue;
71
98
  exports.parseListValue = __webpack_exports__.parseListValue;
72
99
  exports.toDateOnlyString = __webpack_exports__.toDateOnlyString;
100
+ exports.toVariablePickerSource = __webpack_exports__.toVariablePickerSource;
73
101
  for(var __rspack_i in __webpack_exports__)if (-1 === [
74
102
  "DEFAULT_SELECT_OPTIONS",
75
103
  "formatDateValue",
76
104
  "parseListValue",
77
- "toDateOnlyString"
105
+ "toDateOnlyString",
106
+ "toVariablePickerSource"
78
107
  ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
79
108
  Object.defineProperty(exports, '__esModule', {
80
109
  value: true
@@ -1,3 +1,4 @@
1
+ import type { VariablePickerItem } from '../variable-picker';
1
2
  import type { QuickFormFieldOption } from './types';
2
3
  export declare const DEFAULT_SELECT_OPTIONS: QuickFormFieldOption[];
3
4
  export declare function parseListValue(value: string): string[];
@@ -5,3 +6,10 @@ export declare function parseListValue(value: string): string[];
5
6
  export declare function toDateOnlyString(date: Date): string;
6
7
  /** Formats a date field's value for display, falling back to the raw value if it isn't a valid date. */
7
8
  export declare function formatDateValue(value: string): string;
9
+ export interface VariablePickerSource {
10
+ items: VariablePickerItem[];
11
+ /** The consumer's own entry for a picked item: rebuilding it from the item would drop `type`. */
12
+ resolve: (item: VariablePickerItem) => QuickFormFieldOption;
13
+ }
14
+ /** Maps `variables` onto picker items, keeping a way back to each consumer entry. */
15
+ export declare function toVariablePickerSource(variables: QuickFormFieldOption[]): VariablePickerSource;
@@ -35,4 +35,30 @@ function formatDateValue(value) {
35
35
  day: 'numeric'
36
36
  }) : value;
37
37
  }
38
- export { DEFAULT_SELECT_OPTIONS, formatDateValue, parseListValue, toDateOnlyString };
38
+ function toVariablePickerSource(variables) {
39
+ const byId = new Map();
40
+ const toItem = (v, id)=>{
41
+ byId.set(id, v);
42
+ return {
43
+ id,
44
+ label: v.label,
45
+ ...v.value ? {
46
+ value: v.value
47
+ } : {},
48
+ ...v.type ? {
49
+ type: v.type
50
+ } : {},
51
+ ...v.children ? {
52
+ children: v.children.map((c, i)=>toItem(c, `${id}/${i}`))
53
+ } : {}
54
+ };
55
+ };
56
+ return {
57
+ items: variables.map((v, i)=>toItem(v, String(i))),
58
+ resolve: (item)=>byId.get(item.id) ?? {
59
+ label: item.label,
60
+ value: item.value ?? ''
61
+ }
62
+ };
63
+ }
64
+ export { DEFAULT_SELECT_OPTIONS, formatDateValue, parseListValue, toDateOnlyString, toVariablePickerSource };
@@ -62,13 +62,16 @@ const VariableValueControl = /*#__PURE__*/ external_react_namespaceObject.forwar
62
62
  variables
63
63
  ]);
64
64
  const close = external_react_namespaceObject.useCallback(()=>setOpen(false), []);
65
- const commit = external_react_namespaceObject.useCallback((next)=>{
66
- if (next) onChange(next);
65
+ const commit = external_react_namespaceObject.useCallback((next, item)=>{
66
+ if (next) onChange(next, item);
67
67
  setOpen(false);
68
68
  }, [
69
69
  onChange
70
70
  ]);
71
- const select = external_react_namespaceObject.useCallback((item)=>commit(item.value ?? ''), [
71
+ const select = external_react_namespaceObject.useCallback((item)=>commit(item.value ?? '', item), [
72
+ commit
73
+ ]);
74
+ const hostSelect = external_react_namespaceObject.useCallback((next)=>commit(next), [
72
75
  commit
73
76
  ]);
74
77
  return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(external_popover_cjs_namespaceObject.Popover, {
@@ -96,7 +99,7 @@ const VariableValueControl = /*#__PURE__*/ external_react_namespaceObject.forwar
96
99
  children: renderPicker ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(variable_picker_cjs_namespaceObject.VariablePickerSlot, {
97
100
  render: renderPicker,
98
101
  value: reference || void 0,
99
- onSelect: commit,
102
+ onSelect: hostSelect,
100
103
  close: close
101
104
  }) : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(index_cjs_namespaceObject.VariablePickerContent, {
102
105
  items: items,
@@ -12,7 +12,11 @@ interface VariableValueControlBaseProps {
12
12
  name?: string;
13
13
  /** The bound reference, such as `$vars.orderId`. */
14
14
  value?: string;
15
- onChange: (reference: string) => void;
15
+ /**
16
+ * Also gets the picked entry, as supplied in `variables`, for a consumer that reads more than the
17
+ * reference, such as its type. A host picker reports only the reference, so its pick has none.
18
+ */
19
+ onChange: (reference: string, item?: VariablePickerItem) => void;
16
20
  /** Called when the trigger loses focus, as a form library marks a field touched. */
17
21
  onBlur?: () => void;
18
22
  /** Also gets the trigger, as a form library's field ref does to focus an invalid field. */
@@ -34,13 +34,16 @@ const VariableValueControl = /*#__PURE__*/ forwardRef(({ id, value, onChange, on
34
34
  variables
35
35
  ]);
36
36
  const close = useCallback(()=>setOpen(false), []);
37
- const commit = useCallback((next)=>{
38
- if (next) onChange(next);
37
+ const commit = useCallback((next, item)=>{
38
+ if (next) onChange(next, item);
39
39
  setOpen(false);
40
40
  }, [
41
41
  onChange
42
42
  ]);
43
- const select = useCallback((item)=>commit(item.value ?? ''), [
43
+ const select = useCallback((item)=>commit(item.value ?? '', item), [
44
+ commit
45
+ ]);
46
+ const hostSelect = useCallback((next)=>commit(next), [
44
47
  commit
45
48
  ]);
46
49
  return /*#__PURE__*/ jsxs(Popover, {
@@ -68,7 +71,7 @@ const VariableValueControl = /*#__PURE__*/ forwardRef(({ id, value, onChange, on
68
71
  children: renderPicker ? /*#__PURE__*/ jsx(VariablePickerSlot, {
69
72
  render: renderPicker,
70
73
  value: reference || void 0,
71
- onSelect: commit,
74
+ onSelect: hostSelect,
72
75
  close: close
73
76
  }) : /*#__PURE__*/ jsx(VariablePickerContent, {
74
77
  items: items,
package/dist/index.cjs CHANGED
@@ -499,6 +499,7 @@ __webpack_require__.d(__webpack_exports__, {
499
499
  DEFAULT_PROMPT_EDITOR_STRINGS: ()=>prompt_editor_index_cjs_namespaceObject.DEFAULT_PROMPT_EDITOR_STRINGS,
500
500
  LiveRegion: ()=>live_region_cjs_namespaceObject.LiveRegion,
501
501
  SheetDescription: ()=>sheet_cjs_namespaceObject.SheetDescription,
502
+ EditableText: ()=>editable_text_cjs_namespaceObject.EditableText,
502
503
  messageActionsVariants: ()=>message_actions_cjs_namespaceObject.messageActionsVariants,
503
504
  validationPlugin: ()=>form_plugins_cjs_namespaceObject.validationPlugin,
504
505
  InputGroupTrigger: ()=>input_group_cjs_namespaceObject.InputGroupTrigger,
@@ -598,6 +599,7 @@ const drawer_cjs_namespaceObject = require("./components/ui/drawer.cjs");
598
599
  const dropdown_menu_cjs_namespaceObject = require("./components/ui/dropdown-menu.cjs");
599
600
  const dropzone_overlay_cjs_namespaceObject = require("./components/ui/dropzone-overlay.cjs");
600
601
  const editable_cell_cjs_namespaceObject = require("./components/ui/editable-cell.cjs");
602
+ const editable_text_cjs_namespaceObject = require("./components/ui/editable-text.cjs");
601
603
  const empty_state_cjs_namespaceObject = require("./components/ui/empty-state.cjs");
602
604
  const index_cjs_namespaceObject = require("./components/ui/field-actions/index.cjs");
603
605
  const field_addons_index_cjs_namespaceObject = require("./components/ui/field-addons/index.cjs");
@@ -851,6 +853,7 @@ exports.DropdownMenuSubTrigger = __webpack_exports__.DropdownMenuSubTrigger;
851
853
  exports.DropdownMenuTrigger = __webpack_exports__.DropdownMenuTrigger;
852
854
  exports.DropzoneOverlay = __webpack_exports__.DropzoneOverlay;
853
855
  exports.EditableCell = __webpack_exports__.EditableCell;
856
+ exports.EditableText = __webpack_exports__.EditableText;
854
857
  exports.EmptyState = __webpack_exports__.EmptyState;
855
858
  exports.ExpressionBuilder = __webpack_exports__.ExpressionBuilder;
856
859
  exports.FIELD_CONTROL_GEOMETRY = __webpack_exports__.FIELD_CONTROL_GEOMETRY;
@@ -1368,6 +1371,7 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
1368
1371
  "DropdownMenuTrigger",
1369
1372
  "DropzoneOverlay",
1370
1373
  "EditableCell",
1374
+ "EditableText",
1371
1375
  "EmptyState",
1372
1376
  "ExpressionBuilder",
1373
1377
  "FIELD_CONTROL_GEOMETRY",
package/dist/index.d.ts CHANGED
@@ -75,6 +75,8 @@ export type { DropzoneOverlayProps, DropzoneOverlayStrings, } from './components
75
75
  export { DEFAULT_DROPZONE_OVERLAY_STRINGS, DropzoneOverlay, } from './components/ui/dropzone-overlay';
76
76
  export type { EditableCellMeta, EditableCellType, } from './components/ui/editable-cell';
77
77
  export { createEditableColumn, EditableCell, } from './components/ui/editable-cell';
78
+ export type { EditableTextProps, EditableTextSize } from './components/ui/editable-text';
79
+ export { EditableText } from './components/ui/editable-text';
78
80
  export type { EmptyStateProps } from './components/ui/empty-state';
79
81
  export { EmptyState } from './components/ui/empty-state';
80
82
  export type { AiAssistActionProps, AiAssistActionStrings, AiAssistContentProps, InsertVariableActionProps, InsertVariableActionStrings, } from './components/ui/field-actions';
@@ -139,7 +141,7 @@ export type { PromptSuggestionItem, PromptSuggestionsDensity, PromptSuggestionsO
139
141
  export { DEFAULT_PROMPT_SUGGESTIONS_STRINGS, PromptSuggestions, promptSuggestionsListVariants, promptSuggestionVariants, } from './components/ui/prompt-suggestions';
140
142
  export type { PromptValueControlProps } from './components/ui/prompt-value-control';
141
143
  export { PromptValueControl } from './components/ui/prompt-value-control';
142
- export type { QuickFieldType, QuickFormFieldControlProps, QuickFormFieldMode, QuickFormFieldMoreActions, QuickFormFieldOption, QuickFormFieldProps, QuickFormFieldStrings, VariableInsertContext, } from './components/ui/quick-form-field';
144
+ export type { QuickFieldType, QuickFormFieldControlProps, QuickFormFieldMode, QuickFormFieldModeSwitchConfirm, QuickFormFieldMoreActions, QuickFormFieldOption, QuickFormFieldProps, QuickFormFieldStrings, VariableInsertContext, } from './components/ui/quick-form-field';
143
145
  export { DEFAULT_QUICK_FORM_FIELD_STRINGS, FIELD_TYPE_META, FIELD_TYPE_ORDER, QuickFormField, } from './components/ui/quick-form-field';
144
146
  export { RadioGroup, RadioGroupItem } from './components/ui/radio-group';
145
147
  export { ReferenceChip, type ReferenceChipProps } from './components/ui/reference-chip';
package/dist/index.js CHANGED
@@ -46,6 +46,7 @@ import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, Dr
46
46
  import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./components/ui/dropdown-menu.js";
47
47
  import { DEFAULT_DROPZONE_OVERLAY_STRINGS, DropzoneOverlay } from "./components/ui/dropzone-overlay.js";
48
48
  import { EditableCell, createEditableColumn } from "./components/ui/editable-cell.js";
49
+ import { EditableText } from "./components/ui/editable-text.js";
49
50
  import { EmptyState } from "./components/ui/empty-state.js";
50
51
  import { AiAssistAction, DEFAULT_AI_ASSIST_ACTION_STRINGS, DEFAULT_INSERT_VARIABLE_ACTION_STRINGS, InsertVariableAction } from "./components/ui/field-actions/index.js";
51
52
  import { BUILTIN_VALUE_MODES, DEFAULT_VALUE_MODE_STRINGS, FieldMenu, ValueModeIndicator, ValueModeSwitchDialog, builtInValueModes } from "./components/ui/field-addons/index.js";
@@ -111,4 +112,4 @@ import tree_view, { TreeView } from "./components/ui/tree-view.js";
111
112
  import { VariablePicker, VariablePickerContent } from "./components/ui/variable-picker/index.js";
112
113
  import { VariableValueControl } from "./components/ui/variable-value-control.js";
113
114
  import { cn } from "./lib/utils.js";
114
- export { $insertTokenAtCursor, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AiAssistAction, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger, Avatar, AvatarFallback, AvatarImage, BUILTIN_VALUE_MODES, Badge, BooleanRadioGroup, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Bubble, BubbleContent, BubbleGroup, BubbleReactions, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, ChatComposer, ChatComposerAttachButton, ChatComposerAttachments, ChatComposerError, ChatComposerFooter, ChatComposerInputGroup, ChatComposerSubmit, ChatComposerTextarea, ChatComposerToolbar, ChatHero, ChatHeroDescription, ChatHeroHeader, ChatHeroLogo, ChatHeroTitle, Checkbox, Citation, CodeBlock, CodeBlockHeader, Collapsible, CollapsibleContent, CollapsibleTrigger, Column, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DEFAULT_AI_ASSIST_ACTION_STRINGS, DEFAULT_BOOLEAN_RADIO_GROUP_STRINGS, DEFAULT_CHAT_COMPOSER_STRINGS, DEFAULT_CITATION_STRINGS, DEFAULT_CODE_BLOCK_STRINGS, DEFAULT_DIALOG_STRINGS, DEFAULT_DROPZONE_OVERLAY_STRINGS, DEFAULT_INSERT_VARIABLE_ACTION_STRINGS, DEFAULT_JSON_TREE_VIEW_STRINGS, DEFAULT_LOADING_DOTS_STRINGS, DEFAULT_MARKDOWN_STRINGS, DEFAULT_MESSAGE_ACTIONS_OVERFLOW_STRINGS, DEFAULT_MESSAGE_ACTIONS_STRINGS, DEFAULT_MESSAGE_ACTION_COPY_STRINGS, DEFAULT_MESSAGE_ACTION_FEEDBACK_STRINGS, DEFAULT_MESSAGE_SCROLLER_BUTTON_STRINGS, DEFAULT_MESSAGE_SCROLLER_VIEWPORT_STRINGS, DEFAULT_METADATA_FORM_STRINGS, DEFAULT_MODEL_PICKER_LABELS, DEFAULT_MULTI_SELECT_STRINGS, DEFAULT_PROMPT_EDITOR_STRINGS, DEFAULT_PROMPT_SUGGESTIONS_STRINGS, DEFAULT_QUICK_FORM_FIELD_STRINGS, DEFAULT_SEARCH_STRINGS, DEFAULT_SHEET_STRINGS, DEFAULT_SOURCES_STRINGS, DEFAULT_THINKING_INDICATOR_STRINGS, DEFAULT_TOOL_CALL_STRINGS, DEFAULT_VALUE_MODE_STRINGS, DataFetcher, DataSourceBuilder, DataTable, DataTableColumnHeader, DataTableSelectColumn, DataTransformers, DatePicker, DateRangePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisclosureTree, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DropzoneOverlay, EditableCell, EmptyState, ExpressionBuilder, FIELD_CONTROL_GEOMETRY, FIELD_TYPE_META, FIELD_TYPE_ORDER, FetchAdapter, FieldControl, FieldMenu, tree_view as FileTreeView, FileUpload, FolderPicker, FolderPickerContent, FolderSwitcher, FormDesigner, FormField, FormFieldDescription, FormFieldError, FormFieldHeader, FormFieldLabel, FormFieldRenderer, FormStateViewer, Grid, GroupHeader, GroupedOptionList, HoverCard, HoverCardContent, HoverCardTrigger, InfoTooltip, Input, InputGroup, InputGroupAddon, InputGroupBody, InputGroupButton, InputGroupInput, InputGroupPopoverTrigger, InputGroupRow, InputGroupText, InputGroupTextarea, InputGroupTrigger, InputTokenNode, InsertVariableAction, JsonContainerEditor, JsonLeafValueEditor, JsonMultilineLeafEditor, JsonTreeToolbar, JsonTreeView, JsonTreeViewProvider, JsonTypeBadge, Label, LiveRegion, LoadingDots, LockableValueField, MODEL_BADGES, Markdown, Marker, MarkerContent, MarkerIcon, Message, MessageAction, MessageActionCopy, MessageActionFeedback, MessageActions, MessageActionsOverflow, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, MetadataForm, Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, ModeAwareField, ModelOptionRow, ModelPicker, ModelTagChip, MultiSelect, OutputTokenNode, PROMPT_EDITOR_RICH_TRANSFORMERS, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PanelTabs, PanelTabsContent, PanelTabsList, PanelTabsStrip, PanelTabsTrigger, PickerPopup, PickerSearchInput, PickerTrigger, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, PromptEditor, PromptSuggestions, PromptValueControl, QuickFormField, RadioGroup, RadioGroupItem, ReferenceChip, RequiredIndicator, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResourceTokenNode, Row, RuleBuilder, RulesEngine, ScrollArea, ScrollBar, ScrollableTabsList, Search, SearchWithSuggestions, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, SourceItem, Sources, SourcesList, Spinner, StateTokenNode, StatsCard, Stepper, StringListField, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThinkingIndicator, Toaster, Toggle, ToggleGroup, ToggleGroupItem, TokenPill, TokenPillWithTooltip, ToolCall, ToolCallContent, ToolCallError, ToolCallHeader, ToolCallInput, ToolCallOutput, ToolCallSection, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, TreeView, VALUE_MODE_OPAQUE, VARIABLE_DRAG_MIME, VARIABLE_PATH_REGEX, ValueModeIndicator, ValueModeSwitchDialog, VariablePicker, VariablePickerContent, VariableValueControl, VirtualOptionList, WORD_JOINER, analyticsPlugin, appendPathSegment, attachmentVariants, auditPlugin, autoSavePlugin, badgeVariants, bubbleVariants, buildJsonTree, builtInValueModes, buttonVariants, chatComposerErrorVariants, chatComposerVariants, chatHeroDescriptionVariants, chatHeroTitleVariants, chatHeroVariants, citationVariants, cn, collectContainerPaths, copyTextToClipboard, createAiAssistAction, createClearAction, createEditableColumn, createInputTokenNode, createInsertVariableAction, createOutputTokenNode, createResourceTokenNode, createStateTokenNode, createTokenNodeForOption, createVariableModeControl, defaultCostTier, defaultRowActions, deriveModelTags, envelopeCodec, filterModels, flattenJsonTree, formatContextWindow, formatFileSize, formatLeafValue, formatTemplate, formattingPlugin, getAllPromptTokenNodes, getEditorTokens, getPromptEditorTokenColors, getPromptEditorTokenTypeLabel, getReferenceChipColors, getSubstitutionTarget, getValueAtPath, groupModels, hasMinMaxStep, hasOptions, inferTokenTypeFromPath, inferValueType, inputGroupVariants, isArrayItemTemplateRoot, isCustomField, isEmptyModeValue, isFileField, isFileTypeAccepted, isJsonObject, isPathCollapsed, isPromptTokenNode, isTextGenerationModel, isValueModeEnvelope, keepFolderSearchOnEscape, literalValues, loadingDotsVariants, markerVariants, messageActionsVariants, normalizeRichTextTokens, normalizeVariablePath, optionDomId, promptSuggestionVariants, promptSuggestionsListVariants, removeValueAtPath, resolveHomeGeography, resolveLabels, resolveVariables, schemaDisplayType, setEditorTokens, setValueAtPath, sidebarMenuButtonVariants, spinnerVariants, thinkingIndicatorVariants, toast, toggleVariants, toolCallVariants, useChatComposer, useInputGroup, useJsonTreeViewStrings, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility, useModelPickerState, useSidebar, useWatch, validateFiles, validationPlugin, workflowPlugin };
115
+ export { $insertTokenAtCursor, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AiAssistAction, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger, Avatar, AvatarFallback, AvatarImage, BUILTIN_VALUE_MODES, Badge, BooleanRadioGroup, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Bubble, BubbleContent, BubbleGroup, BubbleReactions, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, ChatComposer, ChatComposerAttachButton, ChatComposerAttachments, ChatComposerError, ChatComposerFooter, ChatComposerInputGroup, ChatComposerSubmit, ChatComposerTextarea, ChatComposerToolbar, ChatHero, ChatHeroDescription, ChatHeroHeader, ChatHeroLogo, ChatHeroTitle, Checkbox, Citation, CodeBlock, CodeBlockHeader, Collapsible, CollapsibleContent, CollapsibleTrigger, Column, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DEFAULT_AI_ASSIST_ACTION_STRINGS, DEFAULT_BOOLEAN_RADIO_GROUP_STRINGS, DEFAULT_CHAT_COMPOSER_STRINGS, DEFAULT_CITATION_STRINGS, DEFAULT_CODE_BLOCK_STRINGS, DEFAULT_DIALOG_STRINGS, DEFAULT_DROPZONE_OVERLAY_STRINGS, DEFAULT_INSERT_VARIABLE_ACTION_STRINGS, DEFAULT_JSON_TREE_VIEW_STRINGS, DEFAULT_LOADING_DOTS_STRINGS, DEFAULT_MARKDOWN_STRINGS, DEFAULT_MESSAGE_ACTIONS_OVERFLOW_STRINGS, DEFAULT_MESSAGE_ACTIONS_STRINGS, DEFAULT_MESSAGE_ACTION_COPY_STRINGS, DEFAULT_MESSAGE_ACTION_FEEDBACK_STRINGS, DEFAULT_MESSAGE_SCROLLER_BUTTON_STRINGS, DEFAULT_MESSAGE_SCROLLER_VIEWPORT_STRINGS, DEFAULT_METADATA_FORM_STRINGS, DEFAULT_MODEL_PICKER_LABELS, DEFAULT_MULTI_SELECT_STRINGS, DEFAULT_PROMPT_EDITOR_STRINGS, DEFAULT_PROMPT_SUGGESTIONS_STRINGS, DEFAULT_QUICK_FORM_FIELD_STRINGS, DEFAULT_SEARCH_STRINGS, DEFAULT_SHEET_STRINGS, DEFAULT_SOURCES_STRINGS, DEFAULT_THINKING_INDICATOR_STRINGS, DEFAULT_TOOL_CALL_STRINGS, DEFAULT_VALUE_MODE_STRINGS, DataFetcher, DataSourceBuilder, DataTable, DataTableColumnHeader, DataTableSelectColumn, DataTransformers, DatePicker, DateRangePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisclosureTree, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DropzoneOverlay, EditableCell, EditableText, EmptyState, ExpressionBuilder, FIELD_CONTROL_GEOMETRY, FIELD_TYPE_META, FIELD_TYPE_ORDER, FetchAdapter, FieldControl, FieldMenu, tree_view as FileTreeView, FileUpload, FolderPicker, FolderPickerContent, FolderSwitcher, FormDesigner, FormField, FormFieldDescription, FormFieldError, FormFieldHeader, FormFieldLabel, FormFieldRenderer, FormStateViewer, Grid, GroupHeader, GroupedOptionList, HoverCard, HoverCardContent, HoverCardTrigger, InfoTooltip, Input, InputGroup, InputGroupAddon, InputGroupBody, InputGroupButton, InputGroupInput, InputGroupPopoverTrigger, InputGroupRow, InputGroupText, InputGroupTextarea, InputGroupTrigger, InputTokenNode, InsertVariableAction, JsonContainerEditor, JsonLeafValueEditor, JsonMultilineLeafEditor, JsonTreeToolbar, JsonTreeView, JsonTreeViewProvider, JsonTypeBadge, Label, LiveRegion, LoadingDots, LockableValueField, MODEL_BADGES, Markdown, Marker, MarkerContent, MarkerIcon, Message, MessageAction, MessageActionCopy, MessageActionFeedback, MessageActions, MessageActionsOverflow, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, MetadataForm, Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, ModeAwareField, ModelOptionRow, ModelPicker, ModelTagChip, MultiSelect, OutputTokenNode, PROMPT_EDITOR_RICH_TRANSFORMERS, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PanelTabs, PanelTabsContent, PanelTabsList, PanelTabsStrip, PanelTabsTrigger, PickerPopup, PickerSearchInput, PickerTrigger, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, PromptEditor, PromptSuggestions, PromptValueControl, QuickFormField, RadioGroup, RadioGroupItem, ReferenceChip, RequiredIndicator, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResourceTokenNode, Row, RuleBuilder, RulesEngine, ScrollArea, ScrollBar, ScrollableTabsList, Search, SearchWithSuggestions, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, SourceItem, Sources, SourcesList, Spinner, StateTokenNode, StatsCard, Stepper, StringListField, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThinkingIndicator, Toaster, Toggle, ToggleGroup, ToggleGroupItem, TokenPill, TokenPillWithTooltip, ToolCall, ToolCallContent, ToolCallError, ToolCallHeader, ToolCallInput, ToolCallOutput, ToolCallSection, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, TreeView, VALUE_MODE_OPAQUE, VARIABLE_DRAG_MIME, VARIABLE_PATH_REGEX, ValueModeIndicator, ValueModeSwitchDialog, VariablePicker, VariablePickerContent, VariableValueControl, VirtualOptionList, WORD_JOINER, analyticsPlugin, appendPathSegment, attachmentVariants, auditPlugin, autoSavePlugin, badgeVariants, bubbleVariants, buildJsonTree, builtInValueModes, buttonVariants, chatComposerErrorVariants, chatComposerVariants, chatHeroDescriptionVariants, chatHeroTitleVariants, chatHeroVariants, citationVariants, cn, collectContainerPaths, copyTextToClipboard, createAiAssistAction, createClearAction, createEditableColumn, createInputTokenNode, createInsertVariableAction, createOutputTokenNode, createResourceTokenNode, createStateTokenNode, createTokenNodeForOption, createVariableModeControl, defaultCostTier, defaultRowActions, deriveModelTags, envelopeCodec, filterModels, flattenJsonTree, formatContextWindow, formatFileSize, formatLeafValue, formatTemplate, formattingPlugin, getAllPromptTokenNodes, getEditorTokens, getPromptEditorTokenColors, getPromptEditorTokenTypeLabel, getReferenceChipColors, getSubstitutionTarget, getValueAtPath, groupModels, hasMinMaxStep, hasOptions, inferTokenTypeFromPath, inferValueType, inputGroupVariants, isArrayItemTemplateRoot, isCustomField, isEmptyModeValue, isFileField, isFileTypeAccepted, isJsonObject, isPathCollapsed, isPromptTokenNode, isTextGenerationModel, isValueModeEnvelope, keepFolderSearchOnEscape, literalValues, loadingDotsVariants, markerVariants, messageActionsVariants, normalizeRichTextTokens, normalizeVariablePath, optionDomId, promptSuggestionVariants, promptSuggestionsListVariants, removeValueAtPath, resolveHomeGeography, resolveLabels, resolveVariables, schemaDisplayType, setEditorTokens, setValueAtPath, sidebarMenuButtonVariants, spinnerVariants, thinkingIndicatorVariants, toast, toggleVariants, toolCallVariants, useChatComposer, useInputGroup, useJsonTreeViewStrings, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility, useModelPickerState, useSidebar, useWatch, validateFiles, validationPlugin, workflowPlugin };
package/dist/styles.css CHANGED
@@ -834,6 +834,9 @@
834
834
  .-mx-1 {
835
835
  margin-inline: calc(var(--spacing) * -1);
836
836
  }
837
+ .-mx-1\.5 {
838
+ margin-inline: calc(var(--spacing) * -1.5);
839
+ }
837
840
  .-mx-2 {
838
841
  margin-inline: calc(var(--spacing) * -2);
839
842
  }
@@ -972,6 +975,12 @@
972
975
  .mb-8 {
973
976
  margin-bottom: calc(var(--spacing) * 8);
974
977
  }
978
+ .-ml-1 {
979
+ margin-left: calc(var(--spacing) * -1);
980
+ }
981
+ .-ml-1\.5 {
982
+ margin-left: calc(var(--spacing) * -1.5);
983
+ }
975
984
  .-ml-2 {
976
985
  margin-left: calc(var(--spacing) * -2);
977
986
  }
@@ -1026,6 +1035,12 @@
1026
1035
  -webkit-box-orient: vertical;
1027
1036
  -webkit-line-clamp: 3;
1028
1037
  }
1038
+ .line-clamp-\[var\(--editable-text-lines\)\] {
1039
+ overflow: hidden;
1040
+ display: -webkit-box;
1041
+ -webkit-box-orient: vertical;
1042
+ -webkit-line-clamp: var(--editable-text-lines);
1043
+ }
1029
1044
  .scrollbar-none {
1030
1045
  scrollbar-width: none;
1031
1046
  &::-webkit-scrollbar {
@@ -1074,6 +1089,9 @@
1074
1089
  .table-row {
1075
1090
  display: table-row;
1076
1091
  }
1092
+ .field-sizing-content {
1093
+ field-sizing: content;
1094
+ }
1077
1095
  .aspect-auto {
1078
1096
  aspect-ratio: auto;
1079
1097
  }
@@ -1856,6 +1874,9 @@
1856
1874
  .max-w-\[800px\] {
1857
1875
  max-width: 800px;
1858
1876
  }
1877
+ .max-w-\[calc\(100\%\+--spacing\(3\)\)\] {
1878
+ max-width: calc(100% + calc(var(--spacing) * 3));
1879
+ }
1859
1880
  .max-w-\[calc\(100\%-2rem\)\] {
1860
1881
  max-width: calc(100% - 2rem);
1861
1882
  }
@@ -2783,6 +2804,10 @@
2783
2804
  --tw-border-style: dashed;
2784
2805
  border-style: dashed;
2785
2806
  }
2807
+ .border-none {
2808
+ --tw-border-style: none;
2809
+ border-style: none;
2810
+ }
2786
2811
  .border-\(--color-border\) {
2787
2812
  border-color: var(--color-border);
2788
2813
  }
@@ -4872,6 +4897,9 @@
4872
4897
  .whitespace-pre {
4873
4898
  white-space: pre;
4874
4899
  }
4900
+ .whitespace-pre-line {
4901
+ white-space: pre-line;
4902
+ }
4875
4903
  .whitespace-pre-wrap {
4876
4904
  white-space: pre-wrap;
4877
4905
  }
@@ -7609,6 +7637,11 @@
7609
7637
  background-color: var(--surface);
7610
7638
  }
7611
7639
  }
7640
+ .has-\[\[data-slot\=editable-text-input\]\]\:flex-1 {
7641
+ &:has(*:is([data-slot=editable-text-input])) {
7642
+ flex: 1;
7643
+ }
7644
+ }
7612
7645
  .has-\[\[data-slot\=input-group-control\]_\:focus-visible\]\:ring-0 {
7613
7646
  &:has(*:is([data-slot=input-group-control] :focus-visible)) {
7614
7647
  --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
@@ -7720,11 +7753,16 @@
7720
7753
  background-color: var(--accent);
7721
7754
  }
7722
7755
  }
7723
- .has-\[\>\[data-slot\=input-group-addon\]\[data-align\=inline-end\]\]\:pr-2 {
7724
- &:has(>[data-slot=input-group-addon][data-align=inline-end]) {
7756
+ .has-\[\>\[data-slot\=input-group-addon\]\[data-align\=inline-end\]_button\]\:pr-2 {
7757
+ &:has(>[data-slot=input-group-addon][data-align=inline-end] button) {
7725
7758
  padding-right: calc(var(--spacing) * 2);
7726
7759
  }
7727
7760
  }
7761
+ .has-\[\>\[data-slot\=input-group-addon\]\[data-align\=inline-start\]_button\]\:pl-2 {
7762
+ &:has(>[data-slot=input-group-addon][data-align=inline-start] button) {
7763
+ padding-left: calc(var(--spacing) * 2);
7764
+ }
7765
+ }
7728
7766
  .has-\[\>\[hidden\]\]\:border-t-0 {
7729
7767
  &:has(>[hidden]) {
7730
7768
  border-top-style: var(--tw-border-style);
@@ -7758,11 +7796,25 @@
7758
7796
  pointer-events: none;
7759
7797
  }
7760
7798
  }
7799
+ .aria-disabled\:cursor-not-allowed {
7800
+ &[aria-disabled="true"] {
7801
+ cursor: not-allowed;
7802
+ }
7803
+ }
7761
7804
  .aria-disabled\:opacity-50 {
7762
7805
  &[aria-disabled="true"] {
7763
7806
  opacity: 50%;
7764
7807
  }
7765
7808
  }
7809
+ .aria-disabled\:hover\:bg-transparent {
7810
+ &[aria-disabled="true"] {
7811
+ &:hover {
7812
+ @media (hover: hover) {
7813
+ background-color: transparent;
7814
+ }
7815
+ }
7816
+ }
7817
+ }
7766
7818
  .aria-invalid\:border-error {
7767
7819
  &[aria-invalid="true"] {
7768
7820
  border-color: var(--error);
@@ -9354,13 +9406,6 @@
9354
9406
  }
9355
9407
  }
9356
9408
  }
9357
- .future\:has-\[\>\[data-slot\=input-group-addon\]\[data-align\=inline-end\]\]\:pr-2 {
9358
- :is(.future-dark, .future-light) & {
9359
- &:has(>[data-slot=input-group-addon][data-align=inline-end]) {
9360
- padding-right: calc(var(--spacing) * 2);
9361
- }
9362
- }
9363
- }
9364
9409
  .future\:aria-invalid\:border-error {
9365
9410
  :is(.future-dark, .future-light) & {
9366
9411
  &[aria-invalid="true"] {
@@ -9906,6 +9951,21 @@
9906
9951
  --tw-ring-color: var(--ring);
9907
9952
  }
9908
9953
  }
9954
+ .\[\&\:has\(\[data-slot\=editable-text-input\]\)\>\:first-child\]\:flex-1 {
9955
+ &:has([data-slot=editable-text-input])>:first-child {
9956
+ flex: 1;
9957
+ }
9958
+ }
9959
+ .\[\&\:has\(\[data-slot\=editable-text-input\]\)\>\:nth-child\(2\)\]\:\!hidden {
9960
+ &:has([data-slot=editable-text-input])>:nth-child(2) {
9961
+ display: none !important;
9962
+ }
9963
+ }
9964
+ .\[\&\:has\(\[data-slot\=editable-text-input\]\)\>\[data-slot\=info-tooltip\]\]\:hidden {
9965
+ &:has([data-slot=editable-text-input])>[data-slot=info-tooltip] {
9966
+ display: none;
9967
+ }
9968
+ }
9909
9969
  .\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0 {
9910
9970
  &:has([role=checkbox]) {
9911
9971
  padding-right: calc(var(--spacing) * 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-wind",
3
- "version": "2.79.2",
3
+ "version": "2.80.1",
4
4
  "description": "UiPath wind design system - A Tailwind CSS based React component library",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",