@uipath/apollo-wind 0.14.0 → 0.15.0-pr320.b49d311

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.
@@ -32,7 +32,6 @@ const external_react_namespaceObject = require("react");
32
32
  const index_cjs_namespaceObject = require("../../lib/index.cjs");
33
33
  function ChatComposer({ className, placeholder = 'I would like you to automate my', onSubmit }) {
34
34
  const [value, setValue] = external_react_namespaceObject.useState('');
35
- const [focused, setFocused] = external_react_namespaceObject.useState(false);
36
35
  const handleSubmit = ()=>{
37
36
  if (value.trim()) {
38
37
  onSubmit?.(value.trim());
@@ -57,9 +56,7 @@ function ChatComposer({ className, placeholder = 'I would like you to automate m
57
56
  rows: 3,
58
57
  value: value,
59
58
  onChange: (e)=>setValue(e.target.value),
60
- onKeyDown: handleKeyDown,
61
- onFocus: ()=>setFocused(true),
62
- onBlur: ()=>setFocused(false)
59
+ onKeyDown: handleKeyDown
63
60
  }),
64
61
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
65
62
  className: "flex items-center justify-between",
@@ -110,14 +107,14 @@ function ChatComposer({ className, placeholder = 'I would like you to automate m
110
107
  onClick: handleSubmit,
111
108
  "aria-label": "Submit message",
112
109
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.CornerRightUp, {
113
- className: "h-5 w-5 text-white"
110
+ className: "h-5 w-5 text-foreground-on-accent"
114
111
  })
115
112
  }) : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
116
113
  type: "button",
117
- className: (0, index_cjs_namespaceObject.cn)('flex h-8 w-8 items-center justify-center rounded-lg', focused ? 'bg-foreground-accent hover:bg-foreground-accent-muted' : 'bg-surface-hover hover:bg-foreground-accent-muted'),
114
+ className: "flex h-8 w-8 items-center justify-center rounded-lg bg-surface-hover group-focus-within/input:bg-foreground-accent hover:bg-foreground-accent-muted",
118
115
  "aria-label": "Voice input",
119
116
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Mic, {
120
- className: "h-5 w-5 text-white"
117
+ className: "h-5 w-5 text-foreground-on-accent"
121
118
  })
122
119
  })
123
120
  ]
@@ -4,7 +4,6 @@ import { useState } from "react";
4
4
  import { cn } from "../../lib/index.js";
