@uipath/apollo-wind 2.38.0 → 2.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,10 +27,10 @@ var __webpack_modules__ = {
27
27
  "@/components/ui/button" (module) {
28
28
  module.exports = require("./button.cjs");
29
29
  },
30
- "./calendar" (module) {
30
+ "@/components/ui/calendar" (module) {
31
31
  module.exports = require("./calendar.cjs");
32
32
  },
33
- "@/components/ui/card" (module) {
33
+ "./card" (module) {
34
34
  module.exports = require("./card.cjs");
35
35
  },
36
36
  "./chart" (module) {
@@ -39,7 +39,7 @@ var __webpack_modules__ = {
39
39
  "@/components/ui/checkbox" (module) {
40
40
  module.exports = require("./checkbox.cjs");
41
41
  },
42
- "@/components/ui/collapsible" (module) {
42
+ "./collapsible" (module) {
43
43
  module.exports = require("./collapsible.cjs");
44
44
  },
45
45
  "./combobox" (module) {
@@ -48,7 +48,7 @@ var __webpack_modules__ = {
48
48
  "@/components/ui/command" (module) {
49
49
  module.exports = require("./command.cjs");
50
50
  },
51
- "@/components/ui/context-menu" (module) {
51
+ "./context-menu" (module) {
52
52
  module.exports = require("./context-menu.cjs");
53
53
  },
54
54
  "./data-table" (module) {
@@ -84,7 +84,7 @@ var __webpack_modules__ = {
84
84
  "@/components/ui/input-group" (module) {
85
85
  module.exports = require("./input-group.cjs");
86
86
  },
87
- "./input" (module) {
87
+ "@/components/ui/input" (module) {
88
88
  module.exports = require("./input.cjs");
89
89
  },
90
90
  "./label" (module) {
@@ -105,7 +105,7 @@ var __webpack_modules__ = {
105
105
  "@/components/ui/popover" (module) {
106
106
  module.exports = require("./popover.cjs");
107
107
  },
108
- "./portal-container" (module) {
108
+ "@/components/ui/portal-container" (module) {
109
109
  module.exports = require("./portal-container.cjs");
110
110
  },
111
111
  "./progress" (module) {
@@ -156,19 +156,19 @@ var __webpack_modules__ = {
156
156
  "./switch" (module) {
157
157
  module.exports = require("./switch.cjs");
158
158
  },
159
- "./table" (module) {
159
+ "@/components/ui/table" (module) {
160
160
  module.exports = require("./table.cjs");
161
161
  },
162
162
  "./tabs" (module) {
163
163
  module.exports = require("./tabs.cjs");
164
164
  },
165
- "@/components/ui/textarea" (module) {
165
+ "./textarea" (module) {
166
166
  module.exports = require("./textarea.cjs");
167
167
  },
168
168
  "./toggle-group" (module) {
169
169
  module.exports = require("./toggle-group.cjs");
170
170
  },
171
- "./toggle" (module) {
171
+ "@/components/ui/toggle" (module) {
172
172
  module.exports = require("./toggle.cjs");
173
173
  },
174
174
  "./tooltip" (module) {
@@ -290,14 +290,14 @@ var __webpack_exports__ = {};
290
290
  "default"
291
291
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_button_group__rspack_import_8[__rspack_import_key];
292
292
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
293
- var _calendar__rspack_import_9 = __webpack_require__("./calendar");
293
+ var _calendar__rspack_import_9 = __webpack_require__("@/components/ui/calendar");
294
294
  var __rspack_reexport = {};
295
295
  for(const __rspack_import_key in _calendar__rspack_import_9)if ([
296
296
  "TreeView",
297
297
  "default"
298
298
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_calendar__rspack_import_9[__rspack_import_key];
299
299
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
300
- var _card__rspack_import_10 = __webpack_require__("@/components/ui/card");
300
+ var _card__rspack_import_10 = __webpack_require__("./card");
301
301
  var __rspack_reexport = {};
302
302
  for(const __rspack_import_key in _card__rspack_import_10)if ([
303
303
  "TreeView",
@@ -318,7 +318,7 @@ var __webpack_exports__ = {};
318
318
  "default"
319
319
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_checkbox__rspack_import_12[__rspack_import_key];
320
320
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
321
- var _collapsible__rspack_import_13 = __webpack_require__("@/components/ui/collapsible");
321
+ var _collapsible__rspack_import_13 = __webpack_require__("./collapsible");
322
322
  var __rspack_reexport = {};
323
323
  for(const __rspack_import_key in _collapsible__rspack_import_13)if ([
324
324
  "TreeView",
@@ -339,7 +339,7 @@ var __webpack_exports__ = {};
339
339
  "default"
340
340
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_command__rspack_import_15[__rspack_import_key];
341
341
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
342
- var _context_menu__rspack_import_16 = __webpack_require__("@/components/ui/context-menu");
342
+ var _context_menu__rspack_import_16 = __webpack_require__("./context-menu");
343
343
  var __rspack_reexport = {};
344
344
  for(const __rspack_import_key in _context_menu__rspack_import_16)if ([
345
345
  "TreeView",
@@ -416,7 +416,7 @@ var __webpack_exports__ = {};
416
416
  "default"
417
417
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_hover_card__rspack_import_26[__rspack_import_key];
418
418
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
419
- var _input__rspack_import_27 = __webpack_require__("./input");
419
+ var _input__rspack_import_27 = __webpack_require__("@/components/ui/input");
420
420
  var __rspack_reexport = {};
421
421
  for(const __rspack_import_key in _input__rspack_import_27)if ([
422
422
  "TreeView",
@@ -472,7 +472,7 @@ var __webpack_exports__ = {};
472
472
  "default"
473
473
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_popover__rspack_import_34[__rspack_import_key];
474
474
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
475
- var _portal_container__rspack_import_35 = __webpack_require__("./portal-container");
475
+ var _portal_container__rspack_import_35 = __webpack_require__("@/components/ui/portal-container");
476
476
  var __rspack_reexport = {};
477
477
  for(const __rspack_import_key in _portal_container__rspack_import_35)if ([
478
478
  "TreeView",
@@ -591,7 +591,7 @@ var __webpack_exports__ = {};
591
591
  "default"
592
592
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_switch__rspack_import_51[__rspack_import_key];
593
593
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
594
- var _table__rspack_import_52 = __webpack_require__("./table");
594
+ var _table__rspack_import_52 = __webpack_require__("@/components/ui/table");
595
595
  var __rspack_reexport = {};
596
596
  for(const __rspack_import_key in _table__rspack_import_52)if ([
597
597
  "TreeView",
@@ -605,14 +605,14 @@ var __webpack_exports__ = {};
605
605
  "default"
606
606
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_tabs__rspack_import_53[__rspack_import_key];
607
607
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
608
- var _textarea__rspack_import_54 = __webpack_require__("@/components/ui/textarea");
608
+ var _textarea__rspack_import_54 = __webpack_require__("./textarea");
609
609
  var __rspack_reexport = {};
610
610
  for(const __rspack_import_key in _textarea__rspack_import_54)if ([
611
611
  "TreeView",
612
612
  "default"
613
613
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_textarea__rspack_import_54[__rspack_import_key];
614
614
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
615
- var _toggle__rspack_import_55 = __webpack_require__("./toggle");
615
+ var _toggle__rspack_import_55 = __webpack_require__("@/components/ui/toggle");
616
616
  var __rspack_reexport = {};
617
617
  for(const __rspack_import_key in _toggle__rspack_import_55)if ([
618
618
  "TreeView",
@@ -39,7 +39,7 @@ const external_tooltip_cjs_namespaceObject = require("../../tooltip.cjs");
39
39
  const index_cjs_namespaceObject = require("../../variable-picker/index.cjs");
40
40
  const external_lib_index_cjs_namespaceObject = require("../../../../lib/index.cjs");
41
41
  const external_types_cjs_namespaceObject = require("../types.cjs");
42
- function FieldHeader({ label, fieldId, fieldLabel, required, fieldType, onFieldTypeChange, onRequiredChange, controlsVisibility, compact, showFieldActions, value, onValueChange, variables, onGenerateWithAi, headerActions }) {
42
+ function FieldHeader({ label, fieldId, fieldLabel, required, fieldType, onFieldTypeChange, onRequiredChange, compact, showFieldActions, value, onValueChange, variables, onGenerateWithAi, headerActions }) {
43
43
  const promptId = (0, external_react_namespaceObject.useId)();
44
44
  const [aiPrompt, setAiPrompt] = (0, external_react_namespaceObject.useState)('');
45
45
  const typeMeta = external_types_cjs_namespaceObject.FIELD_TYPE_META[fieldType];
@@ -63,7 +63,7 @@ function FieldHeader({ label, fieldId, fieldLabel, required, fieldType, onFieldT
63
63
  className: "ml-auto flex items-center gap-0.5",
64
64
  children: [
65
65
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
66
- className: (0, external_lib_index_cjs_namespaceObject.cn)('flex items-center gap-0.5', 'hover' === controlsVisibility && 'opacity-0 transition-opacity group-hover:opacity-100 group-focus-within:opacity-100 has-[[aria-expanded=true]]:opacity-100'),
66
+ className: "flex items-center gap-0.5",
67
67
  children: [
68
68
  onFieldTypeChange && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(external_dropdown_menu_cjs_namespaceObject.DropdownMenu, {
69
69
  children: [
@@ -1,6 +1,6 @@
1
1
  import type { ReactNode } from 'react';
2
2
  import type { LockableFieldType, LockableValueFieldOption } from '../types';
3
- export declare function FieldHeader({ label, fieldId, fieldLabel, required, fieldType, onFieldTypeChange, onRequiredChange, controlsVisibility, compact, showFieldActions, value, onValueChange, variables, onGenerateWithAi, headerActions, }: {
3
+ export declare function FieldHeader({ label, fieldId, fieldLabel, required, fieldType, onFieldTypeChange, onRequiredChange, compact, showFieldActions, value, onValueChange, variables, onGenerateWithAi, headerActions, }: {
4
4
  label?: ReactNode;
5
5
  fieldId: string;
6
6
  fieldLabel: string;
@@ -8,7 +8,6 @@ export declare function FieldHeader({ label, fieldId, fieldLabel, required, fiel
8
8
  fieldType: LockableFieldType;
9
9
  onFieldTypeChange?: (fieldType: LockableFieldType) => void;
10
10
  onRequiredChange?: (required: boolean) => void;
11
- controlsVisibility: 'visible' | 'hover';
12
11
  compact?: boolean;
13
12
  showFieldActions: boolean;
14
13
  value: string;
@@ -11,7 +11,7 @@ import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "../../
11
11
  import { VariablePicker } from "../../variable-picker/index.js";
12
12
  import { cn } from "../../../../lib/index.js";
13
13
  import { FIELD_TYPE_META, FIELD_TYPE_ORDER } from "../types.js";
14
- function FieldHeader({ label, fieldId, fieldLabel, required, fieldType, onFieldTypeChange, onRequiredChange, controlsVisibility, compact, showFieldActions, value, onValueChange, variables, onGenerateWithAi, headerActions }) {
14
+ function FieldHeader({ label, fieldId, fieldLabel, required, fieldType, onFieldTypeChange, onRequiredChange, compact, showFieldActions, value, onValueChange, variables, onGenerateWithAi, headerActions }) {
15
15
  const promptId = useId();
16
16
  const [aiPrompt, setAiPrompt] = useState('');
17
17
  const typeMeta = FIELD_TYPE_META[fieldType];
@@ -35,7 +35,7 @@ function FieldHeader({ label, fieldId, fieldLabel, required, fieldType, onFieldT
35
35
  className: "ml-auto flex items-center gap-0.5",
36
36
  children: [
37
37
  /*#__PURE__*/ jsxs("div", {
38
- className: cn('flex items-center gap-0.5', 'hover' === controlsVisibility && 'opacity-0 transition-opacity group-hover:opacity-100 group-focus-within:opacity-100 has-[[aria-expanded=true]]:opacity-100'),
38
+ className: "flex items-center gap-0.5",
39
39
  children: [
40
40
  onFieldTypeChange && /*#__PURE__*/ jsxs(DropdownMenu, {
41
41
  children: [
@@ -44,7 +44,7 @@ const lock_toggle_button_cjs_namespaceObject = require("./components/lock-toggle
44
44
  const mode_menu_item_cjs_namespaceObject = require("./components/mode-menu-item.cjs");
45
45
  const external_types_cjs_namespaceObject = require("./types.cjs");
46
46
  const external_utils_cjs_namespaceObject = require("./utils.cjs");
47
- function LockableValueField({ value = '', onValueChange, onValueBlur, locked = true, onLockedChange, leadingAddon, trailingAddon, mode = 'fixed', onModeChange, renderExpressionEditor, fieldType = 'string', onFieldTypeChange, required, onRequiredChange, label, error, errorId, belowValue, fileUploadAriaLabel, headerActions, compact, controlsVisibility = 'visible', showFieldActions = true, options = external_utils_cjs_namespaceObject.DEFAULT_SELECT_OPTIONS, onGenerateWithAi, variables = [], id, className }) {
47
+ function LockableValueField({ value = '', onValueChange, onValueBlur, locked = true, onLockedChange, leadingAddon, trailingAddon, mode = 'fixed', onModeChange, renderExpressionEditor, fieldType = 'string', onFieldTypeChange, required, onRequiredChange, label, error, errorId, belowValue, fileUploadAriaLabel, headerActions, compact, showFieldActions = true, options = external_utils_cjs_namespaceObject.DEFAULT_SELECT_OPTIONS, onGenerateWithAi, variables = [], id, className }) {
48
48
  const generatedId = (0, external_react_namespaceObject.useId)().replace(/:/g, '');
49
49
  const [datePopoverOpen, setDatePopoverOpen] = (0, external_react_namespaceObject.useState)(false);
50
50
  const [selectOpen, setSelectOpen] = (0, external_react_namespaceObject.useState)(false);
@@ -68,7 +68,6 @@ function LockableValueField({ value = '', onValueChange, onValueBlur, locked = t
68
68
  fieldType: fieldType,
69
69
  onFieldTypeChange: onFieldTypeChange,
70
70
  onRequiredChange: onRequiredChange,
71
- controlsVisibility: controlsVisibility,
72
71
  compact: compact,
73
72
  showFieldActions: showFieldActions,
74
73
  value: value,
@@ -11,4 +11,4 @@ import type { LockableValueFieldProps } from './types';
11
11
  * Insert-variable menu is empty (and disabled) unless `variables` is
12
12
  * provided; file uploads aren't persisted anywhere.
13
13
  */
14
- export declare function LockableValueField({ value, onValueChange, onValueBlur, locked, onLockedChange, leadingAddon, trailingAddon, mode, onModeChange, renderExpressionEditor, fieldType, onFieldTypeChange, required, onRequiredChange, label, error, errorId, belowValue, fileUploadAriaLabel, headerActions, compact, controlsVisibility, showFieldActions, options, onGenerateWithAi, variables, id, className, }: LockableValueFieldProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function LockableValueField({ value, onValueChange, onValueBlur, locked, onLockedChange, leadingAddon, trailingAddon, mode, onModeChange, renderExpressionEditor, fieldType, onFieldTypeChange, required, onRequiredChange, label, error, errorId, belowValue, fileUploadAriaLabel, headerActions, compact, showFieldActions, options, onGenerateWithAi, variables, id, className, }: LockableValueFieldProps): import("react/jsx-runtime").JSX.Element;
@@ -16,7 +16,7 @@ import { LockToggleButton } from "./components/lock-toggle-button.js";
16
16
  import { ModeMenuItem } from "./components/mode-menu-item.js";
17
17
  import { FIELD_TYPE_META } from "./types.js";
18
18
  import { DEFAULT_SELECT_OPTIONS, formatDateValue, getLockedDisplayValue, parseDateValue, parseListValue, toDateOnlyString } from "./utils.js";
19
- function LockableValueField({ value = '', onValueChange, onValueBlur, locked = true, onLockedChange, leadingAddon, trailingAddon, mode = 'fixed', onModeChange, renderExpressionEditor, fieldType = 'string', onFieldTypeChange, required, onRequiredChange, label, error, errorId, belowValue, fileUploadAriaLabel, headerActions, compact, controlsVisibility = 'visible', showFieldActions = true, options = DEFAULT_SELECT_OPTIONS, onGenerateWithAi, variables = [], id, className }) {
19
+ function LockableValueField({ value = '', onValueChange, onValueBlur, locked = true, onLockedChange, leadingAddon, trailingAddon, mode = 'fixed', onModeChange, renderExpressionEditor, fieldType = 'string', onFieldTypeChange, required, onRequiredChange, label, error, errorId, belowValue, fileUploadAriaLabel, headerActions, compact, showFieldActions = true, options = DEFAULT_SELECT_OPTIONS, onGenerateWithAi, variables = [], id, className }) {
20
20
  const generatedId = useId().replace(/:/g, '');
21
21
  const [datePopoverOpen, setDatePopoverOpen] = useState(false);
22
22
  const [selectOpen, setSelectOpen] = useState(false);
@@ -40,7 +40,6 @@ function LockableValueField({ value = '', onValueChange, onValueBlur, locked = t
40
40
  fieldType: fieldType,
41
41
  onFieldTypeChange: onFieldTypeChange,
42
42
  onRequiredChange: onRequiredChange,
43
- controlsVisibility: controlsVisibility,
44
43
  compact: compact,
45
44
  showFieldActions: showFieldActions,
46
45
  value: value,
@@ -80,7 +80,7 @@ export interface LockableValueFieldProps {
80
80
  headerActions?: ReactNode;
81
81
  /** Forces the header row into its narrow-container icon-only layout, regardless of actual width. For demos/comparisons. */
82
82
  compact?: boolean;
83
- /** Whether the field-type, AI-assist, and insert-variable controls are always shown or only on hover. Defaults to 'visible'. */
83
+ /** @deprecated Controls are always visible. Retained as a no-op for backwards compatibility. */
84
84
  controlsVisibility?: 'visible' | 'hover';
85
85
  /** Whether the AI-assist and Insert-variable actions render at all. Set to false for read-only reviewer contexts where field configuration isn't editable. Defaults to true. */
86
86
  showFieldActions?: boolean;
package/dist/styles.css CHANGED
@@ -3619,9 +3619,6 @@
3619
3619
  .\!px-1\.5 {
3620
3620
  padding-inline: calc(var(--spacing) * 1.5) !important;
3621
3621
  }
3622
- .\!px-2\.5 {
3623
- padding-inline: calc(var(--spacing) * 2.5) !important;
3624
- }
3625
3622
  .\[padding-inline\:var\(--mf-content-inset\,0px\)\] {
3626
3623
  padding-inline: var(--mf-content-inset,0px);
3627
3624
  }
@@ -3856,10 +3853,6 @@
3856
3853
  .font-sans {
3857
3854
  font-family: var(--font-sans);
3858
3855
  }
3859
- .\!text-xs {
3860
- font-size: var(--text-xs) !important;
3861
- line-height: var(--tw-leading, var(--text-xs--line-height)) !important;
3862
- }
3863
3856
  .text-2xl {
3864
3857
  font-size: var(--text-2xl);
3865
3858
  line-height: var(--tw-leading, var(--text-2xl--line-height));
@@ -4532,11 +4525,6 @@
4532
4525
  rotate: 90deg;
4533
4526
  }
4534
4527
  }
4535
- .group-focus-within\:opacity-100 {
4536
- &:is(:where(.group):focus-within *) {
4537
- opacity: 100%;
4538
- }
4539
- }
4540
4528
  .group-focus-within\/input\:bg-foreground-accent {
4541
4529
  &:is(:where(.group\/input):focus-within *) {
4542
4530
  background-color: var(--foreground-accent);
@@ -5614,11 +5602,6 @@
5614
5602
  }
5615
5603
  }
5616
5604
  }
5617
- .has-\[\[aria-expanded\=true\]\]\:opacity-100 {
5618
- &:has(*:is([aria-expanded=true])) {
5619
- opacity: 100%;
5620
- }
5621
- }
5622
5605
  .has-\[\[data-slot\=input-group-control\]\:disabled\]\:cursor-not-allowed {
5623
5606
  &:has(*:is([data-slot=input-group-control]:disabled)) {
5624
5607
  cursor: not-allowed;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-wind",
3
- "version": "2.38.0",
3
+ "version": "2.39.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",