@uipath/apollo-wind 2.1.0 → 2.2.0-pr525.171b58a

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.
package/README.md CHANGED
@@ -142,7 +142,7 @@ This package is part of a pnpm workspace. All commands should be run using `pnpm
142
142
  ```bash
143
143
  pnpm install # Install all dependencies
144
144
  pnpm build # Build apollo packages
145
- pnpm storybook:wind # Run Storybook on http://localhost:6006
145
+ pnpm storybook:design # Run Storybook on http://localhost:6006
146
146
  pnpm test --filter=@uipath/apollo-wind # Run tests
147
147
  pnpm lint --filter=@uipath/apollo-wind # Run lint
148
148
  pnpm format --filter=@uipath/apollo-wind # Run biome format
@@ -0,0 +1,5 @@
1
+ var __webpack_exports__ = {};
2
+ for(var __rspack_i in __webpack_exports__)exports[__rspack_i] = __webpack_exports__[__rspack_i];
3
+ Object.defineProperty(exports, '__esModule', {
4
+ value: true
5
+ });
@@ -0,0 +1 @@
1
+ export {};
File without changes
@@ -65,7 +65,7 @@ function FieldItem({ field, onGraphControl }) {
65
65
  onValueChange: setValue,
66
66
  children: [
67
67
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(select_cjs_namespaceObject.SelectTrigger, {
68
- className: (0, index_cjs_namespaceObject.cn)('h-10 rounded-xl border-0 shadow-sm', value ? 'bg-surface-hover text-foreground' : 'bg-surface-overlay text-foreground-muted'),
68
+ className: "h-10 rounded-xl border-0 bg-surface-overlay text-foreground shadow-sm placeholder:text-foreground-muted",
69
69
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(select_cjs_namespaceObject.SelectValue, {
70
70
  placeholder: field.placeholder ?? 'Select...'
71
71
  })
@@ -80,17 +80,17 @@ function FieldItem({ field, onGraphControl }) {
80
80
  })
81
81
  ]
82
82
  }) : 'url' === field.type ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
83
- className: "flex h-10 items-center overflow-hidden rounded-xl bg-surface-overlay shadow-sm",
83
+ className: "flex h-10 w-full items-center overflow-hidden rounded-xl bg-surface-overlay shadow-[0px_1px_2px_0px_rgba(0,0,0,0.05)] transition-colors focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2 focus-within:ring-offset-background",
84
84
  children: [
85
85
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(input_cjs_namespaceObject.Input, {
86
86
  value: value,
87
87
  onChange: (e)=>setValue(e.target.value),
88
88
  placeholder: field.placeholder,
89
- className: "h-full flex-1 rounded-none border-0 bg-transparent text-sm font-medium text-foreground-muted shadow-none placeholder:text-foreground-subtle focus-visible:ring-0"
89
+ className: "h-full flex-1 rounded-none border-0 bg-transparent px-3 py-0 shadow-none focus-visible:ring-0 focus-visible:ring-offset-0 future:h-full future:rounded-none future:border-0 future:bg-transparent future:py-0 future:shadow-none future:focus-visible:ring-0 future:focus-visible:ring-offset-0"
90
90
  }),
91
91
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
92
92
  type: "button",
93
- className: "flex h-full w-[50px] items-center justify-center border-l border-border text-foreground-muted transition-colors hover:text-foreground",
93
+ className: "flex h-full w-[50px] shrink-0 items-center justify-center border-l border-border text-foreground-muted transition-colors hover:text-foreground",
94
94
  "aria-label": "Browse files",
95
95
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Folder, {
96
96
  className: "h-5 w-5"
@@ -100,8 +100,7 @@ function FieldItem({ field, onGraphControl }) {
100
100
  }) : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(input_cjs_namespaceObject.Input, {
101
101
  value: value,
102
102
  onChange: (e)=>setValue(e.target.value),
103
- placeholder: field.placeholder,
104
- className: (0, index_cjs_namespaceObject.cn)('h-10 rounded-xl border-0 text-sm font-medium shadow-sm', value ? 'bg-surface-hover text-foreground' : 'bg-surface-overlay text-foreground-muted placeholder:text-foreground-subtle')
103
+ placeholder: field.placeholder
105
104
  })
106
105
  ]