5
5
  function ChatComposer({ className, placeholder = 'I would like you to automate my', onSubmit }) {
6
6
  const [value, setValue] = useState('');
7
- const [focused, setFocused] = useState(false);
8
7
  const handleSubmit = ()=>{
9
8
  if (value.trim()) {
10
9
  onSubmit?.(value.trim());
@@ -29,9 +28,7 @@ function ChatComposer({ className, placeholder = 'I would like you to automate m
29
28
  rows: 3,
30
29
  value: value,
31
30
  onChange: (e)=>setValue(e.target.value),
32
- onKeyDown: handleKeyDown,
33
- onFocus: ()=>setFocused(true),
34
- onBlur: ()=>setFocused(false)
31
+ onKeyDown: handleKeyDown
35
32
  }),
36
33
  /*#__PURE__*/ jsxs("div", {
37
34
  className: "flex items-center justify-between",
@@ -82,14 +79,14 @@ function ChatComposer({ className, placeholder = 'I would like you to automate m
82
79
  onClick: handleSubmit,
83
80
  "aria-label": "Submit message",
84
81
  children: /*#__PURE__*/ jsx(CornerRightUp, {
85
- className: "h-5 w-5 text-white"
82
+ className: "h-5 w-5 text-foreground-on-accent"
86
83
  })
87
84
  }) : /*#__PURE__*/ jsx("button", {
88
85
  type: "button",
89
- className: cn('flex h-8 w-8 items-center justify-center rounded-lg', focused ? 'bg-foreground-accent hover:bg-foreground-accent-muted' : 'bg-surface-hover hover:bg-foreground-accent-muted'),
86
+ className: "flex h-8 w-8 items-center justify-center rounded-lg bg-surface-hover group-focus-within/input:bg-foreground-accent hover:bg-foreground-accent-muted",
90
87
  "aria-label": "Voice input",
91
88
  children: /*#__PURE__*/ jsx(Mic, {
92
- className: "h-5 w-5 text-white"
89
+ className: "h-5 w-5 text-foreground-on-accent"
93
90
  })
94
91
  })
95
92
  ]
@@ -0,0 +1,81 @@
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
+ FlowNodeExpandable: ()=>FlowNodeExpandable
28
+ });
29
+ const jsx_runtime_namespaceObject = require("react/jsx-runtime");
30
+ require("react");
31
+ const external_lucide_react_namespaceObject = require("lucide-react");
32
+ const index_cjs_namespaceObject = require("../../lib/index.cjs");
33
+ function FlowNodeExpandable({ className, title = 'Node title', icon, expanded = false, selected = false, forceState, onToggle }) {
34
+ const isSelected = selected || 'selected' === forceState || 'selected-hover' === forceState;
35
+ const isHover = 'hover' === forceState;
36
+ const isSelectedHover = 'selected-hover' === forceState;
37
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
38
+ className: (0, index_cjs_namespaceObject.cn)('group w-[360px] rounded-2xl bg-surface-overlay', expanded ? 'flex flex-col size-[360px] px-4 pt-2.5 pb-4 gap-[15px]' : 'p-3', !isSelected && !isHover && 'border-[1.6px] border-border', !isSelected && !forceState && 'group-hover:border-2 group-hover:border-border-hover', isHover && 'border-2 border-border-hover', isSelected && !isSelectedHover && 'border-2 border-brand', isSelectedHover && 'border-2 border-foreground-accent-muted', !forceState && isSelected && 'group-hover:border-foreground-accent-muted', className),
39
+ children: [
40
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
41
+ className: "flex items-center justify-between",
42
+ children: [
43
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
44
+ className: "flex items-center gap-2.5",
45
+ children: [
46
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
47
+ className: "flex items-center justify-center rounded-xl bg-surface size-8 shrink-0",
48
+ children: icon ?? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Workflow, {
49
+ className: "h-5 w-5 text-foreground-muted"
50
+ })
51
+ }),
52
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
53
+ className: "text-sm font-medium text-foreground whitespace-nowrap",
54
+ children: title
55
+ })
56
+ ]
57
+ }),
58
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
59
+ type: "button",
60
+ className: "flex items-center justify-center rounded text-foreground-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
61
+ onClick: onToggle,
62
+ "aria-label": expanded ? `Collapse ${title}` : `Expand ${title}`,
63
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronDown, {
64
+ className: (0, index_cjs_namespaceObject.cn)('h-4 w-4', expanded && 'rotate-180')
65
+ })
66
+ })
67
+ ]
68
+ }),
69
+ expanded && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
70
+ className: "flex-1 min-h-0 rounded-lg bg-surface"
71
+ })
72
+ ]
73
+ });
74
+ }
75
+ exports.FlowNodeExpandable = __webpack_exports__.FlowNodeExpandable;
76
+ for(var __rspack_i in __webpack_exports__)if (-1 === [
77
+ "FlowNodeExpandable"
78
+ ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
79
+ Object.defineProperty(exports, '__esModule', {
80
+ value: true
81
+ });
@@ -0,0 +1,27 @@
1
+ import * as React from 'react';
2
+ export interface FlowNodeExpandableProps {
3
+ className?: string;
4
+ /** Node title */
5
+ title?: string;
6
+ /** Icon rendered in the node header */
7
+ icon?: React.ReactNode;
8
+ /** Whether the node is expanded */
9
+ expanded?: boolean;
10
+ /** Whether the node is selected */
11
+ selected?: boolean;
12
+ /**
13
+ * Force a specific visual state — used for Storybook stories and snapshots.
14
+ * In normal use, hover is driven by CSS group-hover.
15
+ */
16
+ forceState?: 'default' | 'hover' | 'selected' | 'selected-hover';
17
+ /** Callback when expand/collapse chevron is toggled */
18
+ onToggle?: () => void;
19
+ }
20
+ /**
21
+ * Expandable card-style canvas node for the Flow template.
22
+ *
23
+ * Collapsed: 360px wide, header only.
24
+ * Expanded: 360×360px, header + content area.
25
+ * Shares the same 4-state border pattern as FlowNode.
26
+ */
27
+ export declare function FlowNodeExpandable({ className, title, icon, expanded, selected, forceState, onToggle, }: FlowNodeExpandableProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,47 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import "react";
3
+ import { ChevronDown, Workflow } from "lucide-react";
4
+ import { cn } from "../../lib/index.js";
5
+ function FlowNodeExpandable({ className, title = 'Node title', icon, expanded = false, selected = false, forceState, onToggle }) {
6
+ const isSelected = selected || 'selected' === forceState || 'selected-hover' === forceState;
7
+ const isHover = 'hover' === forceState;
8
+ const isSelectedHover = 'selected-hover' === forceState;
9
+ return /*#__PURE__*/ jsxs("div", {
10
+ className: cn('group w-[360px] rounded-2xl bg-surface-overlay', expanded ? 'flex flex-col size-[360px] px-4 pt-2.5 pb-4 gap-[15px]' : 'p-3', !isSelected && !isHover && 'border-[1.6px] border-border', !isSelected && !forceState && 'group-hover:border-2 group-hover:border-border-hover', isHover && 'border-2 border-border-hover', isSelected && !isSelectedHover && 'border-2 border-brand', isSelectedHover && 'border-2 border-foreground-accent-muted', !forceState && isSelected && 'group-hover:border-foreground-accent-muted', className),
11
+ children: [
12
+ /*#__PURE__*/ jsxs("div", {
13
+ className: "flex items-center justify-between",
14
+ children: [
15
+ /*#__PURE__*/ jsxs("div", {
16
+ className: "flex items-center gap-2.5",
17
+ children: [
18
+ /*#__PURE__*/ jsx("div", {
19
+ className: "flex items-center justify-center rounded-xl bg-surface size-8 shrink-0",
20
+ children: icon ?? /*#__PURE__*/ jsx(Workflow, {
21
+ className: "h-5 w-5 text-foreground-muted"
22
+ })
23
+ }),
24
+ /*#__PURE__*/ jsx("span", {
25
+ className: "text-sm font-medium text-foreground whitespace-nowrap",
26
+ children: title
27
+ })
28
+ ]
29
+ }),
30
+ /*#__PURE__*/ jsx("button", {
31
+ type: "button",
32
+ className: "flex items-center justify-center rounded text-foreground-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
33
+ onClick: onToggle,
34
+ "aria-label": expanded ? `Collapse ${title}` : `Expand ${title}`,
35
+ children: /*#__PURE__*/ jsx(ChevronDown, {
36
+ className: cn('h-4 w-4', expanded && 'rotate-180')
37
+ })
38
+ })
39
+ ]
40
+ }),
41
+ expanded && /*#__PURE__*/ jsx("div", {
42
+ className: "flex-1 min-h-0 rounded-lg bg-surface"
43
+ })
44
+ ]
45
+ });
46
+ }
47
+ export { FlowNodeExpandable };
@@ -30,41 +30,39 @@ const jsx_runtime_namespaceObject = require("react/jsx-runtime");
30
30
  require("react");
31
31
  const external_lucide_react_namespaceObject = require("lucide-react");
32
32
  const index_cjs_namespaceObject = require("../../lib/index.cjs");
33
- function FlowNode({ className, title = 'Node title', icon, children, selected = false }) {
34
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
35
- className: (0, index_cjs_namespaceObject.cn)('flex h-[360px] w-[360px] flex-col overflow-hidden rounded-2xl bg-surface-overlay px-4 pb-4 pt-2.5', selected && 'ring-1 ring-ring', className),
36
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
37
- className: "flex flex-1 flex-col gap-[15px]",
38
- children: [
39
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
40
- className: "flex items-center justify-between",
41
- children: [
42
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
43
- className: "flex items-center gap-2.5",
44
- children: [
45
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
46
- className: "flex h-8 w-8 items-center justify-center rounded-lg bg-surface",
47
- children: icon ?? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Bot, {
48
- className: "h-5 w-5 text-foreground-muted"
49
- })
50
- }),
51
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
52
- className: "text-sm font-medium text-foreground",
53
- children: title
54
- })
55
- ]
56
- }),
57
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronDown, {
58
- className: "h-4 w-4 text-foreground-muted"
59
- })
60
- ]
61
- }),
62
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
63
- className: "flex-1 rounded-lg bg-surface-raised",
64
- children: children
33
+ function FlowNode({ className, title = 'Node title', subtitle = 'Secondary title', icon, selected = false, forceState, onClick }) {
34
+ const isSelected = selected || 'selected' === forceState || 'selected-hover' === forceState;
35
+ const isHover = 'hover' === forceState;
36
+ const isSelectedHover = 'selected-hover' === forceState;
37
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("button", {
38
+ type: "button",
39
+ className: (0, index_cjs_namespaceObject.cn)('group flex w-[107px] flex-col items-center gap-2.5 rounded-[32px] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2', className),
40
+ onClick: onClick,
41
+ children: [
42
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
43
+ className: (0, index_cjs_namespaceObject.cn)('relative flex items-center justify-center rounded-[32px] size-24 bg-surface-overlay', !isSelected && !isHover && 'border-[1.6px] border-border', !isSelected && !forceState && 'group-hover:border-2 group-hover:border-border-hover', isHover && 'border-2 border-border-hover', isSelected && !isSelectedHover && 'border-2 border-brand', isSelectedHover && 'border-2 border-foreground-accent-muted', !forceState && isSelected && 'group-hover:border-foreground-accent-muted'),
44
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
45
+ className: "flex items-center justify-center overflow-hidden rounded-[24px] bg-surface size-20",
46
+ children: icon ?? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Bot, {
47
+ className: "h-10 w-10 text-foreground-muted",
48
+ strokeWidth: 1.4
49
+ })
65
50
  })
66
- ]
67
- })
51
+ }),
52
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
53
+ className: "flex flex-col items-center",
54
+ children: [
55
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
56
+ className: "text-center text-[14px] font-semibold leading-[18px] text-foreground",
57
+ children: title
58
+ }),
59
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
60
+ className: "text-center text-[12px] leading-[18px] text-foreground-muted",
61
+ children: subtitle
62
+ })
63
+ ]
64
+ })
65
+ ]
68
66
  });
