@uipath/apollo-wind 2.14.0 → 2.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ui/file-upload.cjs +2 -2
- package/dist/components/ui/file-upload.js +2 -2
- package/dist/components/ui/index.cjs +18 -18
- package/dist/components/ui/pagination.cjs +2 -2
- package/dist/components/ui/pagination.js +2 -2
- package/dist/components/ui/textarea.cjs +1 -1
- package/dist/components/ui/textarea.js +1 -1
- package/dist/styles.css +19 -0
- package/package.json +1 -1
|
@@ -166,7 +166,7 @@ function FileUpload({ onFilesChange, accept, multiple = false, disabled = false,
|
|
|
166
166
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
167
167
|
role: "group",
|
|
168
168
|
"aria-label": "File upload area",
|
|
169
|
-
className: (0, index_cjs_namespaceObject.cn)('relative flex flex-col items-center justify-center w-full h-32 px-4 py-6 border-2 border-dashed rounded-lg cursor-pointer transition-colors', isDragging ? 'border-primary bg-primary/5' : 'border-input bg-background hover:bg-accent/50', disabled && 'opacity-50 cursor-not-allowed hover:bg-background'),
|
|
169
|
+
className: (0, index_cjs_namespaceObject.cn)('relative flex flex-col items-center justify-center w-full h-32 px-4 py-6 border-2 border-dashed rounded-lg cursor-pointer transition-colors', 'future:rounded-xl', isDragging ? 'border-primary bg-primary/5' : 'border-input bg-background hover:bg-accent/50 future:border-border future:bg-surface-raised future:hover:bg-surface-overlay', disabled && 'opacity-50 cursor-not-allowed hover:bg-background future:hover:bg-surface-raised'),
|
|
170
170
|
onDragEnter: handleDragEnter,
|
|
171
171
|
onDragOver: handleDragOver,
|
|
172
172
|
onDragLeave: handleDragLeave,
|
|
@@ -220,7 +220,7 @@ function FileUpload({ onFilesChange, accept, multiple = false, disabled = false,
|
|
|
220
220
|
children: files.map((file, index)=>{
|
|
221
221
|
const fileError = errors?.[file.name] ?? fileErrors.get(index);
|
|
222
222
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
223
|
-
className: (0, index_cjs_namespaceObject.cn)('flex flex-col p-3 rounded-md', fileError ? 'bg-destructive/10 border border-destructive/20' : 'bg-accent/50'),
|
|
223
|
+
className: (0, index_cjs_namespaceObject.cn)('flex flex-col p-3 rounded-md future:rounded-xl', fileError ? 'bg-destructive/10 border border-destructive/20' : 'bg-accent/50 future:bg-surface-raised'),
|
|
224
224
|
children: [
|
|
225
225
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
226
226
|
className: "flex items-center justify-between",
|
|
@@ -138,7 +138,7 @@ function FileUpload({ onFilesChange, accept, multiple = false, disabled = false,
|
|
|
138
138
|
/*#__PURE__*/ jsxs("div", {
|
|
139
139
|
role: "group",
|
|
140
140
|
"aria-label": "File upload area",
|
|
141
|
-
className: cn('relative flex flex-col items-center justify-center w-full h-32 px-4 py-6 border-2 border-dashed rounded-lg cursor-pointer transition-colors', isDragging ? 'border-primary bg-primary/5' : 'border-input bg-background hover:bg-accent/50', disabled && 'opacity-50 cursor-not-allowed hover:bg-background'),
|
|
141
|
+
className: cn('relative flex flex-col items-center justify-center w-full h-32 px-4 py-6 border-2 border-dashed rounded-lg cursor-pointer transition-colors', 'future:rounded-xl', isDragging ? 'border-primary bg-primary/5' : 'border-input bg-background hover:bg-accent/50 future:border-border future:bg-surface-raised future:hover:bg-surface-overlay', disabled && 'opacity-50 cursor-not-allowed hover:bg-background future:hover:bg-surface-raised'),
|
|
142
142
|
onDragEnter: handleDragEnter,
|
|
143
143
|
onDragOver: handleDragOver,
|
|
144
144
|
onDragLeave: handleDragLeave,
|
|
@@ -192,7 +192,7 @@ function FileUpload({ onFilesChange, accept, multiple = false, disabled = false,
|
|
|
192
192
|
children: files.map((file, index)=>{
|
|
193
193
|
const fileError = errors?.[file.name] ?? fileErrors.get(index);
|
|
194
194
|
return /*#__PURE__*/ jsxs("div", {
|
|
195
|
-
className: cn('flex flex-col p-3 rounded-md', fileError ? 'bg-destructive/10 border border-destructive/20' : 'bg-accent/50'),
|
|
195
|
+
className: cn('flex flex-col p-3 rounded-md future:rounded-xl', fileError ? 'bg-destructive/10 border border-destructive/20' : 'bg-accent/50 future:bg-surface-raised'),
|
|
196
196
|
children: [
|
|
197
197
|
/*#__PURE__*/ jsxs("div", {
|
|
198
198
|
className: "flex items-center justify-between",
|
|
@@ -15,7 +15,7 @@ var __webpack_modules__ = {
|
|
|
15
15
|
"./avatar" (module) {
|
|
16
16
|
module.exports = require("./avatar.cjs");
|
|
17
17
|
},
|
|
18
|
-
"
|
|
18
|
+
"./badge" (module) {
|
|
19
19
|
module.exports = require("./badge.cjs");
|
|
20
20
|
},
|
|
21
21
|
"./breadcrumb" (module) {
|
|
@@ -30,7 +30,7 @@ var __webpack_modules__ = {
|
|
|
30
30
|
"./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
36
|
"./checkbox" (module) {
|
|
@@ -42,10 +42,10 @@ var __webpack_modules__ = {
|
|
|
42
42
|
"./combobox" (module) {
|
|
43
43
|
module.exports = require("./combobox.cjs");
|
|
44
44
|
},
|
|
45
|
-
"
|
|
45
|
+
"./command" (module) {
|
|
46
46
|
module.exports = require("./command.cjs");
|
|
47
47
|
},
|
|
48
|
-
"
|
|
48
|
+
"./context-menu" (module) {
|
|
49
49
|
module.exports = require("./context-menu.cjs");
|
|
50
50
|
},
|
|
51
51
|
"./data-table" (module) {
|
|
@@ -60,10 +60,10 @@ var __webpack_modules__ = {
|
|
|
60
60
|
"./dialog" (module) {
|
|
61
61
|
module.exports = require("./dialog.cjs");
|
|
62
62
|
},
|
|
63
|
-
"
|
|
63
|
+
"./dropdown-menu" (module) {
|
|
64
64
|
module.exports = require("./dropdown-menu.cjs");
|
|
65
65
|
},
|
|
66
|
-
"
|
|
66
|
+
"./editable-cell" (module) {
|
|
67
67
|
module.exports = require("./editable-cell.cjs");
|
|
68
68
|
},
|
|
69
69
|
"./empty-state" (module) {
|
|
@@ -72,7 +72,7 @@ var __webpack_modules__ = {
|
|
|
72
72
|
"./file-upload" (module) {
|
|
73
73
|
module.exports = require("./file-upload.cjs");
|
|
74
74
|
},
|
|
75
|
-
"
|
|
75
|
+
"./hover-card" (module) {
|
|
76
76
|
module.exports = require("./hover-card.cjs");
|
|
77
77
|
},
|
|
78
78
|
"@/components/ui/input" (module) {
|
|
@@ -138,7 +138,7 @@ var __webpack_modules__ = {
|
|
|
138
138
|
"./switch" (module) {
|
|
139
139
|
module.exports = require("./switch.cjs");
|
|
140
140
|
},
|
|
141
|
-
"
|
|
141
|
+
"./table" (module) {
|
|
142
142
|
module.exports = require("./table.cjs");
|
|
143
143
|
},
|
|
144
144
|
"./tabs" (module) {
|
|
@@ -150,7 +150,7 @@ var __webpack_modules__ = {
|
|
|
150
150
|
"./toggle-group" (module) {
|
|
151
151
|
module.exports = require("./toggle-group.cjs");
|
|
152
152
|
},
|
|
153
|
-
"
|
|
153
|
+
"./toggle" (module) {
|
|
154
154
|
module.exports = require("./toggle.cjs");
|
|
155
155
|
},
|
|
156
156
|
"./tooltip" (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__("
|
|
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",
|
|
@@ -276,7 +276,7 @@ var __webpack_exports__ = {};
|
|
|
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__("
|
|
279
|
+
var _card__rspack_import_10 = __webpack_require__("./card");
|
|
280
280
|
var __rspack_reexport = {};
|
|
281
281
|
for(const __rspack_import_key in _card__rspack_import_10)if ([
|
|
282
282
|
"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__("
|
|
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__("
|
|
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",
|
|
@@ -346,14 +346,14 @@ var __webpack_exports__ = {};
|
|
|
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__("
|
|
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",
|
|
353
353
|
"default"
|
|
354
354
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_dropdown_menu__rspack_import_20[__rspack_import_key];
|
|
355
355
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
356
|
-
var _editable_cell__rspack_import_21 = __webpack_require__("
|
|
356
|
+
var _editable_cell__rspack_import_21 = __webpack_require__("./editable-cell");
|
|
357
357
|
var __rspack_reexport = {};
|
|
358
358
|
for(const __rspack_import_key in _editable_cell__rspack_import_21)if ([
|
|
359
359
|
"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__("
|
|
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",
|
|
@@ -528,7 +528,7 @@ var __webpack_exports__ = {};
|
|
|
528
528
|
"default"
|
|
529
529
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_switch__rspack_import_45[__rspack_import_key];
|
|
530
530
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
531
|
-
var _table__rspack_import_46 = __webpack_require__("
|
|
531
|
+
var _table__rspack_import_46 = __webpack_require__("./table");
|
|
532
532
|
var __rspack_reexport = {};
|
|
533
533
|
for(const __rspack_import_key in _table__rspack_import_46)if ([
|
|
534
534
|
"TreeView",
|
|
@@ -549,7 +549,7 @@ var __webpack_exports__ = {};
|
|
|
549
549
|
"default"
|
|
550
550
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_textarea__rspack_import_48[__rspack_import_key];
|
|
551
551
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
552
|
-
var _toggle__rspack_import_49 = __webpack_require__("
|
|
552
|
+
var _toggle__rspack_import_49 = __webpack_require__("./toggle");
|
|
553
553
|
var __rspack_reexport = {};
|
|
554
554
|
for(const __rspack_import_key in _toggle__rspack_import_49)if ([
|
|
555
555
|
"TreeView",
|
|
@@ -60,7 +60,7 @@ const PaginationLink = ({ className, isActive, size = 'default', ...props })=>/*
|
|
|
60
60
|
className: (0, index_cjs_namespaceObject.cn)((0, external_button_cjs_namespaceObject.buttonVariants)({
|
|
61
61
|
variant: isActive ? 'outline' : 'ghost',
|
|
62
62
|
size
|
|
63
|
-
}), 'aspect-square p-0', className),
|
|
63
|
+
}), 'aspect-square p-0', 'future:rounded-xl', isActive && 'future:bg-surface-raised future:border-transparent', className),
|
|
64
64
|
...props
|
|
65
65
|
});
|
|
66
66
|
PaginationLink.displayName = 'PaginationLink';
|
|
@@ -96,7 +96,7 @@ const PaginationNext = ({ className, ...props })=>/*#__PURE__*/ (0, jsx_runtime_
|
|
|
96
96
|
PaginationNext.displayName = 'PaginationNext';
|
|
97
97
|
const PaginationEllipsis = ({ className, ...props })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("span", {
|
|
98
98
|
"aria-hidden": true,
|
|
99
|
-
className: (0, index_cjs_namespaceObject.cn)('flex h-9 w-9 items-center justify-center', className),
|
|
99
|
+
className: (0, index_cjs_namespaceObject.cn)('flex h-9 w-9 items-center justify-center future:h-10 future:w-10', className),
|
|
100
100
|
...props,
|
|
101
101
|
children: [
|
|
102
102
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.MoreHorizontal, {
|
|
@@ -26,7 +26,7 @@ const PaginationLink = ({ className, isActive, size = 'default', ...props })=>/*
|
|
|
26
26
|
className: cn(buttonVariants({
|
|
27
27
|
variant: isActive ? 'outline' : 'ghost',
|
|
28
28
|
size
|
|
29
|
-
}), 'aspect-square p-0', className),
|
|
29
|
+
}), 'aspect-square p-0', 'future:rounded-xl', isActive && 'future:bg-surface-raised future:border-transparent', className),
|
|
30
30
|
...props
|
|
31
31
|
});
|
|
32
32
|
PaginationLink.displayName = 'PaginationLink';
|
|
@@ -62,7 +62,7 @@ const PaginationNext = ({ className, ...props })=>/*#__PURE__*/ jsxs(PaginationL
|
|
|
62
62
|
PaginationNext.displayName = 'PaginationNext';
|
|
63
63
|
const PaginationEllipsis = ({ className, ...props })=>/*#__PURE__*/ jsxs("span", {
|
|
64
64
|
"aria-hidden": true,
|
|
65
|
-
className: cn('flex h-9 w-9 items-center justify-center', className),
|
|
65
|
+
className: cn('flex h-9 w-9 items-center justify-center future:h-10 future:w-10', className),
|
|
66
66
|
...props,
|
|
67
67
|
children: [
|
|
68
68
|
/*#__PURE__*/ jsx(MoreHorizontal, {
|
|
@@ -30,7 +30,7 @@ const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
|
30
30
|
const external_react_namespaceObject = require("react");
|
|
31
31
|
const index_cjs_namespaceObject = require("../../lib/index.cjs");
|
|
32
32
|
const Textarea = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("textarea", {
|
|
33
|
-
className: (0, index_cjs_namespaceObject.cn)('flex min-h-[80px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base transition-colors 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),
|
|
33
|
+
className: (0, index_cjs_namespaceObject.cn)('flex min-h-[80px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base transition-colors 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:rounded-xl future:border-0 future:bg-surface-raised future:text-sm future:placeholder:text-foreground-muted future:placeholder:font-normal future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', className),
|
|
34
34
|
ref: ref,
|
|
35
35
|
...props
|
|
36
36
|
}));
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import { cn } from "../../lib/index.js";
|
|
4
4
|
const Textarea = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx("textarea", {
|
|
5
|
-
className: cn('flex min-h-[80px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base transition-colors 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),
|
|
5
|
+
className: cn('flex min-h-[80px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base transition-colors 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:rounded-xl future:border-0 future:bg-surface-raised future:text-sm future:placeholder:text-foreground-muted future:placeholder:font-normal future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', className),
|
|
6
6
|
ref: ref,
|
|
7
7
|
...props
|
|
8
8
|
}));
|
package/dist/styles.css
CHANGED
|
@@ -5884,6 +5884,11 @@
|
|
|
5884
5884
|
width: calc(var(--spacing) * 3.5);
|
|
5885
5885
|
}
|
|
5886
5886
|
}
|
|
5887
|
+
.future\:w-10 {
|
|
5888
|
+
:is(.future-dark, .future-light) & {
|
|
5889
|
+
width: calc(var(--spacing) * 10);
|
|
5890
|
+
}
|
|
5891
|
+
}
|
|
5887
5892
|
.future\:gap-4 {
|
|
5888
5893
|
:is(.future-dark, .future-light) & {
|
|
5889
5894
|
gap: calc(var(--spacing) * 4);
|
|
@@ -5920,6 +5925,11 @@
|
|
|
5920
5925
|
border-color: var(--border-subtle);
|
|
5921
5926
|
}
|
|
5922
5927
|
}
|
|
5928
|
+
.future\:border-transparent {
|
|
5929
|
+
:is(.future-dark, .future-light) & {
|
|
5930
|
+
border-color: transparent;
|
|
5931
|
+
}
|
|
5932
|
+
}
|
|
5923
5933
|
.future\:bg-surface-raised {
|
|
5924
5934
|
:is(.future-dark, .future-light) & {
|
|
5925
5935
|
background-color: var(--surface-raised);
|
|
@@ -6021,6 +6031,15 @@
|
|
|
6021
6031
|
}
|
|
6022
6032
|
}
|
|
6023
6033
|
}
|
|
6034
|
+
.future\:hover\:bg-surface-raised {
|
|
6035
|
+
:is(.future-dark, .future-light) & {
|
|
6036
|
+
&:hover {
|
|
6037
|
+
@media (hover: hover) {
|
|
6038
|
+
background-color: var(--surface-raised);
|
|
6039
|
+
}
|
|
6040
|
+
}
|
|
6041
|
+
}
|
|
6042
|
+
}
|
|
6024
6043
|
.future\:hover\:text-foreground {
|
|
6025
6044
|
:is(.future-dark, .future-light) & {
|
|
6026
6045
|
&:hover {
|