107
106
  });
@@ -37,7 +37,7 @@ function FieldItem({ field, onGraphControl }) {
37
37
  onValueChange: setValue,
38
38
  children: [
39
39
  /*#__PURE__*/ jsx(SelectTrigger, {
40
- className: cn('h-10 rounded-xl border-0 shadow-sm', value ? 'bg-surface-hover text-foreground' : 'bg-surface-overlay text-foreground-muted'),
40
+ className: "h-10 rounded-xl border-0 bg-surface-overlay text-foreground shadow-sm placeholder:text-foreground-muted",
41
41
  children: /*#__PURE__*/ jsx(SelectValue, {
42
42
  placeholder: field.placeholder ?? 'Select...'
43
43
  })
@@ -52,17 +52,17 @@ function FieldItem({ field, onGraphControl }) {
52
52
  })
53
53
  ]
54
54
  }) : 'url' === field.type ? /*#__PURE__*/ jsxs("div", {
55
- className: "flex h-10 items-center overflow-hidden rounded-xl bg-surface-overlay shadow-sm",
55
+ className: "flex h-10 w-full items-center overflow-hidden rounded-xl bg-surface-overlay shadow-[0px_1px_2px_0px_rgba(0,0,0,0.05)] transition-colors focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2 focus-within:ring-offset-background",
56
56
  children: [
57
57
  /*#__PURE__*/ jsx(Input, {
58
58
  value: value,
59
59
  onChange: (e)=>setValue(e.target.value),
60
60
  placeholder: field.placeholder,
61
- className: "h-full flex-1 rounded-none border-0 bg-transparent text-sm font-medium text-foreground-muted shadow-none placeholder:text-foreground-subtle focus-visible:ring-0"
61
+ className: "h-full flex-1 rounded-none border-0 bg-transparent px-3 py-0 shadow-none focus-visible:ring-0 focus-visible:ring-offset-0 future:h-full future:rounded-none future:border-0 future:bg-transparent future:py-0 future:shadow-none future:focus-visible:ring-0 future:focus-visible:ring-offset-0"
62
62
  }),
63
63
  /*#__PURE__*/ jsx("button", {
64
64
  type: "button",
65
- className: "flex h-full w-[50px] items-center justify-center border-l border-border text-foreground-muted transition-colors hover:text-foreground",
65
+ className: "flex h-full w-[50px] shrink-0 items-center justify-center border-l border-border text-foreground-muted transition-colors hover:text-foreground",
66
66
  "aria-label": "Browse files",
67
67
  children: /*#__PURE__*/ jsx(Folder, {
68
68
  className: "h-5 w-5"
@@ -72,8 +72,7 @@ function FieldItem({ field, onGraphControl }) {
72
72
  }) : /*#__PURE__*/ jsx(Input, {
73
73
  value: value,
74
74
  onChange: (e)=>setValue(e.target.value),
75
- placeholder: field.placeholder,
76
- className: cn('h-10 rounded-xl border-0 text-sm font-medium shadow-sm', value ? 'bg-surface-hover text-foreground' : 'bg-surface-overlay text-foreground-muted placeholder:text-foreground-subtle')
75
+ placeholder: field.placeholder
77
76
  })
78
77
  ]
79
78
  });
@@ -33,12 +33,12 @@ const external_react_namespaceObject = require("react");
33
33
  const utils_cjs_namespaceObject = require("../../lib/utils.cjs");
34
34
  const Checkbox = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_checkbox_namespaceObject.Root, {
35
35
  ref: ref,
36
- className: (0, utils_cjs_namespaceObject.cn)('peer h-4 w-4 shrink-0 cursor-pointer rounded-sm border border-border ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground', className),
36
+ className: (0, utils_cjs_namespaceObject.cn)('peer h-4 w-4 shrink-0 cursor-pointer rounded-sm border border-border ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground', 'future:hover:border-border-hover future:data-[state=checked]:border-foreground-accent future:data-[state=checked]:bg-foreground-accent future:data-[state=checked]:text-current', className),
37
37
  ...props,
38
38
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_checkbox_namespaceObject.Indicator, {
39
- className: (0, utils_cjs_namespaceObject.cn)('flex items-center justify-center text-current'),
39
+ className: (0, utils_cjs_namespaceObject.cn)('flex items-center justify-center text-current future:text-foreground-inverse'),
40
40
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Check, {
41
- className: "h-4 w-4"
41
+ className: "h-4 w-4 future:h-3.5 future:w-3.5"
42
42
  })
43
43
  })
44
44
  }));