69
67
  }
70
68
  exports.FlowNode = __webpack_exports__.FlowNode;
@@ -3,18 +3,23 @@ export interface FlowNodeProps {
3
3
  className?: string;
4
4
  /** Node title */
5
5
  title?: string;
6
- /** Icon to display in the node header */
6
+ /** Node subtitle */
7
+ subtitle?: string;
8
+ /** Icon rendered inside the inner shape */
7
9
  icon?: React.ReactNode;
8
- /** Node content (rendered below the header) */
9
- children?: React.ReactNode;
10
- /** Whether the node is selected */
10
+ /** Whether the node is in selected state */
11
11
  selected?: boolean;
12
+ /**
13
+ * Force a specific visual state — used for Storybook stories and snapshots.
14
+ * In normal use, hover is driven by CSS group-hover.
15
+ */
16
+ forceState?: 'default' | 'hover' | 'selected' | 'selected-hover';
17
+ onClick?: () => void;
12
18
  }
13
19
  /**
14
- * A canvas node card for the Flow template.
20
+ * Icon-centric canvas node for the Flow template.
15
21
  *
16
- * Displays a dark card with a header (icon + title + chevron) and a
17
- * content area. Default size is 360×360px but can be overridden via
18
- * className.
22
+ * 96×96 outer ring 80×80 inner rounded shape 40×40 icon.
23
+ * Title + subtitle centered below.
19
24
  */
20
- export declare function FlowNode({ className, title, icon, children, selected, }: FlowNodeProps): import("react/jsx-runtime").JSX.Element;
25
+ export declare function FlowNode({ className, title, subtitle, icon, selected, forceState, onClick, }: FlowNodeProps): import("react/jsx-runtime").JSX.Element;
@@ -1,42 +1,40 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import "react";
3
- import { Bot, ChevronDown } from "lucide-react";
3
+ import { Bot } from "lucide-react";
4
4
  import { cn } from "../../lib/index.js";
