@uipath/apollo-wind 2.14.0 → 2.15.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.
- package/dist/components/ui/file-upload.cjs +2 -2
- package/dist/components/ui/file-upload.js +2 -2
- package/dist/components/ui/index.cjs +14 -14
- 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",
|
|
@@ -24,19 +24,19 @@ var __webpack_modules__ = {
|
|
|
24
24
|
"./button-group" (module) {
|
|
25
25
|
module.exports = require("./button-group.cjs");
|
|
26
26
|
},
|
|
27
|
-
"
|
|
27
|
+
"@/components/ui/button" (module) {
|
|
28
28
|
module.exports = require("./button.cjs");
|
|
29
29
|
},
|
|
30
|
-
"
|
|
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
|
-
"
|
|
36
|
+
"@/components/ui/checkbox" (module) {
|
|
37
37
|
module.exports = require("./checkbox.cjs");
|
|
38
38
|
},
|
|
39
|
-
"
|
|
39
|
+
"@/components/ui/collapsible" (module) {
|
|
40
40
|
module.exports = require("./collapsible.cjs");
|
|
41
41
|
},
|
|
42
42
|
"./combobox" (module) {
|
|
@@ -57,7 +57,7 @@ var __webpack_modules__ = {
|
|
|
57
57
|
"./datetime-picker" (module) {
|
|
58
58
|
module.exports = require("./datetime-picker.cjs");
|
|
59
59
|
},
|
|
60
|
-
"
|
|
60
|
+
"@/components/ui/dialog" (module) {
|
|
61
61
|
module.exports = require("./dialog.cjs");
|
|
62
62
|
},
|
|
63
63
|
"@/components/ui/dropdown-menu" (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) {
|
|
@@ -255,7 +255,7 @@ var __webpack_exports__ = {};
|
|
|
255
255
|
"default"
|
|
256
256
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_breadcrumb__rspack_import_6[__rspack_import_key];
|
|
257
257
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
258
|
-
var _button__rspack_import_7 = __webpack_require__("
|
|
258
|
+
var _button__rspack_import_7 = __webpack_require__("@/components/ui/button");
|
|
259
259
|
var __rspack_reexport = {};
|
|
260
260
|
for(const __rspack_import_key in _button__rspack_import_7)if ([
|
|
261
261
|
"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__("
|
|
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__("
|
|
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",
|
|
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__("
|
|
286
|
+
var _checkbox__rspack_import_11 = __webpack_require__("@/components/ui/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__("
|
|
293
|
+
var _collapsible__rspack_import_12 = __webpack_require__("@/components/ui/collapsible");
|
|
294
294
|
var __rspack_reexport = {};
|
|
295
295
|
for(const __rspack_import_key in _collapsible__rspack_import_12)if ([
|
|
296
296
|
"TreeView",
|
|
@@ -339,7 +339,7 @@ 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__("
|
|
342
|
+
var _dialog__rspack_import_19 = __webpack_require__("@/components/ui/dialog");
|
|
343
343
|
var __rspack_reexport = {};
|
|
344
344
|
for(const __rspack_import_key in _dialog__rspack_import_19)if ([
|
|
345
345
|
"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 {
|