@uipath/apollo-wind 2.52.0 → 2.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36,7 +36,7 @@ var __webpack_modules__ = {
36
36
  "./chart" (module) {
37
37
  module.exports = require("./chart.cjs");
38
38
  },
39
- "@/components/ui/checkbox" (module) {
39
+ "./checkbox" (module) {
40
40
  module.exports = require("./checkbox.cjs");
41
41
  },
42
42
  "./collapsible" (module) {
@@ -60,13 +60,13 @@ var __webpack_modules__ = {
60
60
  "./datetime-picker" (module) {
61
61
  module.exports = require("./datetime-picker.cjs");
62
62
  },
63
- "./dialog" (module) {
63
+ "@/components/ui/dialog" (module) {
64
64
  module.exports = require("./dialog.cjs");
65
65
  },
66
66
  "./drawer" (module) {
67
67
  module.exports = require("./drawer.cjs");
68
68
  },
69
- "@/components/ui/dropdown-menu" (module) {
69
+ "./dropdown-menu" (module) {
70
70
  module.exports = require("./dropdown-menu.cjs");
71
71
  },
72
72
  "@/components/ui/editable-cell" (module) {
@@ -81,16 +81,16 @@ var __webpack_modules__ = {
81
81
  "./form-field" (module) {
82
82
  module.exports = require("./form-field.cjs");
83
83
  },
84
- "./hover-card" (module) {
84
+ "@/components/ui/hover-card" (module) {
85
85
  module.exports = require("./hover-card.cjs");
86
86
  },
87
- "@/components/ui/info-tooltip" (module) {
87
+ "./info-tooltip" (module) {
88
88
  module.exports = require("./info-tooltip.cjs");
89
89
  },
90
- "./input-group" (module) {
90
+ "@/components/ui/input-group" (module) {
91
91
  module.exports = require("./input-group.cjs");
92
92
  },
93
- "@/components/ui/input" (module) {
93
+ "./input" (module) {
94
94
  module.exports = require("./input.cjs");
95
95
  },
96
96
  "./label" (module) {
@@ -177,7 +177,7 @@ var __webpack_modules__ = {
177
177
  "./toggle" (module) {
178
178
  module.exports = require("./toggle.cjs");
179
179
  },
180
- "./tooltip" (module) {
180
+ "@/components/ui/tooltip" (module) {
181
181
  module.exports = require("./tooltip.cjs");
182
182
  },
183
183
  "./tree-view" (module) {
@@ -317,7 +317,7 @@ 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__("@/components/ui/checkbox");
320
+ var _checkbox__rspack_import_12 = __webpack_require__("./checkbox");
321
321
  var __rspack_reexport = {};
322
322
  for(const __rspack_import_key in _checkbox__rspack_import_12)if ([
323
323
  "TreeView",
@@ -373,7 +373,7 @@ var __webpack_exports__ = {};
373
373
  "default"
374
374
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_datetime_picker__rspack_import_19[__rspack_import_key];
375
375
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
376
- var _dialog__rspack_import_20 = __webpack_require__("./dialog");
376
+ var _dialog__rspack_import_20 = __webpack_require__("@/components/ui/dialog");
377
377
  var __rspack_reexport = {};
378
378
  for(const __rspack_import_key in _dialog__rspack_import_20)if ([
379
379
  "TreeView",
@@ -387,7 +387,7 @@ 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__("@/components/ui/dropdown-menu");
390
+ var _dropdown_menu__rspack_import_22 = __webpack_require__("./dropdown-menu");
391
391
  var __rspack_reexport = {};
392
392
  for(const __rspack_import_key in _dropdown_menu__rspack_import_22)if ([
393
393
  "TreeView",
@@ -422,28 +422,28 @@ var __webpack_exports__ = {};
422
422
  "default"
423
423
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_form_field__rspack_import_26[__rspack_import_key];
424
424
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
425
- var _hover_card__rspack_import_27 = __webpack_require__("./hover-card");
425
+ var _hover_card__rspack_import_27 = __webpack_require__("@/components/ui/hover-card");
426
426
  var __rspack_reexport = {};
427
427
  for(const __rspack_import_key in _hover_card__rspack_import_27)if ([
428
428
  "TreeView",
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__("@/components/ui/info-tooltip");
432
+ var _info_tooltip__rspack_import_28 = __webpack_require__("./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__("@/components/ui/input");
439
+ var _input__rspack_import_29 = __webpack_require__("./input");
440
440
  var __rspack_reexport = {};
441
441
  for(const __rspack_import_key in _input__rspack_import_29)if ([
442
442
  "TreeView",
443
443
  "default"
444
444
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_input__rspack_import_29[__rspack_import_key];
445
445
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
446
- var _input_group__rspack_import_30 = __webpack_require__("./input-group");
446
+ var _input_group__rspack_import_30 = __webpack_require__("@/components/ui/input-group");
447
447
  var __rspack_reexport = {};
448
448
  for(const __rspack_import_key in _input_group__rspack_import_30)if ([
449
449
  "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__("./tooltip");
649
+ var _tooltip__rspack_import_59 = __webpack_require__("@/components/ui/tooltip");
650
650
  var __rspack_reexport = {};
651
651
  for(const __rspack_import_key in _tooltip__rspack_import_59)if ([
652
652
  "TreeView",
@@ -40,12 +40,12 @@ const ResizablePanelGroup = ({ className, ...props })=>/*#__PURE__*/ (0, jsx_run
40
40
  const ResizablePanel = external_react_resizable_panels_namespaceObject.Panel;
41
41
  const ResizableHandle = ({ withHandle, className, ...props })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_react_resizable_panels_namespaceObject.Separator, {
42
42
  "data-slot": "resizable-handle",
43
- className: (0, index_cjs_namespaceObject.cn)('group relative flex w-px items-center justify-center bg-border transition-colors data-[separator=hover]:bg-primary data-[separator=active]:bg-primary after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:-translate-y-1/2 aria-[orientation=horizontal]:after:translate-x-0 [&[aria-orientation=horizontal]>div]:rotate-90', className),
43
+ className: (0, index_cjs_namespaceObject.cn)('group relative flex w-px items-center justify-center bg-[var(--resizable-handle-divider-bg,var(--ap-wind-border))] transition-colors data-[separator=hover]:bg-primary! data-[separator=active]:bg-primary! after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:-translate-y-1/2 aria-[orientation=horizontal]:after:translate-x-0 [&[aria-orientation=horizontal]>div]:rotate-90', className),
44
44
  ...props,
45
45
  children: withHandle && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
46
- className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border transition-colors group-data-[separator=hover]:bg-primary group-data-[separator=active]:bg-primary",
46
+ className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border transition-colors group-data-[separator=hover]:bg-primary! group-data-[separator=active]:bg-primary! [.light:not(.react-flow)_&]:bg-border-subtle [.dark:not(.react-flow)_&]:bg-foreground-subtle [.light:not(.react-flow)_&]:border-border-subtle [.light-hc_&]:border-border-subtle [.dark:not(.react-flow)_&]:border-border-subtle [.dark-hc_&]:border-border-subtle",
47
47
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.GripVertical, {
48
- className: "h-2.5 w-2.5"
48
+ className: "h-2.5 w-2.5 [.light:not(.react-flow)_&]:text-foreground-emp [.light-hc_&]:text-foreground-inverse [.dark:not(.react-flow)_&]:text-foreground-inverse [.dark-hc_&]:text-foreground-inverse"
49
49
  })
50
50
  })
51
51
  });
@@ -1,5 +1,5 @@
1
- import { Group, Panel, Separator } from 'react-resizable-panels';
2
1
  import type { PanelImperativeHandle } from 'react-resizable-panels';
2
+ import { Group, Panel, Separator } from 'react-resizable-panels';
3
3
  declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof Group>) => import("react/jsx-runtime").JSX.Element;
4
4
  declare const ResizablePanel: typeof Panel;
5
5
  declare const ResizableHandle: ({ withHandle, className, ...props }: React.ComponentProps<typeof Separator> & {
@@ -10,12 +10,12 @@ const ResizablePanelGroup = ({ className, ...props })=>/*#__PURE__*/ jsx(Group,
10
10
  const ResizablePanel = Panel;
11
11
  const ResizableHandle = ({ withHandle, className, ...props })=>/*#__PURE__*/ jsx(Separator, {
12
12
  "data-slot": "resizable-handle",
13
- className: cn('group relative flex w-px items-center justify-center bg-border transition-colors data-[separator=hover]:bg-primary data-[separator=active]:bg-primary after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:-translate-y-1/2 aria-[orientation=horizontal]:after:translate-x-0 [&[aria-orientation=horizontal]>div]:rotate-90', className),
13
+ className: cn('group relative flex w-px items-center justify-center bg-[var(--resizable-handle-divider-bg,var(--ap-wind-border))] transition-colors data-[separator=hover]:bg-primary! data-[separator=active]:bg-primary! after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:-translate-y-1/2 aria-[orientation=horizontal]:after:translate-x-0 [&[aria-orientation=horizontal]>div]:rotate-90', className),
14
14
  ...props,
15
15
  children: withHandle && /*#__PURE__*/ jsx("div", {
16
- className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border transition-colors group-data-[separator=hover]:bg-primary group-data-[separator=active]:bg-primary",
16
+ className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border transition-colors group-data-[separator=hover]:bg-primary! group-data-[separator=active]:bg-primary! [.light:not(.react-flow)_&]:bg-border-subtle [.dark:not(.react-flow)_&]:bg-foreground-subtle [.light:not(.react-flow)_&]:border-border-subtle [.light-hc_&]:border-border-subtle [.dark:not(.react-flow)_&]:border-border-subtle [.dark-hc_&]:border-border-subtle",
17
17
  children: /*#__PURE__*/ jsx(GripVertical, {
18
- className: "h-2.5 w-2.5"
18
+ className: "h-2.5 w-2.5 [.light:not(.react-flow)_&]:text-foreground-emp [.light-hc_&]:text-foreground-inverse [.dark:not(.react-flow)_&]:text-foreground-inverse [.dark-hc_&]:text-foreground-inverse"
19
19
  })
20
20
  })
21
21
  });
package/dist/styles.css CHANGED
@@ -2482,6 +2482,12 @@
2482
2482
  .bg-\[\#ff0000\] {
2483
2483
  background-color: #ff0000;
2484
2484
  }
2485
+ .bg-\[var\(--resizable-handle-divider-bg\,var\(--ap-wind-border\)\)\] {
2486
+ background-color: var(--resizable-handle-divider-bg,var(--ap-wind-border));
2487
+ }
2488
+ .bg-\[var\(\.\.\.\)\] {
2489
+ background-color: var(...);
2490
+ }
2485
2491
  .bg-accent {
2486
2492
  background-color: var(--accent);
2487
2493
  }
@@ -4600,14 +4606,14 @@
4600
4606
  opacity: 100%;
4601
4607
  }
4602
4608
  }
4603
- .group-data-\[separator\=active\]\:bg-primary {
4609
+ .group-data-\[separator\=active\]\:bg-primary\! {
4604
4610
  &:is(:where(.group)[data-separator="active"] *) {
4605
- background-color: var(--primary);
4611
+ background-color: var(--primary) !important;
4606
4612
  }
4607
4613
  }
4608
- .group-data-\[separator\=hover\]\:bg-primary {
4614
+ .group-data-\[separator\=hover\]\:bg-primary\! {
4609
4615
  &:is(:where(.group)[data-separator="hover"] *) {
4610
- background-color: var(--primary);
4616
+ background-color: var(--primary) !important;
4611
4617
  }
4612
4618
  }
4613
4619
  .group-data-\[state\=open\]\/section\:rotate-90 {
@@ -5786,14 +5792,14 @@
5786
5792
  color: var(--foreground);
5787
5793
  }
5788
5794
  }
5789
- .data-\[separator\=active\]\:bg-primary {
5795
+ .data-\[separator\=active\]\:bg-primary\! {
5790
5796
  &[data-separator="active"] {
5791
- background-color: var(--primary);
5797
+ background-color: var(--primary) !important;
5792
5798
  }
5793
5799
  }
5794
- .data-\[separator\=hover\]\:bg-primary {
5800
+ .data-\[separator\=hover\]\:bg-primary\! {
5795
5801
  &[data-separator="hover"] {
5796
- background-color: var(--primary);
5802
+ background-color: var(--primary) !important;
5797
5803
  }
5798
5804
  }
5799
5805
  .data-\[side\=bottom\]\:translate-y-1 {
@@ -7149,6 +7155,56 @@
7149
7155
  rotate: 180deg;
7150
7156
  }
7151
7157
  }
7158
+ .\[\.dark-hc_\&\]\:border-border-subtle {
7159
+ .dark-hc & {
7160
+ border-color: var(--border-subtle);
7161
+ }
7162
+ }
7163
+ .\[\.dark-hc_\&\]\:text-foreground-inverse {
7164
+ .dark-hc & {
7165
+ color: var(--foreground-inverse);
7166
+ }
7167
+ }
7168
+ .\[\.dark\:not\(\.react-flow\)_\&\]\:border-border-subtle {
7169
+ .dark:not(.react-flow) & {
7170
+ border-color: var(--border-subtle);
7171
+ }
7172
+ }
7173
+ .\[\.dark\:not\(\.react-flow\)_\&\]\:bg-foreground-subtle {
7174
+ .dark:not(.react-flow) & {
7175
+ background-color: var(--foreground-subtle);
7176
+ }
7177
+ }
7178
+ .\[\.dark\:not\(\.react-flow\)_\&\]\:text-foreground-inverse {
7179
+ .dark:not(.react-flow) & {
7180
+ color: var(--foreground-inverse);
7181
+ }
7182
+ }
7183
+ .\[\.light-hc_\&\]\:border-border-subtle {
7184
+ .light-hc & {
7185
+ border-color: var(--border-subtle);
7186
+ }
7187
+ }
7188
+ .\[\.light-hc_\&\]\:text-foreground-inverse {
7189
+ .light-hc & {
7190
+ color: var(--foreground-inverse);
7191
+ }
7192
+ }
7193
+ .\[\.light\:not\(\.react-flow\)_\&\]\:border-border-subtle {
7194
+ .light:not(.react-flow) & {
7195
+ border-color: var(--border-subtle);
7196
+ }
7197
+ }
7198
+ .\[\.light\:not\(\.react-flow\)_\&\]\:bg-border-subtle {
7199
+ .light:not(.react-flow) & {
7200
+ background-color: var(--border-subtle);
7201
+ }
7202
+ }
7203
+ .\[\.light\:not\(\.react-flow\)_\&\]\:text-foreground-emp {
7204
+ .light:not(.react-flow) & {
7205
+ color: var(--foreground-emp);
7206
+ }
7207
+ }
7152
7208
  .\[\[data-slot\=card-content\]_\&\]\:bg-transparent {
7153
7209
  [data-slot=card-content] & {
7154
7210
  background-color: transparent;
@@ -10066,6 +10122,9 @@ body.dark, .dark:not(.react-flow), body.dark-hc, .dark-hc {
10066
10122
  --surface-hover: var(--color-background-gray);
10067
10123
  color-scheme: dark;
10068
10124
  }
10125
+ body.light, .light:not(.react-flow), body.light-hc, .light-hc, body.dark, .dark:not(.react-flow), body.dark-hc, .dark-hc {
10126
+ --resizable-handle-divider-bg: var(--border-subtle);
10127
+ }
10069
10128
  body.future-dark, .future-dark, body.future-light, .future-light {
10070
10129
  --brand-darker: var(--color-primary-darker);
10071
10130
  --ring: var(--color-focus-indicator);
package/dist/tailwind.css CHANGED
@@ -171,6 +171,20 @@ body.dark-hc, .dark-hc {
171
171
  color-scheme: dark;
172
172
  }
173
173
 
174
+ /* ResizableHandle's divider needs a resting background that matches its own
175
+ border-subtle-toned box in classic themes (see resizable.tsx). Exposed as a
176
+ variable, with an unset default falling back to --ap-wind-border, so a
177
+ consumer's own bg-* override (e.g. bg-transparent) still wins: cn()/
178
+ tailwind-merge can't dedupe a plain bg-* class against one scoped to an
179
+ arbitrary theme variant, so the variant class must stay a single, unvaried
180
+ bg-[var(...)] utility for consumer overrides to keep working. */
181
+ body.light, .light:not(.react-flow),
182
+ body.light-hc, .light-hc,
183
+ body.dark, .dark:not(.react-flow),
184
+ body.dark-hc, .dark-hc {
185
+ --resizable-handle-divider-bg: var(--border-subtle);
186
+ }
187
+
174
188
  /* ── Future family — mapping divergences (color-scheme comes from core) ──── */
175
189
  body.future-dark, .future-dark,
176
190
  body.future-light, .future-light {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-wind",
3
- "version": "2.52.0",
3
+ "version": "2.52.1",
4
4
  "description": "UiPath wind design system - A Tailwind CSS based React component library",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",