5
- function FlowNode({ className, title = 'Node title', icon, children, selected = false }) {
6
- return /*#__PURE__*/ jsx("div", {
7
- className: cn('flex h-[360px] w-[360px] flex-col overflow-hidden rounded-2xl bg-surface-overlay px-4 pb-4 pt-2.5', selected && 'ring-1 ring-ring', className),
8
- children: /*#__PURE__*/ jsxs("div", {
9
- className: "flex flex-1 flex-col gap-[15px]",
10
- children: [
11
- /*#__PURE__*/ jsxs("div", {
12
- className: "flex items-center justify-between",
13
- children: [
14
- /*#__PURE__*/ jsxs("div", {
15
- className: "flex items-center gap-2.5",
16
- children: [
17
- /*#__PURE__*/ jsx("div", {
18
- className: "flex h-8 w-8 items-center justify-center rounded-lg bg-surface",
19
- children: icon ?? /*#__PURE__*/ jsx(Bot, {
20
- className: "h-5 w-5 text-foreground-muted"
21
- })
22
- }),
23
- /*#__PURE__*/ jsx("span", {
24
- className: "text-sm font-medium text-foreground",
25
- children: title
26
- })
27
- ]
28
- }),
29
- /*#__PURE__*/ jsx(ChevronDown, {
30
- className: "h-4 w-4 text-foreground-muted"
31
- })
32
- ]
33
- }),
34
- /*#__PURE__*/ jsx("div", {
35
- className: "flex-1 rounded-lg bg-surface-raised",
36
- children: children
5
+ function FlowNode({ className, title = 'Node title', subtitle = 'Secondary title', icon, selected = false, forceState, onClick }) {
6
+ const isSelected = selected || 'selected' === forceState || 'selected-hover' === forceState;
7
+ const isHover = 'hover' === forceState;
8
+ const isSelectedHover = 'selected-hover' === forceState;
9
+ return /*#__PURE__*/ jsxs("button", {
10
+ type: "button",
11
+ className: cn('group flex w-[107px] flex-col items-center gap-2.5 rounded-[32px] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2', className),
12
+ onClick: onClick,
13
+ children: [
14
+ /*#__PURE__*/ jsx("div", {
15
+ className: cn('relative flex items-center justify-center rounded-[32px] size-24 bg-surface-overlay', !isSelected && !isHover && 'border-[1.6px] border-border', !isSelected && !forceState && 'group-hover:border-2 group-hover:border-border-hover', isHover && 'border-2 border-border-hover', isSelected && !isSelectedHover && 'border-2 border-brand', isSelectedHover && 'border-2 border-foreground-accent-muted', !forceState && isSelected && 'group-hover:border-foreground-accent-muted'),
16
+ children: /*#__PURE__*/ jsx("div", {
17
+ className: "flex items-center justify-center overflow-hidden rounded-[24px] bg-surface size-20",
18
+ children: icon ?? /*#__PURE__*/ jsx(Bot, {
19
+ className: "h-10 w-10 text-foreground-muted",
20
+ strokeWidth: 1.4
21
+ })
37
22
  })
38
- ]
39
- })
23
+ }),
24
+ /*#__PURE__*/ jsxs("div", {
25
+ className: "flex flex-col items-center",
26
+ children: [
27
+ /*#__PURE__*/ jsx("span", {
28
+ className: "text-center text-[14px] font-semibold leading-[18px] text-foreground",
29
+ children: title
30
+ }),
31
+ /*#__PURE__*/ jsx("span", {
32
+ className: "text-center text-[12px] leading-[18px] text-foreground-muted",
33
+ children: subtitle
34
+ })
35
+ ]
36
+ })
37
+ ]
40
38
  });
41
39
  }
42
40
  export { FlowNode };
@@ -0,0 +1,84 @@
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
+ HoverMenu: ()=>HoverMenu
28
+ });
29
+ const jsx_runtime_namespaceObject = require("react/jsx-runtime");
30
+ require("react");
31
+ const external_lucide_react_namespaceObject = require("lucide-react");
32
+ const index_cjs_namespaceObject = require("../../lib/index.cjs");
33
+ function MenuButton({ icon: Icon, label, onClick }) {
34
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
35
+ type: "button",
36
+ className: "group flex h-6 w-6 items-center justify-center rounded-[4px] text-foreground-muted hover:bg-surface-hover hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
37
+ "aria-label": label,
38
+ onClick: onClick,
39
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
40
+ className: "h-4 w-4 transition-transform group-hover:scale-[1.25]",
41
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Icon, {
42
+ className: "h-full w-full",
43
+ strokeWidth: 1.4
44
+ })
45
+ })
46
+ });
47
+ }
48
+ function HoverMenu({ className, onPlay, onEdit, onDelete, onMore }) {
49
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
50
+ className: (0, index_cjs_namespaceObject.cn)('flex h-10 items-center gap-1 rounded-xl border border-surface-overlay bg-surface-raised px-2 py-1', className),
51
+ children: [
52
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MenuButton, {
53
+ icon: external_lucide_react_namespaceObject.Play,
54
+ label: "Run node",
55
+ onClick: onPlay
56
+ }),
57
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MenuButton, {
58
+ icon: external_lucide_react_namespaceObject.Pencil,
59
+ label: "Edit node",
60
+ onClick: onEdit
61
+ }),
62
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MenuButton, {
63
+ icon: external_lucide_react_namespaceObject.Trash2,
64
+ label: "Delete node",
65
+ onClick: onDelete
66
+ }),
67
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
68
+ className: "h-5 w-px bg-border-subtle"
69
+ }),
70
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MenuButton, {
71
+ icon: external_lucide_react_namespaceObject.EllipsisVertical,
72
+ label: "More options",
73
+ onClick: onMore
74
+ })
75
+ ]
76
+ });
77
+ }
78
+ exports.HoverMenu = __webpack_exports__.HoverMenu;
79
+ for(var __rspack_i in __webpack_exports__)if (-1 === [
80
+ "HoverMenu"
81
+ ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
82
+ Object.defineProperty(exports, '__esModule', {
83
+ value: true
84
+ });
@@ -0,0 +1,13 @@
1
+ export interface HoverMenuProps {
2
+ className?: string;
3
+ onPlay?: () => void;
4
+ onEdit?: () => void;
5
+ onDelete?: () => void;
6
+ onMore?: () => void;
7
+ }
8
+ /**
9
+ * Contextual hover menu for canvas nodes.
10
+ *
11
+ * Displays Play, Edit, Delete, and More actions in a compact floating toolbar.
12
+ */
13
+ export declare function HoverMenu({ className, onPlay, onEdit, onDelete, onMore }: HoverMenuProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,50 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import "react";
3
+ import { EllipsisVertical, Pencil, Play, Trash2 } from "lucide-react";
4
+ import { cn } from "../../lib/index.js";
5
+ function MenuButton({ icon: Icon, label, onClick }) {
6
+ return /*#__PURE__*/ jsx("button", {
7
+ type: "button",
8
+ className: "group flex h-6 w-6 items-center justify-center rounded-[4px] text-foreground-muted hover:bg-surface-hover hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
9
+ "aria-label": label,
10
+ onClick: onClick,
11
+ children: /*#__PURE__*/ jsx("div", {
12
+ className: "h-4 w-4 transition-transform group-hover:scale-[1.25]",
13
+ children: /*#__PURE__*/ jsx(Icon, {
14
+ className: "h-full w-full",
15
+ strokeWidth: 1.4
16
+ })
17
+ })
18
+ });
19
+ }
20
+ function HoverMenu({ className, onPlay, onEdit, onDelete, onMore }) {
21
+ return /*#__PURE__*/ jsxs("div", {
22
+ className: cn('flex h-10 items-center gap-1 rounded-xl border border-surface-overlay bg-surface-raised px-2 py-1', className),
23
+ children: [
24
+ /*#__PURE__*/ jsx(MenuButton, {
25
+ icon: Play,
26
+ label: "Run node",
27
+ onClick: onPlay
28
+ }),
29
+ /*#__PURE__*/ jsx(MenuButton, {
30
+ icon: Pencil,
31
+ label: "Edit node",
32
+ onClick: onEdit
33
+ }),
34
+ /*#__PURE__*/ jsx(MenuButton, {
35
+ icon: Trash2,
36
+ label: "Delete node",
37
+ onClick: onDelete
38
+ }),
39
+ /*#__PURE__*/ jsx("div", {
40
+ className: "h-5 w-px bg-border-subtle"
41
+ }),
42
+ /*#__PURE__*/ jsx(MenuButton, {
43
+ icon: EllipsisVertical,
44
+ label: "More options",
45
+ onClick: onMore
46
+ })
47
+ ]
48
+ });
49
+ }
50
+ export { HoverMenu };
@@ -36,7 +36,7 @@ const tooltip_cjs_namespaceObject = require("../ui/tooltip.cjs");
36
36
  const index_cjs_namespaceObject = require("../../lib/index.cjs");
37
37
  function UiPathLogo({ className }) {
38
38
  return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
39
- className: (0, index_cjs_namespaceObject.cn)('flex h-9 w-9 items-center justify-center overflow-clip rounded-lg bg-[#0092b8] shadow-sm', className),
39
+ className: (0, index_cjs_namespaceObject.cn)('flex h-9 w-9 items-center justify-center overflow-hidden rounded-lg bg-[#0092b8] shadow-sm', className),
40
40
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("svg", {
41
41
  viewBox: "0 0 24 24",
42
42
  fill: "none",
@@ -70,6 +70,7 @@ function ExpandedNavItem({ item, isOpen, isActive, onToggle, selectedChildId, on
70
70
  type: "button",
71
71
  className: (0, index_cjs_namespaceObject.cn)('flex h-10 w-full items-center gap-2 rounded-2xl px-1 text-foreground-hover transition-colors hover:bg-surface-hover hover:text-foreground', isActive && 'bg-surface-hover text-foreground'),
72
72
  onClick: onToggle,
73
+ "aria-current": isActive ? 'page' : void 0,
73
74
  children: [
74
75
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
75
76
  className: "flex h-9 w-9 shrink-0 items-center justify-center rounded-lg",
@@ -134,8 +135,10 @@ function CollapsedNavItem({ item, isActive, onClick }) {
134
135
  asChild: true,
135
136
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
136
137
  type: "button",
137
- className: "group flex h-12 w-full items-center justify-center",
138
+ className: "group flex h-12 w-full items-center justify-center focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset rounded-lg",
138
139
  onClick: onClick,
140
+ "aria-label": item.label,
141
+ "aria-pressed": isActive,
139
142
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
140
143
  className: (0, index_cjs_namespaceObject.cn)('flex h-9 w-9 items-center justify-center rounded-lg text-foreground-muted group-hover:bg-surface-hover group-hover:text-foreground-hover', isActive && 'bg-surface-hover text-foreground-hover'),
141
144
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
@@ -8,7 +8,7 @@ import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "../ui/
8
8
  import { cn } from "../../lib/index.js";
9
9
  function UiPathLogo({ className }) {
10
10
  return /*#__PURE__*/ jsx("div", {
11
- className: cn('flex h-9 w-9 items-center justify-center overflow-clip rounded-lg bg-[#0092b8] shadow-sm', className),
11
+ className: cn('flex h-9 w-9 items-center justify-center overflow-hidden rounded-lg bg-[#0092b8] shadow-sm', className),
12
12
  children: /*#__PURE__*/ jsxs("svg", {
13
13
  viewBox: "0 0 24 24",
14
14
  fill: "none",
@@ -42,6 +42,7 @@ function ExpandedNavItem({ item, isOpen, isActive, onToggle, selectedChildId, on
42
42
  type: "button",
43
43
  className: cn('flex h-10 w-full items-center gap-2 rounded-2xl px-1 text-foreground-hover transition-colors hover:bg-surface-hover hover:text-foreground', isActive && 'bg-surface-hover text-foreground'),
44
44
  onClick: onToggle,
45
+ "aria-current": isActive ? 'page' : void 0,
45
46
  children: [
46
47
  /*#__PURE__*/ jsx("div", {
47
48
  className: "flex h-9 w-9 shrink-0 items-center justify-center rounded-lg",
@@ -106,8 +107,10 @@ function CollapsedNavItem({ item, isActive, onClick }) {
106
107
  asChild: true,
107
108
  children: /*#__PURE__*/ jsx("button", {
108
109
  type: "button",
109
- className: "group flex h-12 w-full items-center justify-center",
110
+ className: "group flex h-12 w-full items-center justify-center focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset rounded-lg",
110
111
  onClick: onClick,
112
+ "aria-label": item.label,
113
+ "aria-pressed": isActive,
111
114
  children: /*#__PURE__*/ jsx("div", {
112
115
  className: cn('flex h-9 w-9 items-center justify-center rounded-lg text-foreground-muted group-hover:bg-surface-hover group-hover:text-foreground-hover', isActive && 'bg-surface-hover text-foreground-hover'),
113
116
  children: /*#__PURE__*/ jsx("div", {
@@ -41,8 +41,11 @@ function ToolbarButton({ icon: Icon, label, onClick }) {
41
41
  className: "group flex h-8 w-8 items-center justify-center rounded-lg text-foreground-muted hover:bg-surface-hover hover:text-foreground",
42
42
  onClick: onClick,
43
43
  "aria-label": label,
44
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Icon, {
45
- className: "h-5 w-5 group-hover:h-6 group-hover:w-6"
44
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
45
+ className: "h-5 w-5 transition-transform group-hover:scale-[1.2]",
46
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Icon, {
47
+ className: "h-full w-full"
48
+ })
46
49
  })
47
50
  });
48
51
  }
@@ -13,8 +13,11 @@ function ToolbarButton({ icon: Icon, label, onClick }) {
13
13
  className: "group flex h-8 w-8 items-center justify-center rounded-lg text-foreground-muted hover:bg-surface-hover hover:text-foreground",
14
14
  onClick: onClick,
15
15
  "aria-label": label,
16
- children: /*#__PURE__*/ jsx(Icon, {
17
- className: "h-5 w-5 group-hover:h-6 group-hover:w-6"
16
+ children: /*#__PURE__*/ jsx("div", {
17
+ className: "h-5 w-5 transition-transform group-hover:scale-[1.2]",
18
+ children: /*#__PURE__*/ jsx(Icon, {
19
+ className: "h-full w-full"
20
+ })
18
21
  })
19
22
  });
20
23
  }
@@ -36,8 +36,11 @@ function ViewButton({ icon: Icon, label, onClick }) {
36
36
  className: "group flex h-8 w-8 items-center justify-center rounded-lg text-foreground-muted hover:bg-surface-hover hover:text-foreground",
37
37
  onClick: onClick,
38
38
  "aria-label": label,
39
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Icon, {
40
- className: "h-5 w-5 group-hover:h-6 group-hover:w-6"
39
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
40
+ className: "h-5 w-5 transition-transform group-hover:scale-[1.2]",
41
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Icon, {
42
+ className: "h-full w-full"
43
+ })
41
44
  })
42
45
  });
43
46
  }
@@ -8,8 +8,11 @@ function ViewButton({ icon: Icon, label, onClick }) {
8
8
  className: "group flex h-8 w-8 items-center justify-center rounded-lg text-foreground-muted hover:bg-surface-hover hover:text-foreground",
9
9
  onClick: onClick,
10
10
  "aria-label": label,
11
- children: /*#__PURE__*/ jsx(Icon, {
12
- className: "h-5 w-5 group-hover:h-6 group-hover:w-6"
11
+ children: /*#__PURE__*/ jsx("div", {
12
+ className: "h-5 w-5 transition-transform group-hover:scale-[1.2]",
13
+ children: /*#__PURE__*/ jsx(Icon, {
14
+ className: "h-full w-full"
15
+ })
13
16
  })
14
17
  });
15
18
  }
@@ -15,7 +15,7 @@ var __webpack_modules__ = {
15
15
  "./avatar" (module) {
16
16
  module.exports = require("./avatar.cjs");
17
17
  },
18
- "@/components/ui/badge" (module) {
18
+ "./badge" (module) {
19
19
  module.exports = require("./badge.cjs");
20
20
  },
21
21
  "./breadcrumb" (module) {
@@ -27,25 +27,25 @@ 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
- "@/components/ui/checkbox" (module) {
36
+ "./checkbox" (module) {
37
37
  module.exports = require("./checkbox.cjs");
38
38
  },
39
- "@/components/ui/collapsible" (module) {
39
+ "./collapsible" (module) {
40
40
  module.exports = require("./collapsible.cjs");
41
41
  },
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) {
@@ -57,10 +57,10 @@ var __webpack_modules__ = {
57
57
  "./datetime-picker" (module) {
58
58
  module.exports = require("./datetime-picker.cjs");
59
59
  },
60
- "@/components/ui/dialog" (module) {
60
+ "./dialog" (module) {
61
61
  module.exports = require("./dialog.cjs");
62
62
  },
63
- "@/components/ui/dropdown-menu" (module) {
63
+ "./dropdown-menu" (module) {
64
64
  module.exports = require("./dropdown-menu.cjs");
65
65
  },
66
66
  "./editable-cell" (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
  "@/components/ui/input" (module) {
@@ -241,7 +241,7 @@ var __webpack_exports__ = {};
241
241
  "default"
242
242
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_avatar__rspack_import_4[__rspack_import_key];
243
243
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
244
- var _badge__rspack_import_5 = __webpack_require__("@/components/ui/badge");
244
+ var _badge__rspack_import_5 = __webpack_require__("./badge");
245
245
  var __rspack_reexport = {};
246
246
  for(const __rspack_import_key in _badge__rspack_import_5)if ([
247
247
  "TreeView",
@@ -269,28 +269,28 @@ 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",
276
276
  "default"
277
277
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_calendar__rspack_import_9[__rspack_import_key];
278
278
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
279
- var _card__rspack_import_10 = __webpack_require__("./card");
279
+ var _card__rspack_import_10 = __webpack_require__("@/components/ui/card");
280
280
  var __rspack_reexport = {};
281
281
  for(const __rspack_import_key in _card__rspack_import_10)if ([
282
282
  "TreeView",
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",
290
290
  "default"
291
291
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_checkbox__rspack_import_11[__rspack_import_key];
292
292
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
293
- var _collapsible__rspack_import_12 = __webpack_require__("@/components/ui/collapsible");
293
+ var _collapsible__rspack_import_12 = __webpack_require__("./collapsible");
294
294
  var __rspack_reexport = {};
295
295
  for(const __rspack_import_key in _collapsible__rspack_import_12)if ([
296
296
  "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",
@@ -339,14 +339,14 @@ var __webpack_exports__ = {};
339
339
  "default"
340
340
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_datetime_picker__rspack_import_18[__rspack_import_key];
341
341
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
342
- var _dialog__rspack_import_19 = __webpack_require__("@/components/ui/dialog");
342
+ var _dialog__rspack_import_19 = __webpack_require__("./dialog");
343
343
  var __rspack_reexport = {};
344
344
  for(const __rspack_import_key in _dialog__rspack_import_19)if ([
345
345
  "TreeView",
346
346
  "default"
347
347
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_dialog__rspack_import_19[__rspack_import_key];
348
348
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
349
- var _dropdown_menu__rspack_import_20 = __webpack_require__("@/components/ui/dropdown-menu");
349
+ var _dropdown_menu__rspack_import_20 = __webpack_require__("./dropdown-menu");
350
350
  var __rspack_reexport = {};
351
351
  for(const __rspack_import_key in _dropdown_menu__rspack_import_20)if ([
352
352
  "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",
package/dist/styles.css CHANGED
@@ -926,10 +926,26 @@
926
926
  width: calc(var(--spacing) * 4);
927
927
  height: calc(var(--spacing) * 4);
928
928
  }
929
+ .size-8 {
930
+ width: calc(var(--spacing) * 8);
931
+ height: calc(var(--spacing) * 8);
932
+ }
933
+ .size-20 {
934
+ width: calc(var(--spacing) * 20);
935
+ height: calc(var(--spacing) * 20);
936
+ }
937
+ .size-24 {
938
+ width: calc(var(--spacing) * 24);
939
+ height: calc(var(--spacing) * 24);
940
+ }
929
941
  .size-\[--cell-size\] {
930
942
  width: --cell-size;
931
943
  height: --cell-size;
932
944
  }
945
+ .size-\[360px\] {
946
+ width: 360px;
947
+ height: 360px;
948
+ }
933
949
  .size-full {
934
950
  width: 100%;
935
951
  height: 100%;
@@ -1294,6 +1310,9 @@
1294
1310
  .w-\[100px\] {
1295
1311
  width: 100px;
1296
1312
  }
1313
+ .w-\[107px\] {
1314
+ width: 107px;
1315
+ }
1297
1316
  .w-\[110px\] {
1298
1317
  width: 110px;
1299
1318
  }
@@ -2003,6 +2022,10 @@
2003
2022
  border-style: var(--tw-border-style);
2004
2023
  border-width: 1.5px;
2005
2024
  }
2025
+ .border-\[1\.6px\] {
2026
+ border-style: var(--tw-border-style);
2027
+ border-width: 1.6px;
2028
+ }
2006
2029
  .border-t {
2007
2030
  border-top-style: var(--tw-border-style);
2008
2031
  border-top-width: 1px;
@@ -2089,6 +2112,9 @@
2089
2112
  border-color: color-mix(in oklab, var(--destructive) 50%, transparent);
2090
2113
  }
2091
2114
  }
2115
+ .border-foreground-accent-muted {
2116
+ border-color: var(--foreground-accent-muted);
2117
+ }
2092
2118
  .border-gray-200 {
2093
2119
  border-color: var(--color-gray-200);
2094
2120
  }
@@ -3497,6 +3523,9 @@
3497
3523
  .text-\[13px\] {
3498
3524
  font-size: 13px;
3499
3525
  }
3526
+ .text-\[14px\] {
3527
+ font-size: 14px;
3528
+ }
3500
3529
  .text-\[15px\] {
3501
3530
  font-size: 15px;
3502
3531
  }
@@ -4020,24 +4049,44 @@
4020
4049
  .\[--cell-size\:2\.75rem\] {
4021
4050
  --cell-size: 2.75rem;
4022
4051
  }
4023
- .group-hover\:h-6 {
4052
+ .group-focus-within\/input\:bg-foreground-accent {
4053
+ &:is(:where(.group\/input):focus-within *) {
4054
+ background-color: var(--foreground-accent);
4055
+ }
4056
+ }
4057
+ .group-hover\:scale-\[1\.2\] {
4024
4058
  &:is(:where(.group):hover *) {
4025
4059
  @media (hover: hover) {
4026
- height: calc(var(--spacing) * 6);
4060
+ scale: 1.2;
4027
4061
  }
4028
4062
  }
4029
4063
  }
4030
- .group-hover\:w-6 {
4064
+ .group-hover\:scale-\[1\.25\] {
4031
4065
  &:is(:where(.group):hover *) {
4032
4066
  @media (hover: hover) {
4033
- width: calc(var(--spacing) * 6);
4067
+ scale: 1.25;
4034
4068
  }
4035
4069
  }
4036
4070
  }
4037
- .group-hover\:scale-\[1\.2\] {
4071
+ .group-hover\:border-2 {
4038
4072
  &:is(:where(.group):hover *) {
4039
4073
  @media (hover: hover) {
4040
- scale: 1.2;
4074
+ border-style: var(--tw-border-style);
4075
+ border-width: 2px;
4076
+ }
4077
+ }
4078
+ }
4079
+ .group-hover\:border-border-hover {
4080
+ &:is(:where(.group):hover *) {
4081
+ @media (hover: hover) {
4082
+ border-color: var(--border-hover);
4083
+ }
4084
+ }
4085
+ }
4086
+ .group-hover\:border-foreground-accent-muted {
4087
+ &:is(:where(.group):hover *) {
4088
+ @media (hover: hover) {
4089
+ border-color: var(--foreground-accent-muted);
4041
4090
  }
4042
4091
  }
4043
4092
  }
@@ -4923,6 +4972,11 @@
4923
4972
  outline-style: none;
4924
4973
  }
4925
4974
  }
4975
+ .focus-visible\:ring-inset {
4976
+ &:focus-visible {
4977
+ --tw-ring-inset: inset;
4978
+ }
4979
+ }
4926
4980
  .active\:scale-95 {
4927
4981
  &:active {
4928
4982
  --tw-scale-x: 95%;
@@ -6959,7 +7013,7 @@
6959
7013
  --border-radius-m: 4px;
6960
7014
  --border-radius-l: 8px;
6961
7015
  }
6962
- body.light {
7016
+ .light {
6963
7017
  --color-background: #ffffff;
6964
7018
  --color-background-secondary: #f4f5f7;
6965
7019
  --color-background-inverse: #182027;
@@ -7082,7 +7136,7 @@ body.light {
7082
7136
  --border: var(--border-light);
7083
7137
  color-scheme: light;
7084
7138
  }
7085
- body.light-hc {
7139
+ .light-hc {
7086
7140
  --color-background: #ffffff;
7087
7141
  --color-background-secondary: #f4f5f7;
7088
7142
  --color-background-inverse: #182027;
@@ -7205,7 +7259,7 @@ body.light-hc {
7205
7259
  --border: var(--border-light-hc);
7206
7260
  color-scheme: light;
7207
7261
  }
7208
- body.dark {
7262
+ .dark {
7209
7263
  --color-background: #182027;
7210
7264
  --color-background-secondary: #273139;
7211
7265
  --color-background-inverse: #f8f9fa;
@@ -7328,7 +7382,7 @@ body.dark {
7328
7382
  --border: var(--border-dark);
7329
7383
  color-scheme: dark;
7330
7384
  }
7331
- body.dark-hc {
7385
+ .dark-hc {
7332
7386
  --color-background: #182027;
7333
7387
  --color-background-secondary: #273139;
7334
7388
  --color-background-inverse: #f8f9fa;
@@ -7454,7 +7508,7 @@ body.dark-hc {
7454
7508
  :root {
7455
7509
  --radius: 0.75rem;
7456
7510
  }
7457
- body.dark {
7511
+ .dark {
7458
7512
  --surface: var(--color-background, #182027);
7459
7513
  --surface-raised: var(--color-background-raised, #273139);
7460
7514
  --surface-overlay: var(--color-background-selected, #374652);
@@ -7512,7 +7566,7 @@ body.dark {
7512
7566
  --input: var(--border-subtle);
7513
7567
  color-scheme: dark;
7514
7568
  }
7515
- body.dark-hc {
7569
+ .dark-hc {
7516
7570
  --surface: var(--color-background, #182027);
7517
7571
  --surface-raised: var(--color-background-raised, #273139);
7518
7572
  --surface-overlay: var(--color-background-selected, #374652);
@@ -7570,7 +7624,7 @@ body.dark-hc {
7570
7624
  --input: var(--border-subtle);
7571
7625
  color-scheme: dark;
7572
7626
  }
7573
- body.light {
7627
+ .light {
7574
7628
  --surface: var(--color-background, #ffffff);
7575
7629
  --surface-raised: var(--color-background-raised, #ffffff);
7576
7630
  --surface-overlay: var(--color-background-secondary, #f4f5f7);
@@ -7628,7 +7682,7 @@ body.light {
7628
7682
  --input: var(--border-subtle);
7629
7683
  color-scheme: light;
7630
7684
  }
7631
- body.light-hc {
7685
+ .light-hc {
7632
7686
  --surface: var(--color-background, #ffffff);
7633
7687
  --surface-raised: var(--color-background-raised, #ffffff);
7634
7688
  --surface-overlay: var(--color-background-secondary, #f4f5f7);
package/dist/tailwind.css CHANGED
@@ -23,7 +23,7 @@
23
23
  * Each theme uses semantic tokens from apollo-core with hardcoded fallbacks
24
24
  */
25
25
 
26
- body.dark {
26
+ .dark {
27
27
  /* ── Surfaces ─────────────────────────────────────────────────────────── */
28
28
  --surface: var(--color-background, #182027);
29
29
  --surface-raised: var(--color-background-raised, #273139);
@@ -100,7 +100,7 @@ body.dark {
100
100
  color-scheme: dark;
101
101
  }
102
102
 
103
- body.dark-hc {
103
+ .dark-hc {
104
104
  /* ── Surfaces ─────────────────────────────────────────────────────────── */
105
105
  --surface: var(--color-background, #182027);
106
106
  --surface-raised: var(--color-background-raised, #273139);
@@ -177,7 +177,7 @@ body.dark-hc {
177
177
  color-scheme: dark;
178
178
  }
179
179
 
180
- body.light {
180
+ .light {
181
181
  /* ── Surfaces ─────────────────────────────────────────────────────────── */
182
182
  --surface: var(--color-background, #ffffff);
183
183
  --surface-raised: var(--color-background-raised, #ffffff);
@@ -254,7 +254,7 @@ body.light {
254
254
  color-scheme: light;
255
255
  }
256
256
 
257
- body.light-hc {
257
+ .light-hc {
258
258
  /* ── Surfaces ─────────────────────────────────────────────────────────── */
259
259
  --surface: var(--color-background, #ffffff);
260
260
  --surface-raised: var(--color-background-raised, #ffffff);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-wind",
3
- "version": "0.14.0",
3
+ "version": "0.15.0-pr320.b49d311",
4
4
  "description": "UiPath wind design system - A Tailwind CSS based React component library",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",