@uipath/apollo-wind 2.52.1 → 2.52.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.
@@ -27,19 +27,19 @@ 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
- "./card" (module) {
33
+ "@/components/ui/card" (module) {
34
34
  module.exports = require("./card.cjs");
35
35
  },
36
36
  "./chart" (module) {
37
37
  module.exports = require("./chart.cjs");
38
38
  },
39
- "./checkbox" (module) {
39
+ "@/components/ui/checkbox" (module) {
40
40
  module.exports = require("./checkbox.cjs");
41
41
  },
42
- "./collapsible" (module) {
42
+ "@/components/ui/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
- "./context-menu" (module) {
51
+ "@/components/ui/context-menu" (module) {
52
52
  module.exports = require("./context-menu.cjs");
53
53
  },
54
54
  "./data-table" (module) {
@@ -66,10 +66,10 @@ var __webpack_modules__ = {
66
66
  "./drawer" (module) {
67
67
  module.exports = require("./drawer.cjs");
68
68
  },
69
- "./dropdown-menu" (module) {
69
+ "@/components/ui/dropdown-menu" (module) {
70
70
  module.exports = require("./dropdown-menu.cjs");
71
71
  },
72
- "@/components/ui/editable-cell" (module) {
72
+ "./editable-cell" (module) {
73
73
  module.exports = require("./editable-cell.cjs");
74
74
  },
75
75
  "./empty-state" (module) {
@@ -84,16 +84,16 @@ var __webpack_modules__ = {
84
84
  "@/components/ui/hover-card" (module) {
85
85
  module.exports = require("./hover-card.cjs");
86
86
  },
87
- "./info-tooltip" (module) {
87
+ "@/components/ui/info-tooltip" (module) {
88
88
  module.exports = require("./info-tooltip.cjs");
89
89
  },
90
90
  "@/components/ui/input-group" (module) {
91
91
  module.exports = require("./input-group.cjs");
92
92
  },
93
- "./input" (module) {
93
+ "@/components/ui/input" (module) {
94
94
  module.exports = require("./input.cjs");
95
95
  },
96
- "./label" (module) {
96
+ "@/components/ui/label" (module) {
97
97
  module.exports = require("./label.cjs");
98
98
  },
99
99
  "./layout" (module) {
@@ -108,7 +108,7 @@ var __webpack_modules__ = {
108
108
  "./pagination" (module) {
109
109
  module.exports = require("./pagination.cjs");
110
110
  },
111
- "./popover" (module) {
111
+ "@/components/ui/popover" (module) {
112
112
  module.exports = require("./popover.cjs");
113
113
  },
114
114
  "@/components/ui/portal-container" (module) {
@@ -162,7 +162,7 @@ var __webpack_modules__ = {
162
162
  "./switch" (module) {
163
163
  module.exports = require("./switch.cjs");
164
164
  },
165
- "@/components/ui/table" (module) {
165
+ "./table" (module) {
166
166
  module.exports = require("./table.cjs");
167
167
  },
168
168
  "./tabs" (module) {
@@ -174,10 +174,10 @@ var __webpack_modules__ = {
174
174
  "./toggle-group" (module) {
175
175
  module.exports = require("./toggle-group.cjs");
176
176
  },
177
- "./toggle" (module) {
177
+ "@/components/ui/toggle" (module) {
178
178
  module.exports = require("./toggle.cjs");
179
179
  },
180
- "@/components/ui/tooltip" (module) {
180
+ "./tooltip" (module) {
181
181
  module.exports = require("./tooltip.cjs");
182
182
  },
183
183
  "./tree-view" (module) {
@@ -296,14 +296,14 @@ var __webpack_exports__ = {};
296
296
  "default"
297
297
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_button_group__rspack_import_8[__rspack_import_key];
298
298
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
299
- var _calendar__rspack_import_9 = __webpack_require__("./calendar");
299
+ var _calendar__rspack_import_9 = __webpack_require__("@/components/ui/calendar");
300
300
  var __rspack_reexport = {};
301
301
  for(const __rspack_import_key in _calendar__rspack_import_9)if ([
302
302
  "TreeView",
303
303
  "default"
304
304
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_calendar__rspack_import_9[__rspack_import_key];
305
305
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
306
- var _card__rspack_import_10 = __webpack_require__("./card");
306
+ var _card__rspack_import_10 = __webpack_require__("@/components/ui/card");
307
307
  var __rspack_reexport = {};
308
308
  for(const __rspack_import_key in _card__rspack_import_10)if ([
309
309
  "TreeView",
@@ -317,14 +317,14 @@ var __webpack_exports__ = {};
317
317
  "default"
318
318
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_chart__rspack_import_11[__rspack_import_key];
319
319
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
320
- var _checkbox__rspack_import_12 = __webpack_require__("./checkbox");
320
+ var _checkbox__rspack_import_12 = __webpack_require__("@/components/ui/checkbox");
321
321
  var __rspack_reexport = {};
322
322
  for(const __rspack_import_key in _checkbox__rspack_import_12)if ([
323
323
  "TreeView",
324
324
  "default"
325
325
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_checkbox__rspack_import_12[__rspack_import_key];
326
326
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
327
- var _collapsible__rspack_import_13 = __webpack_require__("./collapsible");
327
+ var _collapsible__rspack_import_13 = __webpack_require__("@/components/ui/collapsible");
328
328
  var __rspack_reexport = {};
329
329
  for(const __rspack_import_key in _collapsible__rspack_import_13)if ([
330
330
  "TreeView",
@@ -345,7 +345,7 @@ var __webpack_exports__ = {};
345
345
  "default"
346
346
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_command__rspack_import_15[__rspack_import_key];
347
347
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
348
- var _context_menu__rspack_import_16 = __webpack_require__("./context-menu");
348
+ var _context_menu__rspack_import_16 = __webpack_require__("@/components/ui/context-menu");
349
349
  var __rspack_reexport = {};
350
350
  for(const __rspack_import_key in _context_menu__rspack_import_16)if ([
351
351
  "TreeView",
@@ -387,14 +387,14 @@ var __webpack_exports__ = {};
387
387
  "default"
388
388
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_drawer__rspack_import_21[__rspack_import_key];
389
389
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
390
- var _dropdown_menu__rspack_import_22 = __webpack_require__("./dropdown-menu");
390
+ var _dropdown_menu__rspack_import_22 = __webpack_require__("@/components/ui/dropdown-menu");
391
391
  var __rspack_reexport = {};
392
392
  for(const __rspack_import_key in _dropdown_menu__rspack_import_22)if ([
393
393
  "TreeView",
394
394
  "default"
395
395
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_dropdown_menu__rspack_import_22[__rspack_import_key];
396
396
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
397
- var _editable_cell__rspack_import_23 = __webpack_require__("@/components/ui/editable-cell");
397
+ var _editable_cell__rspack_import_23 = __webpack_require__("./editable-cell");
398
398
  var __rspack_reexport = {};
399
399
  for(const __rspack_import_key in _editable_cell__rspack_import_23)if ([
400
400
  "TreeView",
@@ -429,14 +429,14 @@ var __webpack_exports__ = {};
429
429
  "default"
430
430
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_hover_card__rspack_import_27[__rspack_import_key];
431
431
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
432
- var _info_tooltip__rspack_import_28 = __webpack_require__("./info-tooltip");
432
+ var _info_tooltip__rspack_import_28 = __webpack_require__("@/components/ui/info-tooltip");
433
433
  var __rspack_reexport = {};
434
434
  for(const __rspack_import_key in _info_tooltip__rspack_import_28)if ([
435
435
  "TreeView",
436
436
  "default"
437
437
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_info_tooltip__rspack_import_28[__rspack_import_key];
438
438
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
439
- var _input__rspack_import_29 = __webpack_require__("./input");
439
+ var _input__rspack_import_29 = __webpack_require__("@/components/ui/input");
440
440
  var __rspack_reexport = {};
441
441
  for(const __rspack_import_key in _input__rspack_import_29)if ([
442
442
  "TreeView",
@@ -450,7 +450,7 @@ var __webpack_exports__ = {};
450
450
  "default"
451
451
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_input_group__rspack_import_30[__rspack_import_key];
452
452
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
453
- var _label__rspack_import_31 = __webpack_require__("./label");
453
+ var _label__rspack_import_31 = __webpack_require__("@/components/ui/label");
454
454
  var __rspack_reexport = {};
455
455
  for(const __rspack_import_key in _label__rspack_import_31)if ([
456
456
  "TreeView",
@@ -485,7 +485,7 @@ var __webpack_exports__ = {};
485
485
  "default"
486
486
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_pagination__rspack_import_35[__rspack_import_key];
487
487
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
488
- var _popover__rspack_import_36 = __webpack_require__("./popover");
488
+ var _popover__rspack_import_36 = __webpack_require__("@/components/ui/popover");
489
489
  var __rspack_reexport = {};
490
490
  for(const __rspack_import_key in _popover__rspack_import_36)if ([
491
491
  "TreeView",
@@ -611,7 +611,7 @@ var __webpack_exports__ = {};
611
611
  "default"
612
612
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_switch__rspack_import_53[__rspack_import_key];
613
613
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
614
- var _table__rspack_import_54 = __webpack_require__("@/components/ui/table");
614
+ var _table__rspack_import_54 = __webpack_require__("./table");
615
615
  var __rspack_reexport = {};
616
616
  for(const __rspack_import_key in _table__rspack_import_54)if ([
617
617
  "TreeView",
@@ -632,7 +632,7 @@ var __webpack_exports__ = {};
632
632
  "default"
633
633
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_textarea__rspack_import_56[__rspack_import_key];
634
634
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
635
- var _toggle__rspack_import_57 = __webpack_require__("./toggle");
635
+ var _toggle__rspack_import_57 = __webpack_require__("@/components/ui/toggle");
636
636
  var __rspack_reexport = {};
637
637
  for(const __rspack_import_key in _toggle__rspack_import_57)if ([
638
638
  "TreeView",
@@ -646,7 +646,7 @@ var __webpack_exports__ = {};
646
646
  "default"
647
647
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_toggle_group__rspack_import_58[__rspack_import_key];
648
648
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
649
- var _tooltip__rspack_import_59 = __webpack_require__("@/components/ui/tooltip");
649
+ var _tooltip__rspack_import_59 = __webpack_require__("./tooltip");
650
650
  var __rspack_reexport = {};
651
651
  for(const __rspack_import_key in _tooltip__rspack_import_59)if ([
652
652
  "TreeView",
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, definition)=>{
5
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
+ enumerable: true,
7
+ get: definition[key]
8
+ });
9
+ };
10
+ })();
11
+ (()=>{
12
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
+ })();
14
+ (()=>{
15
+ __webpack_require__.r = (exports1)=>{
16
+ if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
+ value: 'Module'
18
+ });
19
+ Object.defineProperty(exports1, '__esModule', {
20
+ value: true
21
+ });
22
+ };
23
+ })();
24
+ var __webpack_exports__ = {};
25
+ __webpack_require__.r(__webpack_exports__);
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ ShortcutContainmentPlugin: ()=>ShortcutContainmentPlugin,
28
+ registerShortcutContainment: ()=>registerShortcutContainment
29
+ });
30
+ const LexicalComposerContext_namespaceObject = require("@lexical/react/LexicalComposerContext");
31
+ const external_lexical_namespaceObject = require("lexical");
32
+ const external_react_namespaceObject = require("react");
33
+ const FORMATTING_KEYS = [
34
+ 'b',
35
+ 'i',
36
+ 'u'
37
+ ];
38
+ const IS_APPLE = "u" > typeof navigator && /Mac|iPod|iPhone|iPad/.test(navigator.platform);
39
+ const CONTROL_OR_META = {
40
+ ctrlKey: !IS_APPLE,
41
+ metaKey: IS_APPLE
42
+ };
43
+ const registerShortcutContainment = (editor)=>editor.registerCommand(external_lexical_namespaceObject.KEY_DOWN_COMMAND, (event)=>{
44
+ if (FORMATTING_KEYS.some((key)=>(0, external_lexical_namespaceObject.isExactShortcutMatch)(event, key, CONTROL_OR_META))) event.stopPropagation();
45
+ return false;
46
+ }, external_lexical_namespaceObject.COMMAND_PRIORITY_NORMAL);
47
+ const ShortcutContainmentPlugin = ()=>{
48
+ const [editor] = (0, LexicalComposerContext_namespaceObject.useLexicalComposerContext)();
49
+ (0, external_react_namespaceObject.useEffect)(()=>registerShortcutContainment(editor), [
50
+ editor
51
+ ]);
52
+ return null;
53
+ };
54
+ exports.ShortcutContainmentPlugin = __webpack_exports__.ShortcutContainmentPlugin;
55
+ exports.registerShortcutContainment = __webpack_exports__.registerShortcutContainment;
56
+ for(var __rspack_i in __webpack_exports__)if (-1 === [
57
+ "ShortcutContainmentPlugin",
58
+ "registerShortcutContainment"
59
+ ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
60
+ Object.defineProperty(exports, '__esModule', {
61
+ value: true
62
+ });
@@ -0,0 +1,19 @@
1
+ import { type LexicalEditor } from 'lexical';
2
+ /**
3
+ * Keeps the formatting chords the editor consumes from reaching the host.
4
+ *
5
+ * Lexical's `$handleKeyDown` calls `preventDefault()` on Cmd/Ctrl+B / +I / +U and
6
+ * dispatches `FORMAT_TEXT_COMMAND`, but lets the event keep bubbling. A host that binds
7
+ * the same chord then acts on a keystroke the editor already ate: in a VS Code webview,
8
+ * bolding prompt-editor text also toggles the left sidebar, because VS Code forwards
9
+ * document-level keydown to its keybinding layer without consulting `defaultPrevented`.
10
+ *
11
+ * Only the chords we actually consume are swallowed. Cmd+A, Cmd+S, Cmd+V and friends
12
+ * still reach the host untouched.
13
+ *
14
+ * Registered at `COMMAND_PRIORITY_NORMAL`, above the `COMMAND_PRIORITY_EDITOR` slot
15
+ * Lexical's own handler occupies, and returns `false` so that handler still formats.
16
+ */
17
+ export declare const registerShortcutContainment: (editor: LexicalEditor) => (() => void);
18
+ /** Rich-mode only: the plain editor applies none of these formats, so its chords belong to the host. */
19
+ export declare const ShortcutContainmentPlugin: () => null;
@@ -0,0 +1,25 @@
1
+ import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
2
+ import { COMMAND_PRIORITY_NORMAL, KEY_DOWN_COMMAND, isExactShortcutMatch } from "lexical";
3
+ import { useEffect } from "react";
4
+ const FORMATTING_KEYS = [
5
+ 'b',
6
+ 'i',
7
+ 'u'
8
+ ];
9
+ const IS_APPLE = "u" > typeof navigator && /Mac|iPod|iPhone|iPad/.test(navigator.platform);
10
+ const CONTROL_OR_META = {
11
+ ctrlKey: !IS_APPLE,
12
+ metaKey: IS_APPLE
13
+ };
14
+ const registerShortcutContainment = (editor)=>editor.registerCommand(KEY_DOWN_COMMAND, (event)=>{
15
+ if (FORMATTING_KEYS.some((key)=>isExactShortcutMatch(event, key, CONTROL_OR_META))) event.stopPropagation();
16
+ return false;
17
+ }, COMMAND_PRIORITY_NORMAL);
18
+ const ShortcutContainmentPlugin = ()=>{
19
+ const [editor] = useLexicalComposerContext();
20
+ useEffect(()=>registerShortcutContainment(editor), [
21
+ editor
22
+ ]);
23
+ return null;
24
+ };
25
+ export { ShortcutContainmentPlugin, registerShortcutContainment };
@@ -49,6 +49,7 @@ const EditorRefPlugin_cjs_namespaceObject = require("./plugins/EditorRefPlugin.c
49
49
  const MultilinePlugin_cjs_namespaceObject = require("./plugins/MultilinePlugin.cjs");
50
50
  const NodeSelectionFixPlugin_cjs_namespaceObject = require("./plugins/NodeSelectionFixPlugin.cjs");
51
51
  const RenameTokensPlugin_cjs_namespaceObject = require("./plugins/RenameTokensPlugin.cjs");
52
+ const ShortcutContainmentPlugin_cjs_namespaceObject = require("./plugins/ShortcutContainmentPlugin.cjs");
52
53
  const ToolbarActionsPlugin_cjs_namespaceObject = require("./plugins/ToolbarActionsPlugin.cjs");
53
54
  const ValidateTokensPlugin_cjs_namespaceObject = require("./plugins/ValidateTokensPlugin.cjs");
54
55
  const ValueSyncPlugin_cjs_namespaceObject = require("./plugins/ValueSyncPlugin.cjs");
@@ -317,6 +318,7 @@ const EditorInner = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)
317
318
  richText && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
318
319
  children: [
319
320
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(LexicalListPlugin_namespaceObject.ListPlugin, {}),
321
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(ShortcutContainmentPlugin_cjs_namespaceObject.ShortcutContainmentPlugin, {}),
320
322
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(LexicalMarkdownShortcutPlugin_namespaceObject.MarkdownShortcutPlugin, {
321
323
  transformers: rich_serialization_cjs_namespaceObject.PROMPT_EDITOR_RICH_TRANSFORMERS
322
324
  })
@@ -21,6 +21,7 @@ import { EditorRefPlugin } from "./plugins/EditorRefPlugin.js";
21
21
  import { MultilinePlugin } from "./plugins/MultilinePlugin.js";
22
22
  import { NodeSelectionFixPlugin } from "./plugins/NodeSelectionFixPlugin.js";
23
23
  import { RenameTokensPlugin } from "./plugins/RenameTokensPlugin.js";
24
+ import { ShortcutContainmentPlugin } from "./plugins/ShortcutContainmentPlugin.js";
24
25
  import { ToolbarActionsPlugin } from "./plugins/ToolbarActionsPlugin.js";
25
26
  import { ValidateTokensPlugin } from "./plugins/ValidateTokensPlugin.js";
26
27
  import { ValueSyncPlugin } from "./plugins/ValueSyncPlugin.js";
@@ -289,6 +290,7 @@ const EditorInner = /*#__PURE__*/ forwardRef(({ initialValue, value, onChange, a
289
290
  richText && /*#__PURE__*/ jsxs(Fragment, {
290
291
  children: [
291
292
  /*#__PURE__*/ jsx(ListPlugin, {}),
293
+ /*#__PURE__*/ jsx(ShortcutContainmentPlugin, {}),
292
294
  /*#__PURE__*/ jsx(MarkdownShortcutPlugin, {
293
295
  transformers: PROMPT_EDITOR_RICH_TRANSFORMERS
294
296
  })
@@ -173,7 +173,7 @@ ScrollableTabsList.displayName = 'ScrollableTabsList';
173
173
  const TabsTrigger = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_tabs_namespaceObject.Trigger, {
174
174
  ref: ref,
175
175
  "data-slot": "tabs-trigger",
176
- className: (0, index_cjs_namespaceObject.cn)('inline-flex cursor-pointer items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm', className),
176
+ className: (0, index_cjs_namespaceObject.cn)('inline-flex cursor-pointer items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-(--tabs-active-shadow)', className),
177
177
  ...props
178
178
  }));
179
179
  TabsTrigger.displayName = react_tabs_namespaceObject.Trigger.displayName;
@@ -141,7 +141,7 @@ ScrollableTabsList.displayName = 'ScrollableTabsList';
141
141
  const TabsTrigger = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Trigger, {
142
142
  ref: ref,
143
143
  "data-slot": "tabs-trigger",
144
- className: cn('inline-flex cursor-pointer items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm', className),
144
+ className: cn('inline-flex cursor-pointer items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-(--tabs-active-shadow)', className),
145
145
  ...props
146
146
  }));
147
147
  TabsTrigger.displayName = Trigger.displayName;
package/dist/styles.css CHANGED
@@ -5873,6 +5873,12 @@
5873
5873
  color: var(--foreground);
5874
5874
  }
5875
5875
  }
5876
+ .data-\[state\=active\]\:shadow-\(--tabs-active-shadow\) {
5877
+ &[data-state="active"] {
5878
+ --tw-shadow: var(--tabs-active-shadow);
5879
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
5880
+ }
5881
+ }
5876
5882
  .data-\[state\=active\]\:shadow-none {
5877
5883
  &[data-state="active"] {
5878
5884
  --tw-shadow: 0 0 #0000;
@@ -10032,6 +10038,7 @@ html[dir='rtl'], [data-sonner-toaster][dir='rtl'] {
10032
10038
  }
10033
10039
  :root {
10034
10040
  --radius: 0.75rem;
10041
+ --tabs-active-shadow: 0 0 #0000;
10035
10042
  }
10036
10043
  body.light, .light:not(.react-flow), body.light-hc, .light-hc, body.dark, .dark:not(.react-flow), body.dark-hc, .dark-hc, body.future-dark, .future-dark, body.future-light, .future-light {
10037
10044
  --surface: var(--color-background);
@@ -10112,10 +10119,12 @@ body.light, .light:not(.react-flow), body.light-hc, .light-hc, body.dark, .dark:
10112
10119
  --destructive-foreground: var(--foreground-on-accent);
10113
10120
  --border-de-emp: var(--border-subtle);
10114
10121
  --input: var(--border-subtle);
10122
+ --tabs-active-shadow: 0 0 0 1px var(--input);
10115
10123
  }
10116
10124
  body.light, .light:not(.react-flow), body.light-hc, .light-hc {
10117
10125
  --surface-muted: var(--color-background-gray);
10118
10126
  --warning: var(--color-warning-text);
10127
+ --muted: var(--surface-overlay);
10119
10128
  color-scheme: light;
10120
10129
  }
10121
10130
  body.dark, .dark:not(.react-flow), body.dark-hc, .dark-hc {
@@ -10135,6 +10144,7 @@ body.future-dark, .future-dark, body.future-light, .future-light {
10135
10144
  --destructive: var(--color-red-500);
10136
10145
  --destructive-foreground: var(--color-zinc-50);
10137
10146
  --input: var(--ap-wind-border);
10147
+ --tabs-active-shadow: 0 0 #0000;
10138
10148
  --font-sans: Inter, noto-sans, "Noto Sans JP", "Noto Sans KR", "Noto Sans SC",
10139
10149
  "Noto Sans TC", system-ui, sans-serif;
10140
10150
  --font-normal: var(--font-sans);
package/dist/tailwind.css CHANGED
@@ -19,6 +19,11 @@
19
19
  :root {
20
20
  --radius: 0.75rem;
21
21
  /* 12px — base border-radius for buttons and UI elements */
22
+
23
+ /* Active pill-tab edge. Themes override this below; the default is a no-op
24
+ shadow so the box-shadow stack (focus ring included) stays valid when no
25
+ theme class is present. */
26
+ --tabs-active-shadow: 0 0 #0000;
22
27
  }
23
28
 
24
29
  /* Variant active when the component is inside a Future Dark or Light theme */
@@ -154,6 +159,11 @@ body.future-light, .future-light {
154
159
  --destructive-foreground: var(--foreground-on-accent);
155
160
  --border-de-emp: var(--border-subtle);
156
161
  --input: var(--border-subtle);
162
+
163
+ /* Classic themes mark the active pill tab with a 1px hairline in the same
164
+ color as input and panel borders, drawn in the shadow slot so consumer
165
+ shadow overrides keep working. The Future family clears it below. */
166
+ --tabs-active-shadow: 0 0 0 1px var(--input);
157
167
  }
158
168
 
159
169
  /* ── Classic light family — mapping divergences + element-scoped color-scheme ── */
@@ -161,6 +171,10 @@ body.light, .light:not(.react-flow),
161
171
  body.light-hc, .light-hc {
162
172
  --surface-muted: var(--color-background-gray);
163
173
  --warning: var(--color-warning-text);
174
+ /* Classic light's raised surface is the same white as the page, so the
175
+ shared --muted mapping renders with no contrast (e.g. Tabs track).
176
+ Use the overlay surface instead, matching the Future family mapping. */
177
+ --muted: var(--surface-overlay);
164
178
  color-scheme: light;
165
179
  }
166
180
 
@@ -199,6 +213,8 @@ body.future-light, .future-light {
199
213
  --destructive: var(--color-red-500);
200
214
  --destructive-foreground: var(--color-zinc-50);
201
215
  --input: var(--ap-wind-border);
216
+ /* Future is flat: the active pill is distinguished by surface alone, no edge or shadow */
217
+ --tabs-active-shadow: 0 0 #0000;
202
218
 
203
219
  /* Typography: Inter, shipped by apollo-core. Neither Inter nor noto-sans
204
220
  covers CJK, so the four bundled Noto CJK families are chained explicitly
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-wind",
3
- "version": "2.52.1",
3
+ "version": "2.52.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",