@@ -5,12 +5,12 @@ import { forwardRef } from "react";
5
5
  import { cn } from "../../lib/utils.js";
6
6
  const Checkbox = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Root, {
7
7
  ref: ref,
8
- className: cn('peer h-4 w-4 shrink-0 cursor-pointer rounded-sm border border-border ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground', className),
8
+ className: cn('peer h-4 w-4 shrink-0 cursor-pointer rounded-sm border border-border ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground', 'future:hover:border-border-hover future:data-[state=checked]:border-foreground-accent future:data-[state=checked]:bg-foreground-accent future:data-[state=checked]:text-current', className),
9
9
  ...props,
10
10
  children: /*#__PURE__*/ jsx(Indicator, {
11
- className: cn('flex items-center justify-center text-current'),
11
+ className: cn('flex items-center justify-center text-current future:text-foreground-inverse'),
12
12
  children: /*#__PURE__*/ jsx(Check, {
13
- className: "h-4 w-4"
13
+ className: "h-4 w-4 future:h-3.5 future:w-3.5"
14
14
  })
15
15
  })
16
16
  }));
@@ -27,13 +27,13 @@ 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
33
  "./card" (module) {
34
34
  module.exports = require("./card.cjs");
35
35
  },
36
- "@/components/ui/checkbox" (module) {
36
+ "./checkbox" (module) {
37
37
  module.exports = require("./checkbox.cjs");
38
38
  },
39
39
  "./collapsible" (module) {
@@ -42,10 +42,10 @@ var __webpack_modules__ = {
42
42
  "./combobox" (module) {
43
43
  module.exports = require("./combobox.cjs");
44
44
  },
45
- "@/components/ui/command" (module) {
45
+ "./command" (module) {
46
46
  module.exports = require("./command.cjs");
47
47
  },
48
- "@/components/ui/context-menu" (module) {
48
+ "./context-menu" (module) {
49
49
  module.exports = require("./context-menu.cjs");
50
50
  },
51
51
  "./data-table" (module) {
@@ -72,7 +72,7 @@ var __webpack_modules__ = {
72
72
  "./file-upload" (module) {
73
73
  module.exports = require("./file-upload.cjs");
74
74
  },
75
- "@/components/ui/hover-card" (module) {
75
+ "./hover-card" (module) {
76
76
  module.exports = require("./hover-card.cjs");
77
77
  },
78
78
  "./input" (module) {
@@ -269,7 +269,7 @@ var __webpack_exports__ = {};
269
269
  "default"
270
270
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_button_group__rspack_import_8[__rspack_import_key];
271
271
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
272
- var _calendar__rspack_import_9 = __webpack_require__("./calendar");
272
+ var _calendar__rspack_import_9 = __webpack_require__("@/components/ui/calendar");
273
273
  var __rspack_reexport = {};
274
274
  for(const __rspack_import_key in _calendar__rspack_import_9)if ([
275
275
  "TreeView",
@@ -283,7 +283,7 @@ var __webpack_exports__ = {};
283
283
  "default"
284
284
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_card__rspack_import_10[__rspack_import_key];
285
285
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
286
- var _checkbox__rspack_import_11 = __webpack_require__("@/components/ui/checkbox");
286
+ var _checkbox__rspack_import_11 = __webpack_require__("./checkbox");
287
287
  var __rspack_reexport = {};
288
288
  for(const __rspack_import_key in _checkbox__rspack_import_11)if ([
289
289
  "TreeView",
@@ -304,14 +304,14 @@ var __webpack_exports__ = {};
304
304
  "default"
305
305
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_combobox__rspack_import_13[__rspack_import_key];
306
306
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
307
- var _command__rspack_import_14 = __webpack_require__("@/components/ui/command");
307
+ var _command__rspack_import_14 = __webpack_require__("./command");
308
308
  var __rspack_reexport = {};
309
309
  for(const __rspack_import_key in _command__rspack_import_14)if ([
310
310
  "TreeView",
311
311
  "default"
312
312
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_command__rspack_import_14[__rspack_import_key];
313
313
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
314
- var _context_menu__rspack_import_15 = __webpack_require__("@/components/ui/context-menu");
314
+ var _context_menu__rspack_import_15 = __webpack_require__("./context-menu");
315
315
  var __rspack_reexport = {};
316
316
  for(const __rspack_import_key in _context_menu__rspack_import_15)if ([
317
317
  "TreeView",
@@ -374,7 +374,7 @@ var __webpack_exports__ = {};
374
374
  "default"
375
375
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_file_upload__rspack_import_23[__rspack_import_key];
376
376
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
377
- var _hover_card__rspack_import_24 = __webpack_require__("@/components/ui/hover-card");
377
+ var _hover_card__rspack_import_24 = __webpack_require__("./hover-card");
378
378
  var __rspack_reexport = {};
379
379
  for(const __rspack_import_key in _hover_card__rspack_import_24)if ([
380
380
  "TreeView",
@@ -31,7 +31,7 @@ const external_react_namespaceObject = require("react");
31
31
  const utils_cjs_namespaceObject = require("../../lib/utils.cjs");
32
32
  const Input = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, type, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("input", {
33
33
  type: type,
34
- className: (0, utils_cjs_namespaceObject.cn)('flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', className),
34
+ className: (0, utils_cjs_namespaceObject.cn)('flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', 'future:h-10 future:rounded-xl future:border-0 future:bg-surface-overlay future:py-2 future:text-sm future:shadow-[0px_1px_2px_0px_rgba(0,0,0,0.05)] future:placeholder:text-foreground-muted future:placeholder:font-normal future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', className),
35
35
  ref: ref,
36
36
  ...props
37
37
  }));
@@ -3,7 +3,7 @@ import { forwardRef } from "react";
3
3
  import { cn } from "../../lib/utils.js";
4
4
  const Input = /*#__PURE__*/ forwardRef(({ className, type, ...props }, ref)=>/*#__PURE__*/ jsx("input", {
5
5
  type: type,
6
- className: cn('flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', className),
6
+ className: cn('flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', 'future:h-10 future:rounded-xl future:border-0 future:bg-surface-overlay future:py-2 future:text-sm future:shadow-[0px_1px_2px_0px_rgba(0,0,0,0.05)] future:placeholder:text-foreground-muted future:placeholder:font-normal future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', className),
7
7
  ref: ref,
8
8
  ...props
9
9
  }));
@@ -40,12 +40,12 @@ const RadioGroup = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ cl
40
40
  RadioGroup.displayName = react_radio_group_namespaceObject.Root.displayName;
41
41
  const RadioGroupItem = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_radio_group_namespaceObject.Item, {
42
42
  ref: ref,
43
- className: (0, index_cjs_namespaceObject.cn)('aspect-square h-4 w-4 cursor-pointer rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50', className),
43
+ className: (0, index_cjs_namespaceObject.cn)('aspect-square h-4 w-4 cursor-pointer rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50', 'future:border-border future:text-foreground future:hover:border-border-hover future:data-[state=checked]:border-foreground-muted', className),
44
44
  ...props,
45
45
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_radio_group_namespaceObject.Indicator, {
46
46
  className: "flex items-center justify-center",
47
47
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Circle, {
48
- className: "h-2.5 w-2.5 fill-current text-current"
48
+ className: "h-2.5 w-2.5 fill-current text-current future:fill-foreground-accent future:text-foreground-accent"
49
49
  })
50
50
  })
51
51
  }));
@@ -11,12 +11,12 @@ const RadioGroup = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#_
11
11
  RadioGroup.displayName = Root.displayName;
12
12
  const RadioGroupItem = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Item, {
13
13
  ref: ref,
14
- className: cn('aspect-square h-4 w-4 cursor-pointer rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50', className),
14
+ className: cn('aspect-square h-4 w-4 cursor-pointer rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50', 'future:border-border future:text-foreground future:hover:border-border-hover future:data-[state=checked]:border-foreground-muted', className),
15
15
  ...props,
16
16
  children: /*#__PURE__*/ jsx(Indicator, {
17
17
  className: "flex items-center justify-center",
18
18
  children: /*#__PURE__*/ jsx(Circle, {
19
- className: "h-2.5 w-2.5 fill-current text-current"
19
+ className: "h-2.5 w-2.5 fill-current text-current future:fill-foreground-accent future:text-foreground-accent"
20
20
  })
21
21
  })
22
22
  }));
@@ -41,7 +41,7 @@ const TooltipPortal = react_tooltip_namespaceObject.Portal;
41
41
  const TooltipContent = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, sideOffset = 4, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_tooltip_namespaceObject.Content, {
42
42
  ref: ref,
43
43
  sideOffset: sideOffset,
44
- className: (0, index_cjs_namespaceObject.cn)('z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]', className),
44
+ className: (0, index_cjs_namespaceObject.cn)('z-50 overflow-hidden rounded-md border border-border-subtle bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]', className),
45
45
  ...props
46
46
  }));
47
47
  TooltipContent.displayName = react_tooltip_namespaceObject.Content.displayName;
@@ -9,7 +9,7 @@ const TooltipPortal = Portal;
9
9
  const TooltipContent = /*#__PURE__*/ forwardRef(({ className, sideOffset = 4, ...props }, ref)=>/*#__PURE__*/ jsx(Content, {
10
10
  ref: ref,
11
11
  sideOffset: sideOffset,
12
- className: cn('z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]', className),
12
+ className: cn('z-50 overflow-hidden rounded-md border border-border-subtle bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]', className),
13
13
  ...props
14
14
  }));
15
15
  TooltipContent.displayName = Content.displayName;
package/dist/styles.css CHANGED
@@ -279,6 +279,7 @@
279
279
  --default-mono-font-family: var(--font-mono);
280
280
  --color-brand: var(--brand);
281
281
  --color-foreground-inverse: var(--foreground-inverse);
282
+ --color-border-hover: var(--border-hover);
282
283
  --color-background: var(--background);
283
284
  --color-foreground: var(--foreground);
284
285
  --color-card: var(--card);
@@ -3956,6 +3957,10 @@
3956
3957
  --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));
3957
3958
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
3958
3959
  }
3960
+ .shadow-\[0px_1px_2px_0px_rgba\(0\,0\,0\,0\.05\)\] {
3961
+ --tw-shadow: 0px 1px 2px 0px var(--tw-shadow-color, rgba(0,0,0,0.05));
3962
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
3963
+ }
3959
3964
  .shadow-\[0px_4px_4px_0px_rgba\(0\,0\,0\,0\.05\)\] {
3960
3965
  --tw-shadow: 0px 4px 4px 0px var(--tw-shadow-color, rgba(0,0,0,0.05));
3961
3966
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
@@ -4426,6 +4431,28 @@
4426
4431
  border-color: var(--border-hover);
4427
4432
  }
4428
4433
  }
4434
+ .focus-within\:ring-2 {
4435
+ &:focus-within {
4436
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
4437
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
4438
+ }
4439
+ }
4440
+ .focus-within\:ring-ring {
4441
+ &:focus-within {
4442
+ --tw-ring-color: var(--ring);
4443
+ }
4444
+ }
4445
+ .focus-within\:ring-offset-2 {
4446
+ &:focus-within {
4447
+ --tw-ring-offset-width: 2px;
4448
+ --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
4449
+ }
4450
+ }
4451
+ .focus-within\:ring-offset-background {
4452
+ &:focus-within {
4453
+ --tw-ring-offset-color: var(--background);
4454
+ }
4455
+ }
4429
4456
  .hover\:scale-105 {
4430
4457
  &:hover {
4431
4458
  @media (hover: hover) {
@@ -5687,6 +5714,188 @@
5687
5714
  color: var(--color-red-400);
5688
5715
  }
5689
5716
  }
5717
+ .future\:h-3\.5 {
5718
+ :is(.future-dark, .future-light) & {
5719
+ height: calc(var(--spacing) * 3.5);
5720
+ }
5721
+ }
5722
+ .future\:h-10 {
5723
+ :is(.future-dark, .future-light) & {
5724
+ height: calc(var(--spacing) * 10);
5725
+ }
5726
+ }
5727
+ .future\:h-full {
5728
+ :is(.future-dark, .future-light) & {
5729
+ height: 100%;
5730
+ }
5731
+ }
5732
+ .future\:w-3\.5 {
5733
+ :is(.future-dark, .future-light) & {
5734
+ width: calc(var(--spacing) * 3.5);
5735
+ }
5736
+ }
5737
+ .future\:rounded-none {
5738
+ :is(.future-dark, .future-light) & {
5739
+ border-radius: 0;
5740
+ }
5741
+ }
5742
+ .future\:rounded-xl {
5743
+ :is(.future-dark, .future-light) & {
5744
+ border-radius: var(--radius-xl);
5745
+ }
5746
+ }
5747
+ .future\:border-0 {
5748
+ :is(.future-dark, .future-light) & {
5749
+ border-style: var(--tw-border-style);
5750
+ border-width: 0px;
5751
+ }
5752
+ }
5753
+ .future\:border-border {
5754
+ :is(.future-dark, .future-light) & {
5755
+ border-color: var(--ap-wind-border);
5756
+ }
5757
+ }
5758
+ .future\:bg-surface-overlay {
5759
+ :is(.future-dark, .future-light) & {
5760
+ background-color: var(--surface-overlay);
5761
+ }
5762
+ }
5763
+ .future\:bg-transparent {
5764
+ :is(.future-dark, .future-light) & {
5765
+ background-color: transparent;
5766
+ }
5767
+ }
5768
+ .future\:fill-foreground-accent {
5769
+ :is(.future-dark, .future-light) & {
5770
+ fill: var(--foreground-accent);
5771
+ }
5772
+ }
5773
+ .future\:py-0 {
5774
+ :is(.future-dark, .future-light) & {
5775
+ padding-block: calc(var(--spacing) * 0);
5776
+ }
5777
+ }
5778
+ .future\:py-2 {
5779
+ :is(.future-dark, .future-light) & {
5780
+ padding-block: calc(var(--spacing) * 2);
5781
+ }
5782
+ }
5783
+ .future\:text-sm {
5784
+ :is(.future-dark, .future-light) & {
5785
+ font-size: var(--text-sm);
5786
+ line-height: var(--tw-leading, var(--text-sm--line-height));
5787
+ }
5788
+ }
5789
+ .future\:text-foreground {
5790
+ :is(.future-dark, .future-light) & {
5791
+ color: var(--foreground);
5792
+ }
5793
+ }
5794
+ .future\:text-foreground-accent {
5795
+ :is(.future-dark, .future-light) & {
5796
+ color: var(--foreground-accent);
5797
+ }
5798
+ }
5799
+ .future\:text-foreground-inverse {
5800
+ :is(.future-dark, .future-light) & {
5801
+ color: var(--foreground-inverse);
5802
+ }
5803
+ }
5804
+ .future\:shadow-\[0px_1px_2px_0px_rgba\(0\,0\,0\,0\.05\)\] {
5805
+ :is(.future-dark, .future-light) & {
5806
+ --tw-shadow: 0px 1px 2px 0px var(--tw-shadow-color, rgba(0,0,0,0.05));
5807
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
5808
+ }
5809
+ }
5810
+ .future\:shadow-none {
5811
+ :is(.future-dark, .future-light) & {
5812
+ --tw-shadow: 0 0 #0000;
5813
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
5814
+ }
5815
+ }
5816
+ .future\:placeholder\:font-normal {
5817
+ :is(.future-dark, .future-light) & {
5818
+ &::placeholder {
5819
+ --tw-font-weight: var(--font-weight-normal);
5820
+ font-weight: var(--font-weight-normal);
5821
+ }
5822
+ }
5823
+ }
5824
+ .future\:placeholder\:text-foreground-muted {
5825
+ :is(.future-dark, .future-light) & {
5826
+ &::placeholder {
5827
+ color: var(--foreground-muted);
5828
+ }
5829
+ }
5830
+ }
5831
+ .future\:hover\:border-border-hover {
5832
+ :is(.future-dark, .future-light) & {
5833
+ &:hover {
5834
+ @media (hover: hover) {
5835
+ border-color: var(--border-hover);
5836
+ }
5837
+ }
5838
+ }
5839
+ }
5840
+ .future\:focus-visible\:ring-0 {
5841
+ :is(.future-dark, .future-light) & {
5842
+ &:focus-visible {
5843
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
5844
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
5845
+ }
5846
+ }
5847
+ }
5848
+ .future\:focus-visible\:ring-offset-0 {
5849
+ :is(.future-dark, .future-light) & {
5850
+ &:focus-visible {
5851
+ --tw-ring-offset-width: 0px;
5852
+ --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
5853
+ }
5854
+ }
5855
+ }
5856
+ .future\:focus-visible\:ring-offset-2 {
5857
+ :is(.future-dark, .future-light) & {
5858
+ &:focus-visible {
5859
+ --tw-ring-offset-width: 2px;
5860
+ --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
5861
+ }
5862
+ }
5863
+ }
5864
+ .future\:focus-visible\:ring-offset-background {
5865
+ :is(.future-dark, .future-light) & {
5866
+ &:focus-visible {
5867
+ --tw-ring-offset-color: var(--background);
5868
+ }
5869
+ }
5870
+ }
5871
+ .future\:data-\[state\=checked\]\:border-foreground-accent {
5872
+ :is(.future-dark, .future-light) & {
5873
+ &[data-state="checked"] {
5874
+ border-color: var(--foreground-accent);
5875
+ }
5876
+ }
5877
+ }
5878
+ .future\:data-\[state\=checked\]\:border-foreground-muted {
5879
+ :is(.future-dark, .future-light) & {
5880
+ &[data-state="checked"] {
5881
+ border-color: var(--foreground-muted);
5882
+ }
5883
+ }
5884
+ }
5885
+ .future\:data-\[state\=checked\]\:bg-foreground-accent {
5886
+ :is(.future-dark, .future-light) & {
5887
+ &[data-state="checked"] {
5888
+ background-color: var(--foreground-accent);
5889
+ }
5890
+ }
5891
+ }
5892
+ .future\:data-\[state\=checked\]\:text-current {
5893
+ :is(.future-dark, .future-light) & {
5894
+ &[data-state="checked"] {
5895
+ color: currentcolor;
5896
+ }
5897
+ }
5898
+ }
5690
5899
  .\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground {
5691
5900
  & .recharts-cartesian-axis-tick text {
5692
5901
  fill: var(--muted-foreground);
@@ -8234,6 +8443,35 @@ body.canvas, .canvas {
8234
8443
  opacity: 0;
8235
8444
  }
8236
8445
  }
8446
+ @keyframes glow {
8447
+ 0% {
8448
+ box-shadow: 0 0 0 0 var(--_glow-shadow, currentColor);
8449
+ }
8450
+ 70% {
8451
+ box-shadow: 0 0 0 10px transparent;
8452
+ }
8453
+ 100% {
8454
+ box-shadow: 0 0 0 0 transparent;
8455
+ }
8456
+ }
8457
+ .future-dark, .dark, .dark-hc {
8458
+ scrollbar-width: thin;
8459
+ scrollbar-color: var(--color-border) transparent;
8460
+ & *::-webkit-scrollbar {
8461
+ width: 6px;
8462
+ height: 6px;
8463
+ }
8464
+ & *::-webkit-scrollbar-track {
8465
+ background: transparent;
8466
+ }
8467
+ & *::-webkit-scrollbar-thumb {
8468
+ background-color: var(--color-border);
8469
+ border-radius: 9999px;
8470
+ }
8471
+ & *::-webkit-scrollbar-thumb:hover {
8472
+ background-color: var(--color-border-hover);
8473
+ }
8474
+ }
8237
8475
  @property --tw-translate-x {
8238
8476
  syntax: "*";
8239
8477
  inherits: false;
package/dist/tailwind.css CHANGED
@@ -18,6 +18,9 @@
18
18
  /* 12px — base border-radius for buttons and UI elements */
19
19
  }
20
20
 
21
+ /* Variant active when the component is inside a Future Dark or Light theme */
22
+ @custom-variant future (:is(.future-dark, .future-light) &);
23
+
21
24
  /**
22
25
  * Individual theme definitions with fallback HEX values
23
26
  * Each theme uses semantic tokens from apollo-core with hardcoded fallbacks
@@ -1223,4 +1226,77 @@ body.canvas, .canvas {
1223
1226
  @theme inline {
1224
1227
  --animate-collapsible-down: collapsible-down 200ms ease-out;
1225
1228
  --animate-collapsible-up: collapsible-up 200ms ease-out;
1229
+ }
1230
+
1231
+ /* ============================================================================
1232
+ * Glow — attention-drawing ring pulse
1233
+ *
1234
+ * `animate-glow` drives an expanding box-shadow ring around any element.
1235
+ * The color and intensity are driven by CSS variables so the same utility
1236
+ * works for status indicators, brand highlights, ad-hoc attention prompts,
1237
+ * or any custom color.
1238
+ *
1239
+ * Knobs (set via inline style or a Tailwind arbitrary value):
1240
+ * --glow-color source color (default: currentColor)
1241
+ * --glow-strength mix percent (default: 40%)
1242
+ *
1243
+ * Examples:
1244
+ * <div className="animate-glow [--glow-color:var(--error)]" />
1245
+ * <div className="animate-glow [--glow-color:var(--info)] [--glow-strength:60%]" />
1246
+ * <div className="text-info animate-glow" /> // picks up --brand or falls back to currentColor
1247
+ *
1248
+ * Implementation note: the color-mix lives in the utility body (not the
1249
+ * keyframe) to avoid a lightningcss bug that drops keyframe declarations
1250
+ * containing `color-mix(... var(...) ...)`. The internal `--_glow-shadow`
1251
+ * holds the pre-mixed value for the keyframe to consume.
1252
+ * ============================================================================ */
1253
+
1254
+ @keyframes glow {
1255
+ 0% { box-shadow: 0 0 0 0 var(--_glow-shadow, currentColor); }
1256
+ 70% { box-shadow: 0 0 0 10px transparent; }
1257
+ 100% { box-shadow: 0 0 0 0 transparent; }
1258
+ }
1259
+
1260
+ @utility animate-glow {
1261
+ --_glow-shadow: color-mix(
1262
+ in srgb,
1263
+ var(--glow-color, var(--brand, currentColor)) var(--glow-strength, 40%),
1264
+ transparent
1265
+ );
1266
+ animation: glow 2s infinite;
1267
+ }
1268
+
1269
+ /* ============================================================================
1270
+ * Theme-aware scrollbars
1271
+ *
1272
+ * Dark themes: future-dark + dark-hc are applied to <html>;
1273
+ * dark + dark-hc are applied to <body>. Both cases are covered by the
1274
+ * class selectors below since * matches all descendants.
1275
+ * ============================================================================ */
1276
+
1277
+ .future-dark,
1278
+ .dark,
1279
+ .dark-hc {
1280
+ /* Firefox — inherits down the tree */
1281
+ scrollbar-width: thin;
1282
+ scrollbar-color: var(--color-border) transparent;
1283
+
1284
+ /* WebKit — pseudo-elements don't inherit, must target descendants */
1285
+ & *::-webkit-scrollbar {
1286
+ width: 6px;
1287
+ height: 6px;
1288
+ }
1289
+
1290
+ & *::-webkit-scrollbar-track {
1291
+ background: transparent;
1292
+ }
1293
+
1294
+ & *::-webkit-scrollbar-thumb {
1295
+ background-color: var(--color-border);
1296
+ border-radius: 9999px;
1297
+ }
1298
+
1299
+ & *::-webkit-scrollbar-thumb:hover {
1300
+ background-color: var(--color-border-hover);
1301
+ }
1226
1302
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-wind",
3
- "version": "2.1.0",
3
+ "version": "2.2.0-pr525.171b58a",
4
4
  "description": "UiPath wind design system - A Tailwind CSS based React component library",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",